pigeon 0.9.2 → 0.9.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/pigeon/task.rb +2 -2
  3. data/pigeon.gemspec +1 -1
  4. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.2
1
+ 0.9.2.1
data/lib/pigeon/task.rb CHANGED
@@ -80,7 +80,7 @@ class Pigeon::Task
80
80
  # Returns a numerical priority order. If redefined in a subclass,
81
81
  # should return a comparable value.
82
82
  def priority
83
- @created_at
83
+ @created_at.to_f
84
84
  end
85
85
 
86
86
  def inspect
@@ -88,7 +88,7 @@ class Pigeon::Task
88
88
  end
89
89
 
90
90
  def <=>(task)
91
- self.priority.to_i <=> task.priority.to_i
91
+ self.priority <=> task.priority
92
92
  end
93
93
 
94
94
  protected
data/pigeon.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "pigeon"
8
- s.version = "0.9.2"
8
+ s.version = "0.9.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["tadman"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pigeon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: