qbxml 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/qbxml/hash.rb +2 -1
  2. data/lib/qbxml/version.rb +1 -1
  3. metadata +2 -2
@@ -128,11 +128,12 @@ private
128
128
 
129
129
  def self.deep_convert(hash, opts = {}, &block)
130
130
  hash.inject(self.new) do |h, (k,v)|
131
+ k = k.to_s
131
132
  ignored = IGNORED_KEYS.include?(k)
132
133
  if ignored
133
134
  h[k] = v
134
135
  else
135
- key = block_given? ? yield(k.to_s) : k
136
+ key = block_given? ? yield(k) : k
136
137
  h[key] = \
137
138
  case v
138
139
  when Hash
@@ -1,3 +1,3 @@
1
1
  class Qbxml
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qbxml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-25 00:00:00.000000000 Z
12
+ date: 2013-04-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport