perfectsched 0.8.7 → 0.8.8
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +5 -0
- data/lib/perfectsched/backend/rdb_compat.rb +1 -1
- data/lib/perfectsched/version.rb +1 -1
- data/perfectsched.gemspec +2 -2
- metadata +8 -8
data/ChangeLog
CHANGED
@@ -198,7 +198,7 @@ module PerfectSched
|
|
198
198
|
if n <= 0 # TODO fix
|
199
199
|
row = @db.fetch("SELECT id, timeout, next_time FROM `#{@table}` WHERE id=? AND next_time=? LIMIT 1", row_id, scheduled_time).first
|
200
200
|
if row == nil
|
201
|
-
raise PreemptedError, "task
|
201
|
+
raise PreemptedError, "task #{task_token.inspect} does not exist or preempted."
|
202
202
|
elsif row[:timeout] == next_run_time
|
203
203
|
# ok
|
204
204
|
else
|
data/lib/perfectsched/version.rb
CHANGED
data/perfectsched.gemspec
CHANGED
@@ -17,9 +17,9 @@ Gem::Specification.new do |gem|
|
|
17
17
|
gem.require_paths = ['lib']
|
18
18
|
|
19
19
|
gem.add_dependency "cron-spec", [">= 0.1.2", "<= 0.1.2"]
|
20
|
-
gem.add_dependency "sequel", "~> 3.
|
20
|
+
gem.add_dependency "sequel", "~> 3.48.0"
|
21
21
|
gem.add_dependency "tzinfo", "~> 0.3.29"
|
22
|
-
gem.add_dependency "perfectqueue", "~> 0.8.
|
22
|
+
gem.add_dependency "perfectqueue", "~> 0.8.40"
|
23
23
|
gem.add_development_dependency "rake", "~> 0.9.2"
|
24
24
|
gem.add_development_dependency "rspec", "~> 2.10.0"
|
25
25
|
gem.add_development_dependency "simplecov", "~> 0.5.4"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: perfectsched
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-10-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cron-spec
|
@@ -40,7 +40,7 @@ dependencies:
|
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: 3.
|
43
|
+
version: 3.48.0
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
46
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -48,7 +48,7 @@ dependencies:
|
|
48
48
|
requirements:
|
49
49
|
- - ~>
|
50
50
|
- !ruby/object:Gem::Version
|
51
|
-
version: 3.
|
51
|
+
version: 3.48.0
|
52
52
|
- !ruby/object:Gem::Dependency
|
53
53
|
name: tzinfo
|
54
54
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,7 +72,7 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - ~>
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.8.
|
75
|
+
version: 0.8.40
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -80,7 +80,7 @@ dependencies:
|
|
80
80
|
requirements:
|
81
81
|
- - ~>
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: 0.8.
|
83
|
+
version: 0.8.40
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: rake
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
@@ -200,7 +200,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
200
200
|
version: '0'
|
201
201
|
segments:
|
202
202
|
- 0
|
203
|
-
hash: -
|
203
|
+
hash: -336495823616886649
|
204
204
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
205
205
|
none: false
|
206
206
|
requirements:
|
@@ -209,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
209
209
|
version: '0'
|
210
210
|
segments:
|
211
211
|
- 0
|
212
|
-
hash: -
|
212
|
+
hash: -336495823616886649
|
213
213
|
requirements: []
|
214
214
|
rubyforge_project:
|
215
215
|
rubygems_version: 1.8.24
|