hash_easy 0.0.1 → 0.0.2

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
  SHA1:
3
- metadata.gz: 36563977fec707de5a9801bc19230f2c25e7323a
4
- data.tar.gz: 34a00eed7943e812323df47fdf84427cdbd5701e
3
+ metadata.gz: a5c842b68e8d11c9449bd131427ce38bbd4e6b50
4
+ data.tar.gz: d95082c9b85149b9da2dc062d3551ba28766d870
5
5
  SHA512:
6
- metadata.gz: e9a531ff58d3c8b676cb260e9f2d70cc93d88b9f91c7b602b3612cad2b7c3e35dcda7a5da552c5584dd7a2b1f2c84e3e6773ec7598231ffae475f66918f2363e
7
- data.tar.gz: 1df9db66ca97d8e66fa579a1b259fdce462971044a3f5bd8436d85aab3e1abd94384cf31a81d5fab71bba04b7527269e8808cb70c9f5d29c3a26dfed1a00c846
6
+ metadata.gz: f8f3b4994bdb1f34d4d2e1c05bfd3016a4aa53cf0fca591267b8d8b731f658cefbd64e1ca0ba54c943e9ab982f9030b4b7f55b45686caf603c32935ade8fde4d
7
+ data.tar.gz: 73c724af3d76c9ba060a82e6a27d869d57537af36532b973b494af546d48ec00ab26250e890c2ab4c92530183c4c20218b483a7492a9ca34cbebbd08045b7411
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hash_easy (0.0.1)
4
+ hash_easy (0.0.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -30,3 +30,6 @@ DEPENDENCIES
30
30
  hash_easy!
31
31
  rake (~> 10.0)
32
32
  rspec
33
+
34
+ BUNDLED WITH
35
+ 1.10.6
@@ -1,15 +1,17 @@
1
- class BottomlessHash < Hash
2
- def initialize
3
- super &-> h, k { h[k] = self.class.new }
4
- end
1
+ module HashEasy
2
+ class BottomlessHash < Hash
3
+ def initialize
4
+ super &-> h, k { h[k] = self.class.new }
5
+ end
5
6
 
6
- def self.from_hash(hash)
7
- new.merge(hash)
7
+ def self.from_hash(hash)
8
+ new.merge(hash)
9
+ end
8
10
  end
9
- end
10
11
 
11
- class Hash
12
- def bottomless
13
- BottomlessHash.from_hash(self)
12
+ class Hash
13
+ def bottomless
14
+ BottomlessHash.from_hash(self)
15
+ end
14
16
  end
15
17
  end
@@ -1,3 +1,3 @@
1
1
  module HashEasy
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hash_easy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thiago da Anunciação