shoegaze 1.1.1 → 1.2.0

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: 583668976dc3312f7380b683aae3db0e621b4106601ad5af9a81f6d37226fdac
4
- data.tar.gz: 20f024fc76c261fac7b97f95b22ee4940a23b4cfa2f478e1b342a873ebcf4826
3
+ metadata.gz: 951fd2b254bbd59eac0ed64a2b1a6cf66c96f06f56779e57e0894ff3eef9fb07
4
+ data.tar.gz: 7ec48bdbfb707ad4d7fed51da8534942ba0fed1b0e342a63a7a05c1f6723e11d
5
5
  SHA512:
6
- metadata.gz: 13f22ca7e338c6e7d797ca4bdc13badb2f263240ca893f2c741ac30858f553cc0c93ab72102cb0d2f05929a0c6154c973a9877abd41a55b5a88364c8298a84e6
7
- data.tar.gz: 3a3eee0ac4e6931fc41c39362a10c8ffa69c361fc38686a1dd406a1dc0a4a494a4784e9daad08faa1a97ae442851950f0a79e58d79b6344061cfe104119b448e
6
+ metadata.gz: 0b52199546987cca8afc2cbc1df76949c473ec577a0a3aa96c10515a0ba629438f49922a812bec80924a26065118d15ff0c26d195d405498f554584b986c1b9e
7
+ data.tar.gz: 2825d525d28df5a7a9a552d5b612d90bde5c0e11001da0bf419e6c701f5d6883b0159f46d6dbb068d1ff4a653dfea7bd65312727686d3d5db4ea9af1ce9752a3
@@ -6,6 +6,7 @@ require 'factory_bot'
6
6
  require 'representable'
7
7
  require 'multi_json'
8
8
  require 'representable/json'
9
+ require 'recursive_open_struct'
9
10
 
10
11
  require_relative 'shoegaze/datastore'
11
12
  require_relative 'shoegaze/implementation'
@@ -130,7 +130,7 @@ class Shoegaze::Model
130
130
 
131
131
  def initialize(attrs = {})
132
132
  @id = SecureRandom.uuid
133
- @__data = OpenStruct.new(attrs)
133
+ @__data = RecursiveOpenStruct.new(attrs)
134
134
  end
135
135
 
136
136
  def save
@@ -1,3 +1,3 @@
1
1
  module Shoegaze
2
- VERSION = "1.1.1".freeze
2
+ VERSION = "1.2.0".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shoegaze
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Connor
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-06 00:00:00.000000000 Z
11
+ date: 2020-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '3.0'
47
+ version: 2.3.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '3.0'
54
+ version: 2.3.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: multi_json
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.12'
69
+ - !ruby/object:Gem::Dependency
70
+ name: recursive-open-struct
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: 1.0.0
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: 1.0.0
69
83
  description: Create mocks of modules (especially clients) with easily-defined scenarios
70
84
  (success, invalid, etc)
71
85
  email: