rupture 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/rupture/map.rb +5 -1
  3. metadata +4 -4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
data/lib/rupture/map.rb CHANGED
@@ -4,10 +4,14 @@ module Rupture
4
4
  true
5
5
  end
6
6
 
7
- def assoc(*kvs)
7
+ def associate(*kvs)
8
8
  into(kvs.seq.partition(2))
9
9
  end
10
10
 
11
+ def assoc(*kvs)
12
+ associate(*kvs)
13
+ end
14
+
11
15
  def into(other)
12
16
  other.seq.reduce(as_map) do |map, (k,v)|
13
17
  map.put(k,v)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rupture
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Justin Balthrop
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2013-08-13 00:00:00 -07:00
19
+ date: 2013-09-12 00:00:00 -07:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency