structure 1.1.0 → 1.1.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: 82ce9608139683b5c96c2b9168b1784d75d22bb4b0ddbb40b2d223858edbb436
4
- data.tar.gz: 8efee424104293918c1ba7489278a870ec445cfa88b3e1bd740267950d6580f7
3
+ metadata.gz: bcf8086bf1877fd717dc7502032e3885d330b9f94121ccdf78c7284e2d5142d9
4
+ data.tar.gz: c57b41a06c261f717dc00b3d4b97a2ff764b84fcfcbf4a478a53aaba6f60b646
5
5
  SHA512:
6
- metadata.gz: f89bdd35530daa965b36fd56a92d96e1beff21508080efbb4e3306738a0d77a4141e734a3e55fcf18fb26c34bef5893370f08d2fe33bc913002c7061a972ce8a
7
- data.tar.gz: 97490884a508a5920ca3bda6583ace8c47da12178b56ff038afe34bac0e16b10abb5337ad1475cf9847d7d4218b9d56528341ce67fa1eb8162415601add2e25b
6
+ metadata.gz: 4ecebfdf31f9380e7739f80e43ac16ebf975f18a9e19fe17af922fb9652fe348e1cc858912404d2baf5c1ee108073e11e3037d1fbc75078c1779ba99f27a44f7
7
+ data.tar.gz: e0b73c21bc741741f5e6808abd2f2fdbb97270f869f4ddd44bc5864d15f97be236514b12bf9d31aec25a8bc1c43a30b511c983f88caf4d91e6cffd957e1095b4
@@ -16,12 +16,6 @@ module Structure
16
16
  klass.module_eval do
17
17
  def initialize(data = {})
18
18
  data.each do |key, value|
19
- unless value.is_a?(Structure) ||
20
- (defined?(::RSpec::Mocks::Double) &&
21
- value.is_a?(::RSpec::Mocks::Double))
22
- value.freeze
23
- end
24
-
25
19
  instance_variable_set :"@#{key}", value
26
20
  end
27
21
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Structure
4
- VERSION = '1.1.0'
4
+ VERSION = '1.1.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: structure
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hakan Ensari