strong_hash 0.1.1 → 0.1.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
  SHA256:
3
- metadata.gz: 36fb2e33aa5fbedc6fd0cca9c51773b8e18bc795fa0e5be6042540268eb7f0d5
4
- data.tar.gz: 39b459a364c83c87ca264ada9dd6ca37be1965d36f672107c7c2a323499b9a93
3
+ metadata.gz: edf23f58a0327573ba32ef7ac454486f2e67efa92969a4664d233219cdf146bc
4
+ data.tar.gz: 6faff202b407cfc7751d819b39fb2d9acbf14f28afa18668cce152703a459bc4
5
5
  SHA512:
6
- metadata.gz: c4d2d31bbfe35f09d60e05fcc4207ee41bd8ee39ac46fbaa68177c9b579a93175f41f2871cbf427c9ffd90eb1f39c46ccf249ba504be0dd72036827f9feee265
7
- data.tar.gz: '096dd83c254c4b75e4044c74f8464cacf60d24cc6ce92d4c2e35813774bae995c66d19e60825544c244cca33389c5d7d1258aeacc169a3b1aab3edef3937ad1d'
6
+ metadata.gz: 59d483b20a4a123738d55ef71b1c5c60b557071c811a135b5190c3252a6d87a0fa505b1185d3c60adf686ac7d0491093abe57909233563d2d5f4ad9f8cac0920
7
+ data.tar.gz: 66611fea215c2415e504fb3555deeb15bfbf280358c7690f758738bcafebfc6a486b70fd4e1c465671c6445dd503ab0696c6b83d61be3d5769dd1baf0917219d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- strong_hash (0.1.0)
4
+ strong_hash (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/lib/strong_hash.rb CHANGED
@@ -4,10 +4,10 @@ require 'active_support/core_ext/hash/indifferent_access'
4
4
  # by calling dot operator with key name
5
5
  module StrongHash
6
6
  def self.new(hash)
7
- StrongHash.new(hash)
7
+ StrongHashFactory.new(hash)
8
8
  end
9
9
 
10
- class StrongHash
10
+ class StrongHashFactory
11
11
  def initialize(hash)
12
12
  @hash = ActiveSupport::HashWithIndifferentAccess.new(hash)
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module StrongHash
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strong_hash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yask Srivastava