em-priority-queue 0.0.1 → 0.0.2

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.
@@ -3,8 +3,8 @@ module EventMachine
3
3
  include Enumerable
4
4
 
5
5
  def initialize(&blk)
6
- block ||= lambda { |x, y| (x <=> y) == 1 }
7
- @heap = Containers::Heap.new(&block)
6
+ blk ||= lambda { |x, y| (x <=> y) == 1 }
7
+ @heap = Containers::Heap.new(&blk)
8
8
  @callbacks = []
9
9
  end
10
10
 
@@ -1,5 +1,5 @@
1
1
  module EventMachine
2
2
  class PriorityQueue
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: em-priority-queue
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Mike Lewis