csvundle 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/csvundle/version.rb +1 -1
- data/lib/csvundle.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb9353703a4217d2eafb2a8d04febf287df2bb54
|
4
|
+
data.tar.gz: 2b66d5b28257cbf16559b6b73dc69504a2bb6349
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ecf73ddd15ecc810364dca779ca2b32e68d8fd50b5e2c5f6c47e86afe500ccdd4cca64d058c14d5f509cd33761913e96139913617ba6239bdb43721149b7889
|
7
|
+
data.tar.gz: 058d396c3c23cd4fa096c5f45ffdea7d7e1c30c71c9dfcbe3508cfcd7e5b351fc6609bce34abf5b4c3ca6522bcb61db0c24d3e7cfd176cff8b9875a9e946188e
|
data/lib/csvundle/version.rb
CHANGED
data/lib/csvundle.rb
CHANGED
@@ -3,6 +3,7 @@ require 'csvundle/access_csv'
|
|
3
3
|
|
4
4
|
module CSVundle
|
5
5
|
def self.setup_data_for(type)
|
6
|
-
CSVundle::AccessCSV.new(type.to_sym).setup_data
|
6
|
+
setup_data = CSVundle::AccessCSV.new(type.to_sym).setup_data
|
7
|
+
Hash[setup_data.map{|(k,v)| [k.to_sym,v]}] # convert string keys to symbols
|
7
8
|
end
|
8
9
|
end
|