gogo_csv 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3a4aaed56aa72b703f433a6b6ef4c1d60cd86bbd
4
- data.tar.gz: cd4c38ea786766df74c599d9811c2ed656f7ac33
3
+ metadata.gz: 32c83a7cc4cb38d526c6cf99a72ffd26b42bd2c2
4
+ data.tar.gz: 29c7d36fdbcf81714947a9478cc8af12462b0a20
5
5
  SHA512:
6
- metadata.gz: a48cbb7a7e99b05e3d201b772c390caa27497a8945f08fbbc02a6b571c06bdd8ec788956a1ceaaa3ce336b33525c19f360bcdf35430c4ec3c9f2fc64547a99b6
7
- data.tar.gz: 0e62ceda772c98718d4571e95bfe770fab0e6aa9639f26d76a510ddb32ffb595475833f734eeaae0fe0f6a94c9c7715d919994a7ce00cf11e3966ca7c520e720
6
+ metadata.gz: 556815f1a3e19e352d4cf37667dd662824e4840b9ea54af88ab092617796bda5befad7ff09b53556cf9189e6f42ace99a83e2bff5bcd4b6d84c022fe92afa096
7
+ data.tar.gz: 78804f5c2952961f9c8460fb0d01927688f00455541a7a28df9f60f8dce878c99a82b72f86b72778190dccca0389a21c6fa3ae009d9bf8147c5d94a7beb6039f
@@ -9,8 +9,8 @@ module GogoCsv
9
9
  end
10
10
  end
11
11
 
12
- def map_cal(from_num, to_num=from_num, &blk)
13
- map { |row| row[to_num] = blk.(row[from_num]) }
12
+ def map_col!(from_num, to_num=from_num, &blk)
13
+ each { |row| row[to_num] = blk.(row[from_num]) }
14
14
  end
15
15
 
16
16
  private
@@ -1,3 +1,3 @@
1
1
  module GogoCsv
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gogo_csv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - gogotanaka