junk_drawer 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,6 +7,12 @@ class Array
7
7
  first
8
8
  end
9
9
 
10
+ def hashify
11
+ each_with_object({}) do |item, hash|
12
+ hash[item.id] = item
13
+ end
14
+ end
15
+
10
16
  # For readability, especially after sorting.
11
17
  alias :highest :last
12
18
  alias :lowest :first
@@ -1,3 +1,3 @@
1
1
  module JunkDrawer
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 6
9
- version: 0.0.6
8
+ - 7
9
+ version: 0.0.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - Chris Hanks
@@ -69,7 +69,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
69
69
  requirements:
70
70
  - - ">="
71
71
  - !ruby/object:Gem::Version
72
- hash: 697772945
72
+ hash: 362845999
73
73
  segments:
74
74
  - 0
75
75
  version: "0"