komodo 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/komodo.rb +1 -1
- data/lib/komodo/version.rb +1 -1
- metadata +3 -3
data/lib/komodo.rb
CHANGED
@@ -5,12 +5,12 @@ class Komodo < Struct.new(:obj, :func, :args)
|
|
5
5
|
Delayed::Job.enqueue Komodo.new(obj, func, args)
|
6
6
|
end
|
7
7
|
|
8
|
-
protected
|
9
8
|
# nothing of note here
|
10
9
|
def perform
|
11
10
|
obj.send(func, args)
|
12
11
|
end
|
13
12
|
|
13
|
+
protected
|
14
14
|
# adds a heroku worker, if required
|
15
15
|
def enqueue(job)
|
16
16
|
if Rails.env == "production" && Delayed::Job.count == 0
|
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: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Nicholas Bruning
|