ss2json 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/Changelog CHANGED
@@ -1,3 +1,9 @@
1
+ 2012-05-30 Guillermo Alvarez <guillermo@cientifico.net>
2
+
3
+ * row_converter.rb (sanitize_key): It was not calling super, so when
4
+ chaning the underground layer (nested_hash), this breaks the conversion of
5
+ arrays.
6
+
1
7
  2012-05-29 Guillermo Alvarez <guillermo@cientifico.net>
2
8
 
3
9
  * cli.rb (process_horizontal): Support for generating hash output instead of
@@ -46,6 +46,7 @@ class Ss2Json
46
46
  end
47
47
 
48
48
  def sanitize_key(key)
49
+ key = super(key)
49
50
  return key unless is_valid_key?(key) && key.is_a?(String)
50
51
  key = key[0..1].downcase + (key[2..-1] || "") if @options[:downcase_first_letter]
51
52
  key
@@ -1,3 +1,3 @@
1
1
  class Ss2Json
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ss2json
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
  - "Guillermo A\xCC\x81lvarez"
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-05-29 00:00:00 +00:00
18
+ date: 2012-05-30 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency