rspec-sleeping_king_studios 2.7.0 → 2.8.0.rc.0
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 +4 -4
- data/CHANGELOG.md +25 -0
- data/README.md +228 -9
- data/config/rubocop-rspec.yml +41 -0
- data/lib/rspec/sleeping_king_studios/concerns/example_constants.rb +107 -74
- data/lib/rspec/sleeping_king_studios/concerns/memoized_helpers.rb +19 -0
- data/lib/rspec/sleeping_king_studios/concerns/shared_example_group.rb +5 -2
- data/lib/rspec/sleeping_king_studios/concerns.rb +8 -3
- data/lib/rspec/sleeping_king_studios/configuration.rb +45 -37
- data/lib/rspec/sleeping_king_studios/deferred/call.rb +74 -0
- data/lib/rspec/sleeping_king_studios/deferred/calls/example.rb +42 -0
- data/lib/rspec/sleeping_king_studios/deferred/calls/example_group.rb +42 -0
- data/lib/rspec/sleeping_king_studios/deferred/calls/hook.rb +64 -0
- data/lib/rspec/sleeping_king_studios/deferred/calls/included_examples.rb +34 -0
- data/lib/rspec/sleeping_king_studios/deferred/calls/shared_examples.rb +41 -0
- data/lib/rspec/sleeping_king_studios/deferred/calls.rb +19 -0
- data/lib/rspec/sleeping_king_studios/deferred/consumer.rb +159 -0
- data/lib/rspec/sleeping_king_studios/deferred/definitions.rb +42 -0
- data/lib/rspec/sleeping_king_studios/deferred/dependencies.rb +138 -0
- data/lib/rspec/sleeping_king_studios/deferred/dsl/example_constants.rb +72 -0
- data/lib/rspec/sleeping_king_studios/deferred/dsl/example_groups.rb +69 -0
- data/lib/rspec/sleeping_king_studios/deferred/dsl/examples.rb +84 -0
- data/lib/rspec/sleeping_king_studios/deferred/dsl/hooks.rb +125 -0
- data/lib/rspec/sleeping_king_studios/deferred/dsl/memoized_helpers.rb +123 -0
- data/lib/rspec/sleeping_king_studios/deferred/dsl/shared_examples.rb +128 -0
- data/lib/rspec/sleeping_king_studios/deferred/dsl.rb +26 -0
- data/lib/rspec/sleeping_king_studios/deferred/examples.rb +83 -0
- data/lib/rspec/sleeping_king_studios/deferred/missing.rb +46 -0
- data/lib/rspec/sleeping_king_studios/deferred/provider.rb +164 -0
- data/lib/rspec/sleeping_king_studios/deferred.rb +142 -0
- data/lib/rspec/sleeping_king_studios/matchers/built_in/include_matcher.rb +85 -70
- data/lib/rspec/sleeping_king_studios/matchers/core/deep_matcher.rb +28 -23
- data/lib/rspec/sleeping_king_studios/sandbox.rb +105 -0
- data/lib/rspec/sleeping_king_studios/version.rb +4 -3
- data/lib/rspec/sleeping_king_studios.rb +10 -4
- metadata +36 -141
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-sleeping_king_studios
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.8.0.rc.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rob "Merlin" Smith
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-03-17 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: hashdiff
|
@@ -16,14 +15,14 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - "~>"
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
18
|
+
version: '1.1'
|
20
19
|
type: :runtime
|
21
20
|
prerelease: false
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
23
22
|
requirements:
|
24
23
|
- - "~>"
|
25
24
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
25
|
+
version: '1.1'
|
27
26
|
- !ruby/object:Gem::Dependency
|
28
27
|
name: rspec
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,7 +43,7 @@ dependencies:
|
|
44
43
|
requirements:
|
45
44
|
- - ">="
|
46
45
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
46
|
+
version: 1.2.0.alpha
|
48
47
|
- - "<"
|
49
48
|
- !ruby/object:Gem::Version
|
50
49
|
version: '2'
|
@@ -54,140 +53,10 @@ dependencies:
|
|
54
53
|
requirements:
|
55
54
|
- - ">="
|
56
55
|
- !ruby/object:Gem::Version
|
57
|
-
version:
|
56
|
+
version: 1.2.0.alpha
|
58
57
|
- - "<"
|
59
58
|
- !ruby/object:Gem::Version
|
60
59
|
version: '2'
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: appraisal
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '2.2'
|
68
|
-
type: :development
|
69
|
-
prerelease: false
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - "~>"
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: '2.2'
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: byebug
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - "~>"
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '10.0'
|
82
|
-
type: :development
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - "~>"
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '10.0'
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: rake
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - "~>"
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: '12.3'
|
96
|
-
type: :development
|
97
|
-
prerelease: false
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
99
|
-
requirements:
|
100
|
-
- - "~>"
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '12.3'
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: thor
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
- - "~>"
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '0.20'
|
110
|
-
- - ">="
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
version: 0.19.4
|
113
|
-
type: :development
|
114
|
-
prerelease: false
|
115
|
-
version_requirements: !ruby/object:Gem::Requirement
|
116
|
-
requirements:
|
117
|
-
- - "~>"
|
118
|
-
- !ruby/object:Gem::Version
|
119
|
-
version: '0.20'
|
120
|
-
- - ">="
|
121
|
-
- !ruby/object:Gem::Version
|
122
|
-
version: 0.19.4
|
123
|
-
- !ruby/object:Gem::Dependency
|
124
|
-
name: sleeping_king_studios-tasks
|
125
|
-
requirement: !ruby/object:Gem::Requirement
|
126
|
-
requirements:
|
127
|
-
- - "~>"
|
128
|
-
- !ruby/object:Gem::Version
|
129
|
-
version: '0.4'
|
130
|
-
- - ">="
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
version: 0.4.1
|
133
|
-
type: :development
|
134
|
-
prerelease: false
|
135
|
-
version_requirements: !ruby/object:Gem::Requirement
|
136
|
-
requirements:
|
137
|
-
- - "~>"
|
138
|
-
- !ruby/object:Gem::Version
|
139
|
-
version: '0.4'
|
140
|
-
- - ">="
|
141
|
-
- !ruby/object:Gem::Version
|
142
|
-
version: 0.4.1
|
143
|
-
- !ruby/object:Gem::Dependency
|
144
|
-
name: aruba
|
145
|
-
requirement: !ruby/object:Gem::Requirement
|
146
|
-
requirements:
|
147
|
-
- - "~>"
|
148
|
-
- !ruby/object:Gem::Version
|
149
|
-
version: '0.14'
|
150
|
-
type: :development
|
151
|
-
prerelease: false
|
152
|
-
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
requirements:
|
154
|
-
- - "~>"
|
155
|
-
- !ruby/object:Gem::Version
|
156
|
-
version: '0.14'
|
157
|
-
- !ruby/object:Gem::Dependency
|
158
|
-
name: cucumber
|
159
|
-
requirement: !ruby/object:Gem::Requirement
|
160
|
-
requirements:
|
161
|
-
- - "~>"
|
162
|
-
- !ruby/object:Gem::Version
|
163
|
-
version: '3.1'
|
164
|
-
type: :development
|
165
|
-
prerelease: false
|
166
|
-
version_requirements: !ruby/object:Gem::Requirement
|
167
|
-
requirements:
|
168
|
-
- - "~>"
|
169
|
-
- !ruby/object:Gem::Version
|
170
|
-
version: '3.1'
|
171
|
-
- !ruby/object:Gem::Dependency
|
172
|
-
name: activemodel
|
173
|
-
requirement: !ruby/object:Gem::Requirement
|
174
|
-
requirements:
|
175
|
-
- - ">="
|
176
|
-
- !ruby/object:Gem::Version
|
177
|
-
version: '3.0'
|
178
|
-
- - "<"
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
version: '7.0'
|
181
|
-
type: :development
|
182
|
-
prerelease: false
|
183
|
-
version_requirements: !ruby/object:Gem::Requirement
|
184
|
-
requirements:
|
185
|
-
- - ">="
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
version: '3.0'
|
188
|
-
- - "<"
|
189
|
-
- !ruby/object:Gem::Version
|
190
|
-
version: '7.0'
|
191
60
|
description: |2
|
192
61
|
A collection of RSpec patches and custom matchers. The features can be
|
193
62
|
included individually or by category. For more information, check out the
|
@@ -203,6 +72,7 @@ files:
|
|
203
72
|
- DEVELOPMENT.md
|
204
73
|
- LICENSE
|
205
74
|
- README.md
|
75
|
+
- config/rubocop-rspec.yml
|
206
76
|
- lib/rspec/sleeping_king_studios.rb
|
207
77
|
- lib/rspec/sleeping_king_studios/all.rb
|
208
78
|
- lib/rspec/sleeping_king_studios/concerns.rb
|
@@ -210,12 +80,34 @@ files:
|
|
210
80
|
- lib/rspec/sleeping_king_studios/concerns/example_constants.rb
|
211
81
|
- lib/rspec/sleeping_king_studios/concerns/focus_examples.rb
|
212
82
|
- lib/rspec/sleeping_king_studios/concerns/include_contract.rb
|
83
|
+
- lib/rspec/sleeping_king_studios/concerns/memoized_helpers.rb
|
213
84
|
- lib/rspec/sleeping_king_studios/concerns/shared_example_group.rb
|
214
85
|
- lib/rspec/sleeping_king_studios/concerns/toolbelt.rb
|
215
86
|
- lib/rspec/sleeping_king_studios/concerns/wrap_env.rb
|
216
87
|
- lib/rspec/sleeping_king_studios/concerns/wrap_examples.rb
|
217
88
|
- lib/rspec/sleeping_king_studios/configuration.rb
|
218
89
|
- lib/rspec/sleeping_king_studios/contract.rb
|
90
|
+
- lib/rspec/sleeping_king_studios/deferred.rb
|
91
|
+
- lib/rspec/sleeping_king_studios/deferred/call.rb
|
92
|
+
- lib/rspec/sleeping_king_studios/deferred/calls.rb
|
93
|
+
- lib/rspec/sleeping_king_studios/deferred/calls/example.rb
|
94
|
+
- lib/rspec/sleeping_king_studios/deferred/calls/example_group.rb
|
95
|
+
- lib/rspec/sleeping_king_studios/deferred/calls/hook.rb
|
96
|
+
- lib/rspec/sleeping_king_studios/deferred/calls/included_examples.rb
|
97
|
+
- lib/rspec/sleeping_king_studios/deferred/calls/shared_examples.rb
|
98
|
+
- lib/rspec/sleeping_king_studios/deferred/consumer.rb
|
99
|
+
- lib/rspec/sleeping_king_studios/deferred/definitions.rb
|
100
|
+
- lib/rspec/sleeping_king_studios/deferred/dependencies.rb
|
101
|
+
- lib/rspec/sleeping_king_studios/deferred/dsl.rb
|
102
|
+
- lib/rspec/sleeping_king_studios/deferred/dsl/example_constants.rb
|
103
|
+
- lib/rspec/sleeping_king_studios/deferred/dsl/example_groups.rb
|
104
|
+
- lib/rspec/sleeping_king_studios/deferred/dsl/examples.rb
|
105
|
+
- lib/rspec/sleeping_king_studios/deferred/dsl/hooks.rb
|
106
|
+
- lib/rspec/sleeping_king_studios/deferred/dsl/memoized_helpers.rb
|
107
|
+
- lib/rspec/sleeping_king_studios/deferred/dsl/shared_examples.rb
|
108
|
+
- lib/rspec/sleeping_king_studios/deferred/examples.rb
|
109
|
+
- lib/rspec/sleeping_king_studios/deferred/missing.rb
|
110
|
+
- lib/rspec/sleeping_king_studios/deferred/provider.rb
|
219
111
|
- lib/rspec/sleeping_king_studios/examples.rb
|
220
112
|
- lib/rspec/sleeping_king_studios/examples/all.rb
|
221
113
|
- lib/rspec/sleeping_king_studios/examples/property_examples.rb
|
@@ -274,6 +166,7 @@ files:
|
|
274
166
|
- lib/rspec/sleeping_king_studios/matchers/macros.rb
|
275
167
|
- lib/rspec/sleeping_king_studios/matchers/shared/match_parameters.rb
|
276
168
|
- lib/rspec/sleeping_king_studios/matchers/shared/match_property.rb
|
169
|
+
- lib/rspec/sleeping_king_studios/sandbox.rb
|
277
170
|
- lib/rspec/sleeping_king_studios/support.rb
|
278
171
|
- lib/rspec/sleeping_king_studios/support/method_signature.rb
|
279
172
|
- lib/rspec/sleeping_king_studios/support/method_signature_expectation.rb
|
@@ -285,7 +178,7 @@ licenses:
|
|
285
178
|
metadata:
|
286
179
|
bug_tracker_uri: https://github.com/sleepingkingstudios/rspec-sleeping_king_studios/issues
|
287
180
|
source_code_uri: https://github.com/sleepingkingstudios/rspec-sleeping_king_studios
|
288
|
-
|
181
|
+
rubygems_mfa_required: 'true'
|
289
182
|
rdoc_options: []
|
290
183
|
require_paths:
|
291
184
|
- lib
|
@@ -293,15 +186,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
293
186
|
requirements:
|
294
187
|
- - ">="
|
295
188
|
- !ruby/object:Gem::Version
|
296
|
-
version: '
|
189
|
+
version: '3.1'
|
190
|
+
- - "<"
|
191
|
+
- !ruby/object:Gem::Version
|
192
|
+
version: '4.0'
|
297
193
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
298
194
|
requirements:
|
299
195
|
- - ">="
|
300
196
|
- !ruby/object:Gem::Version
|
301
197
|
version: '0'
|
302
198
|
requirements: []
|
303
|
-
rubygems_version: 3.
|
304
|
-
signing_key:
|
199
|
+
rubygems_version: 3.6.5
|
305
200
|
specification_version: 4
|
306
201
|
summary: A collection of RSpec patches and custom matchers.
|
307
202
|
test_files: []
|