komodo 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +36 -0
- data/LICENSE +19 -0
- data/lib/komodo.rb +1 -1
- data/lib/komodo/version.rb +1 -1
- metadata +5 -3
data/Gemfile.lock
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
komodo (0.0.1)
|
5
|
+
delayed_job (~> 2.1.2)
|
6
|
+
heroku (~> 1.14.6)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: http://rubygems.org/
|
10
|
+
specs:
|
11
|
+
activesupport (3.0.3)
|
12
|
+
configuration (1.2.0)
|
13
|
+
daemons (1.1.0)
|
14
|
+
delayed_job (2.1.2)
|
15
|
+
activesupport (~> 3.0)
|
16
|
+
daemons
|
17
|
+
heroku (1.14.8)
|
18
|
+
json_pure (>= 1.2.0, < 1.5.0)
|
19
|
+
launchy (~> 0.3.2)
|
20
|
+
rest-client (>= 1.4.0, < 1.7.0)
|
21
|
+
json_pure (1.4.6)
|
22
|
+
launchy (0.3.7)
|
23
|
+
configuration (>= 0.0.5)
|
24
|
+
rake (>= 0.8.1)
|
25
|
+
mime-types (1.16)
|
26
|
+
rake (0.8.7)
|
27
|
+
rest-client (1.6.1)
|
28
|
+
mime-types (>= 1.16)
|
29
|
+
|
30
|
+
PLATFORMS
|
31
|
+
ruby
|
32
|
+
|
33
|
+
DEPENDENCIES
|
34
|
+
delayed_job (~> 2.1.2)
|
35
|
+
heroku (~> 1.14.6)
|
36
|
+
komodo!
|
data/LICENSE
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
Copyright (c) 2010, Nicholas Bruning
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
of this software and associated documentation files (the "Software"), to deal
|
5
|
+
in the Software without restriction, including without limitation the rights
|
6
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
copies of the Software, and to permit persons to whom the Software is
|
8
|
+
furnished to do so, subject to the following conditions:
|
9
|
+
|
10
|
+
The above copyright notice and this permission notice shall be included in
|
11
|
+
all copies or substantial portions of the Software.
|
12
|
+
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
|
+
THE SOFTWARE.
|
data/lib/komodo.rb
CHANGED
@@ -2,7 +2,7 @@ class Komodo < Struct.new(:obj, :func, :args)
|
|
2
2
|
# delayed_job wrapper, creates a new monitored job and queues it
|
3
3
|
def self.queue(obj, func, args = [])
|
4
4
|
Komodo.configure unless defined?(@@config)
|
5
|
-
Delayed::Job.enqueue
|
5
|
+
Delayed::Job.enqueue Komodo.new(obj, func, args)
|
6
6
|
end
|
7
7
|
|
8
8
|
protected
|
data/lib/komodo/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: komodo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Nicholas Bruning
|
@@ -62,6 +62,8 @@ extra_rdoc_files: []
|
|
62
62
|
files:
|
63
63
|
- .gitignore
|
64
64
|
- Gemfile
|
65
|
+
- Gemfile.lock
|
66
|
+
- LICENSE
|
65
67
|
- README.markdown
|
66
68
|
- Rakefile
|
67
69
|
- komodo.gemspec
|