nice_hash 1.15.5 → 1.15.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/nice/hash/add_to_ruby.rb +6 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3605a43d942a85cf7db1fc4443d1c012433f0954dc5ea7362860ca377820b25d
4
- data.tar.gz: 15383b286336f04f2164de0a0cdc3c992ea320fcf22d7937e60835b5ade60b01
3
+ metadata.gz: d93166bb9591cd912ef6fbd380b25f6af2937c71478abd631e2ffc44b937e19a
4
+ data.tar.gz: a2db067687093c6ab4d3b193fe1d7575af33f2c0e34f8092f0103064117edd95
5
5
  SHA512:
6
- metadata.gz: 4bd607adebe21e61767640a6b6435ca8dce9123864940e88b65e7430047229b2bc4fab86a7210863127cacffe0028ab692f565c668f1ff65fb6ae0a5a1a3dc61
7
- data.tar.gz: 3742a730f12dd29afc640d1276ea95f1803770feedef83e79127f4e3fb669e35de3f54dfdd12226689c285c2bda1d9615335cc54fabe24c7904ad2474f0451e9
6
+ metadata.gz: 363546839964322abe945dc6cacb9ff8a8ae7bf8301e0ec087429b2fd6a503ff417637591e7fb97cb13e792ca2b405efef8ee5585001c750b6f763156244b756
7
+ data.tar.gz: 0e9e34a219d43ff42cd387e1a48dc0009db5890ed6d09c48330a5ab0089e75588e1cc03c011d550f4fc90a3fd30e2041392b117b26678f6febe3e56cf0eef491
@@ -346,3 +346,9 @@ end
346
346
  module Boolean; end
347
347
  class TrueClass; include Boolean; end
348
348
  class FalseClass; include Boolean; end
349
+
350
+ class NilClass
351
+ def json(*keys)
352
+ {}
353
+ end
354
+ end
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.15.5
4
+ version: 1.15.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mario Ruiz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-10 00:00:00.000000000 Z
11
+ date: 2020-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: string_pattern