blaxter-delayed_job 2.1.5 → 2.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/delayed/job.rb +1 -1
- metadata +9 -9
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.1.
|
|
1
|
+
2.1.6
|
data/lib/delayed/job.rb
CHANGED
|
@@ -96,7 +96,7 @@ module Delayed
|
|
|
96
96
|
conditions << "%#{options[:only_for]}%"
|
|
97
97
|
end
|
|
98
98
|
|
|
99
|
-
if options[:unless]
|
|
99
|
+
if options[:unless] && options[:unless].is_a?(Array) && options[:unless].size > 0
|
|
100
100
|
sql << " AND (#{primary_key} NOT IN (?))"
|
|
101
101
|
conditions << options[:unless]
|
|
102
102
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: blaxter-delayed_job
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 7
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 2
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 2.1.
|
|
9
|
+
- 6
|
|
10
|
+
version: 2.1.6
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- "Tobias L\xC3\xBCtke"
|
|
@@ -16,7 +16,7 @@ autorequire:
|
|
|
16
16
|
bindir: bin
|
|
17
17
|
cert_chain: []
|
|
18
18
|
|
|
19
|
-
date:
|
|
19
|
+
date: 2011-01-25 00:00:00 +01:00
|
|
20
20
|
default_executable:
|
|
21
21
|
dependencies: []
|
|
22
22
|
|
|
@@ -41,10 +41,10 @@ files:
|
|
|
41
41
|
- lib/delayed/worker.rb
|
|
42
42
|
- lib/delayed/yaml_ext.rb
|
|
43
43
|
- lib/delayed_job.rb
|
|
44
|
-
- spec/delayed_method_spec.rb
|
|
45
|
-
- spec/story_spec.rb
|
|
46
44
|
- spec/database.rb
|
|
45
|
+
- spec/delayed_method_spec.rb
|
|
47
46
|
- spec/job_spec.rb
|
|
47
|
+
- spec/story_spec.rb
|
|
48
48
|
has_rdoc: true
|
|
49
49
|
homepage: http://github.com/blaxter/delayed_job
|
|
50
50
|
licenses: []
|
|
@@ -78,12 +78,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
78
78
|
requirements: []
|
|
79
79
|
|
|
80
80
|
rubyforge_project:
|
|
81
|
-
rubygems_version: 1.3.7
|
|
81
|
+
rubygems_version: 1.3.7
|
|
82
82
|
signing_key:
|
|
83
83
|
specification_version: 3
|
|
84
84
|
summary: Database-backed asynchronous priority queue system -- Extracted from Shopify
|
|
85
85
|
test_files:
|
|
86
|
-
- spec/delayed_method_spec.rb
|
|
87
|
-
- spec/story_spec.rb
|
|
88
86
|
- spec/database.rb
|
|
87
|
+
- spec/delayed_method_spec.rb
|
|
89
88
|
- spec/job_spec.rb
|
|
89
|
+
- spec/story_spec.rb
|