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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6a3f751bcc54adc1ef8012db3b79fc53d0fc74fc
4
- data.tar.gz: ba66eac98fa7127218817dab3a069a6f8f726bde
3
+ metadata.gz: fb9353703a4217d2eafb2a8d04febf287df2bb54
4
+ data.tar.gz: 2b66d5b28257cbf16559b6b73dc69504a2bb6349
5
5
  SHA512:
6
- metadata.gz: 3a9b2e8658f4d2b784a44f5353788b37605be2622013ebc99da5cac59057bb00781047a4dcff996e14dabdb9ca1a64be1f3e4760428aff7fca65b9f96a28505b
7
- data.tar.gz: b77c297dfc591be1981927f87dbfefc6bb9aaf33ada095401915af2915b4662fdd3a0736661df658400e31fcc3e33823d3dd5bc8cb2cd28045b4994d80744471
6
+ metadata.gz: 2ecf73ddd15ecc810364dca779ca2b32e68d8fd50b5e2c5f6c47e86afe500ccdd4cca64d058c14d5f509cd33761913e96139913617ba6239bdb43721149b7889
7
+ data.tar.gz: 058d396c3c23cd4fa096c5f45ffdea7d7e1c30c71c9dfcbe3508cfcd7e5b351fc6609bce34abf5b4c3ca6522bcb61db0c24d3e7cfd176cff8b9875a9e946188e
@@ -1,3 +1,3 @@
1
1
  module CSVundle
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: csvundle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ybur Yug