resque-scheduler 1.9.2 → 1.9.3

Sign up to get free protection for your applications and to get access to all the features.
data/HISTORY.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 1.9.3 (2010-07-07)
2
+
3
+ * Bug fix (#19)
4
+
1
5
  ## 1.9.2 (2010-06-16)
2
6
 
3
7
  * Fixing issue with redis gem 2.0.1 and redis server 1.2.6 (dbackeus)
@@ -91,7 +91,7 @@ module ResqueScheduler
91
91
  # (don't call directly)
92
92
  def next_delayed_timestamp
93
93
  items = redis.zrangebyscore :delayed_queue_schedule, '-inf', Time.now.to_i, :limit => [0, 1]
94
- timestamp = items.nil? ? nil : items.first
94
+ timestamp = items.nil? ? nil : Array(items).first
95
95
  timestamp.to_i unless timestamp.nil?
96
96
  end
97
97
 
@@ -1,3 +1,3 @@
1
1
  module ResqueScheduler
2
- Version = '1.9.2'
2
+ Version = '1.9.3'
3
3
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{resque-scheduler}
8
- s.version = "1.9.2"
8
+ s.version = "1.9.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ben VandenBos"]
12
- s.date = %q{2010-06-17}
12
+ s.date = %q{2010-07-07}
13
13
  s.description = %q{Light weight job scheduling on top of Resque.
14
14
  Adds methods enqueue_at/enqueue_in to schedule jobs in the future.
15
15
  Also supports queueing jobs on a fixed, cron-like schedule.}
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-scheduler
3
3
  version: !ruby/object:Gem::Version
4
- hash: 55
4
+ hash: 53
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 9
9
- - 2
10
- version: 1.9.2
9
+ - 3
10
+ version: 1.9.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ben VandenBos
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-06-17 00:00:00 -07:00
18
+ date: 2010-07-07 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency