nice_hash 1.18.4 → 1.18.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 35aa5c31a19f5080af41e4b842f7bd41bc26f660259c9c0e3e066efabea49aa3
4
- data.tar.gz: 4ab21f3761514b9ab5a79d49c553ac297be1970ffdd8392c633c6e7b0bc5ac3b
3
+ metadata.gz: 74ec96ab903c315b1a48cdbfb58c9cd57f6b83536fafa1178a653b0e12bcfe17
4
+ data.tar.gz: 9188fe64ca3b3cf495fe0dad0c9160e68c32759fe13fb97e9643c8ef015b87db
5
5
  SHA512:
6
- metadata.gz: cc215c07e819c008f2fecb82c6bdc1b26dd86b48dc542c56bc87936aeab80a64df6def0850835f5c249912867cbc78d2ea8d573f42963ad8866f69e182ef9dce
7
- data.tar.gz: f238daa2302fd029c03a421fb092ebba6ec4dea0ccd9f0b2c0d66707039dc88861f0d33d5079826df2abd1827ff04a58922922fe207a51e5a369a471f3e3a301
6
+ metadata.gz: 74361aa48d0a49c43e20b9881d0f0ba3d1c4eaeb1796b32c89576709548d9a7ecd55ae640bdfbe213efd979bd2e83070da1ada70dab3f00e989639dca8a28750
7
+ data.tar.gz: fc7a6974c61cb31a805f943b7c5bdfa50928c369b2bcd0e3e1eb81a00b774c4cfd792aba57a32011151e710245a0633c6db0eae5b1501bc2cad047091b5070a4
data/README.md CHANGED
@@ -3,6 +3,10 @@
3
3
  [![Gem Version](https://badge.fury.io/rb/nice_hash.svg)](https://rubygems.org/gems/nice_hash)
4
4
  [![Build Status](https://travis-ci.com/MarioRuiz/nice_hash.svg?branch=master)](https://github.com/MarioRuiz/nice_hash)
5
5
  [![Coverage Status](https://coveralls.io/repos/github/MarioRuiz/nice_hash/badge.svg?branch=master)](https://coveralls.io/github/MarioRuiz/nice_hash?branch=master)
6
+ ![Gem](https://img.shields.io/gem/dt/nice_hash)
7
+ ![GitHub commit activity](https://img.shields.io/github/commit-activity/y/MarioRuiz/nice_hash)
8
+ ![GitHub last commit](https://img.shields.io/github/last-commit/MarioRuiz/nice_hash)
9
+ ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/MarioRuiz/nice_hash)
6
10
 
7
11
 
8
12
  NiceHash creates hashes following certain patterns so your testing will be much easier.
@@ -334,7 +334,7 @@ class Object
334
334
  def deep_symbolize_keys
335
335
  if is_a? Hash
336
336
  return reduce({}) do |memo, (k, v)|
337
- memo.tap { |m| m[k.to_sym] = v.deep_symbolize_keys }
337
+ memo.tap { |m| m[k.to_s.to_sym] = v.deep_symbolize_keys }
338
338
  end
339
339
  end
340
340
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nice_hash
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.4
4
+ version: 1.18.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mario Ruiz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-18 00:00:00.000000000 Z
11
+ date: 2023-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: string_pattern