job_boss 0.4.4 → 0.4.5
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/job_boss.gemspec +1 -1
- data/lib/job_boss/job.rb +4 -2
- metadata +4 -4
data/job_boss.gemspec
CHANGED
data/lib/job_boss/job.rb
CHANGED
|
@@ -127,8 +127,10 @@ module JobBoss
|
|
|
127
127
|
jobs = [jobs] if jobs.is_a?(Job)
|
|
128
128
|
|
|
129
129
|
ids = jobs.collect(&:id)
|
|
130
|
-
|
|
131
|
-
|
|
130
|
+
Job.uncached do
|
|
131
|
+
until Job.completed.find_all_by_id(ids).count == jobs.size
|
|
132
|
+
sleep(sleep_interval)
|
|
133
|
+
end
|
|
132
134
|
end
|
|
133
135
|
|
|
134
136
|
true
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: job_boss
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 5
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 4
|
|
9
|
-
-
|
|
10
|
-
version: 0.4.
|
|
9
|
+
- 5
|
|
10
|
+
version: 0.4.5
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Brian Underwood
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2010-12-
|
|
18
|
+
date: 2010-12-04 00:00:00 -05:00
|
|
19
19
|
default_executable: job_boss
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|