module Asana2flowdock

dao libs

Constants

Version

Public Instance Methods

dependencies() click to toggle source
# File lib/asana2flowdock.rb, line 22
def dependencies
  {
     'arrayfields'  => [ 'arrayfields'    , '~> 4.7.4'  ] , 
     'main'         => [ 'main'           , '~> 6.1.0'  ] , 
     'pry'          => [ 'pry'            , '~> 0.10.1' ] , 
     'pry-debugger' => [ 'pry-debugger'   , '~> 0.2.3'  ] , 
     'pry-nav'      => [ 'pry-nav'        , '~> 0.2.4'  ] , 
     'stringex'     => [ 'stringex'       , '>= 2.1.0' ] ,
     'amalgalite'   => [ 'amalgalite'   ] , 
     'sequel'       => [ 'sequel'       ] , 
     'json'         => [ 'json'         ] , 
     'map'          => [ 'map'          ] , 
     'coerce'       => [ 'coerce'       ] , 
     'fattr'        => [ 'fattr'        ] , 
     'threadify'    => [ 'threadify'    ] , 
     'flowdock'     => [ 'flowdock'     ] , 
  }
end
description() click to toggle source
# File lib/asana2flowdock.rb, line 41
def description
  "asana2flowdock relays asana events into flowdock awesomely"
end
libdir(*args, &block) click to toggle source
# File lib/asana2flowdock.rb, line 45
def libdir(*args, &block)
  @libdir ||= File.expand_path(__FILE__).sub(/\.rb$/,'')
  args.empty? ? @libdir : File.join(@libdir, *args)
ensure
  if block
    begin
      $LOAD_PATH.unshift(@libdir)
      block.call()
    ensure
      $LOAD_PATH.shift()
    end
  end
end
load(*libs) click to toggle source
# File lib/asana2flowdock.rb, line 59
def load(*libs)
  libs = libs.join(' ').scan(/[^\s+]+/)
  Asana2Flowdock.libdir{ libs.each{|lib| Kernel.load(lib) } }
end
version() click to toggle source
# File lib/asana2flowdock.rb, line 18
def version
  Asana2Flowdock::Version
end