hash_ext 0.3.0 → 0.3.1

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
  SHA256:
3
- metadata.gz: bb3a7d52074eaa16664df7d5bdcea9e55707c03f1b588b11ec343a216486a0fb
4
- data.tar.gz: cd5424081c17dbf054d2c419535f28fd9a01d1ed29193a48ba4a423a797c58bf
3
+ metadata.gz: '018157ec979a05e0de0fec38226ae6f85a7b389c35b6bcff170309958198474f'
4
+ data.tar.gz: 7eb198a60d7b2f9c37666efba7c9efbe3bf46a96ac86b7fef14ec0185a05875d
5
5
  SHA512:
6
- metadata.gz: 2026727664be4c2092e83630acc50397cabefea5f3f3a85ebc89453d83befffcd16edb704ca627128d9f17b59e3f920d23cbc02e904df229e123e1ac00eacf5d
7
- data.tar.gz: 7a86313de223db2f7eeca2ed0d4776d9233844184a678e10386e4335d329a1452d62d619d98820a8726982f28d9e28f77243f91f2fc0b4c31482ea7c18c82ac6
6
+ metadata.gz: 3ba3b53a2b9a4b86787203deae4c01c16def4e244d71c0211806f6e5390e5886ec401daf1914664f673ef8df6801c8af4b81803ac4af8612359bda6e0f4955fb
7
+ data.tar.gz: 910eede3ee981ca4cd17a1db27390fffac1a67d18b3f0ac6d778954267a534d3351244394d0fd85acb8574353b7f7cd7619c519695a0794854d57027cef9d753
@@ -8,7 +8,7 @@ class Hash
8
8
  private
9
9
 
10
10
  def normalize_key(key)
11
- key.to_sym
11
+ key.kind_of?(String) ? key.to_sym : key
12
12
  end
13
13
 
14
14
  end
@@ -1,3 +1,3 @@
1
1
  module HashExt
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hash_ext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriel Naiman
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-04 00:00:00.000000000 Z
11
+ date: 2018-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler