fixturizer 0.1.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.debride_whitelist +7 -0
- data/.rubocop.yml +80 -0
- data/Gemfile +4 -4
- data/Rakefile +58 -3
- data/VERSION +1 -0
- data/bin/console +4 -3
- data/bom.xml +802 -0
- data/fixturizer.gemspec +34 -16
- data/lib/dependencies.rb +10 -0
- data/lib/fixturizer/adapters/init.rb +3 -0
- data/lib/fixturizer/adapters/mongoid.rb +52 -0
- data/lib/fixturizer/configuration.rb +22 -0
- data/lib/fixturizer/engines/datasets.rb +46 -0
- data/lib/fixturizer/engines/init.rb +3 -0
- data/lib/fixturizer/engines/models.rb +73 -0
- data/lib/fixturizer/engines/records.rb +23 -0
- data/lib/fixturizer/getters/init.rb +28 -0
- data/lib/fixturizer/getters/json.rb +16 -0
- data/lib/fixturizer/getters/yaml.rb +16 -0
- data/lib/fixturizer/rake/manage.rb +3 -1
- data/lib/fixturizer/rake/rules/database.rake +13 -9
- data/lib/fixturizer/rspec/helpers/database.rb +27 -0
- data/lib/fixturizer/rspec/helpers/datasets.rb +19 -0
- data/lib/fixturizer/rspec/helpers/getter.rb +24 -0
- data/lib/fixturizer/rspec/helpers/records.rb +19 -0
- data/lib/fixturizer/rspec/helpers/serializer.rb +25 -0
- data/lib/fixturizer/rspec/matchers/database_be_correctly_dropped.rb +16 -0
- data/lib/fixturizer/rspec/matchers/database_be_correctly_populated.rb +16 -0
- data/lib/fixturizer/rspec/prepare.rb +6 -0
- data/lib/fixturizer/serializers/init.rb +30 -0
- data/lib/fixturizer/serializers/json.rb +18 -0
- data/lib/fixturizer/serializers/yaml.rb +15 -0
- data/lib/fixturizer/services.rb +51 -0
- data/lib/fixturizer/settings.rb +13 -0
- data/lib/fixturizer/version.rb +5 -1
- data/lib/fixturizer.rb +10 -109
- data/samples/.rspec +3 -0
- data/samples/Gemfile +17 -0
- data/samples/Rakefile +28 -0
- data/samples/app.rb +43 -0
- data/samples/config/rules.yml +52 -0
- data/samples/config.ru +10 -0
- data/samples/spec/app_spec.rb +168 -0
- data/samples/spec/fixtures/data.json +10 -0
- data/samples/spec/fixtures/data.yml +6 -0
- data/samples/spec/spec_helper.rb +23 -0
- metadata +218 -8
metadata
CHANGED
@@ -1,43 +1,253 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fixturizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Pierre
|
7
|
+
- Pierre ALPHONSE
|
8
|
+
- Romain GEORGES
|
8
9
|
autorequire:
|
9
10
|
bindir: exe
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
13
|
-
|
12
|
+
date: 2024-05-16 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: mongoid
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '9.0'
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '9.0'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: rake
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - "~>"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '13.0'
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '13.0'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: rspec
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: 3.10.0
|
49
|
+
type: :runtime
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: 3.10.0
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: version
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '1.1'
|
63
|
+
type: :runtime
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '1.1'
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: bundle-audit
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - "~>"
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 0.1.0
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - "~>"
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: 0.1.0
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: code_statistics
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - "~>"
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: 0.2.13
|
91
|
+
type: :development
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - "~>"
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: 0.2.13
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: cyclonedx-ruby
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - "~>"
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '1.1'
|
105
|
+
type: :development
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - "~>"
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '1.1'
|
112
|
+
- !ruby/object:Gem::Dependency
|
113
|
+
name: debride
|
114
|
+
requirement: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - "~>"
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '1.12'
|
119
|
+
type: :development
|
120
|
+
prerelease: false
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - "~>"
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '1.12'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: diff-lcs
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - "~>"
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: 1.5.1
|
133
|
+
type: :development
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - "~>"
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: 1.5.1
|
140
|
+
- !ruby/object:Gem::Dependency
|
141
|
+
name: rubocop
|
142
|
+
requirement: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - "~>"
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '1.32'
|
147
|
+
type: :development
|
148
|
+
prerelease: false
|
149
|
+
version_requirements: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - "~>"
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '1.32'
|
154
|
+
- !ruby/object:Gem::Dependency
|
155
|
+
name: yard
|
156
|
+
requirement: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - "~>"
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: 0.9.27
|
161
|
+
type: :development
|
162
|
+
prerelease: false
|
163
|
+
version_requirements: !ruby/object:Gem::Requirement
|
164
|
+
requirements:
|
165
|
+
- - "~>"
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: 0.9.27
|
168
|
+
- !ruby/object:Gem::Dependency
|
169
|
+
name: yard-rspec
|
170
|
+
requirement: !ruby/object:Gem::Requirement
|
171
|
+
requirements:
|
172
|
+
- - "~>"
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: '0.1'
|
175
|
+
type: :development
|
176
|
+
prerelease: false
|
177
|
+
version_requirements: !ruby/object:Gem::Requirement
|
178
|
+
requirements:
|
179
|
+
- - "~>"
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '0.1'
|
182
|
+
description: Ruby fixturizer tools for applications testing
|
14
183
|
email:
|
15
184
|
- pierre.alphonse@orange.com
|
185
|
+
- romain@ultragreen.net
|
16
186
|
executables: []
|
17
187
|
extensions: []
|
18
188
|
extra_rdoc_files: []
|
19
189
|
files:
|
190
|
+
- ".debride_whitelist"
|
20
191
|
- ".gitignore"
|
21
192
|
- ".rspec"
|
193
|
+
- ".rubocop.yml"
|
22
194
|
- ".travis.yml"
|
23
195
|
- Gemfile
|
24
196
|
- LICENSE.txt
|
25
197
|
- README.md
|
26
198
|
- Rakefile
|
199
|
+
- VERSION
|
27
200
|
- bin/console
|
28
201
|
- bin/setup
|
202
|
+
- bom.xml
|
29
203
|
- fixturizer.gemspec
|
204
|
+
- lib/dependencies.rb
|
30
205
|
- lib/fixturizer.rb
|
206
|
+
- lib/fixturizer/adapters/init.rb
|
207
|
+
- lib/fixturizer/adapters/mongoid.rb
|
208
|
+
- lib/fixturizer/configuration.rb
|
209
|
+
- lib/fixturizer/engines/datasets.rb
|
210
|
+
- lib/fixturizer/engines/init.rb
|
211
|
+
- lib/fixturizer/engines/models.rb
|
212
|
+
- lib/fixturizer/engines/records.rb
|
213
|
+
- lib/fixturizer/getters/init.rb
|
214
|
+
- lib/fixturizer/getters/json.rb
|
215
|
+
- lib/fixturizer/getters/yaml.rb
|
31
216
|
- lib/fixturizer/rake/manage.rb
|
32
217
|
- lib/fixturizer/rake/rules/database.rake
|
218
|
+
- lib/fixturizer/rspec/helpers/database.rb
|
219
|
+
- lib/fixturizer/rspec/helpers/datasets.rb
|
220
|
+
- lib/fixturizer/rspec/helpers/getter.rb
|
221
|
+
- lib/fixturizer/rspec/helpers/records.rb
|
222
|
+
- lib/fixturizer/rspec/helpers/serializer.rb
|
223
|
+
- lib/fixturizer/rspec/matchers/database_be_correctly_dropped.rb
|
224
|
+
- lib/fixturizer/rspec/matchers/database_be_correctly_populated.rb
|
225
|
+
- lib/fixturizer/rspec/prepare.rb
|
226
|
+
- lib/fixturizer/serializers/init.rb
|
227
|
+
- lib/fixturizer/serializers/json.rb
|
228
|
+
- lib/fixturizer/serializers/yaml.rb
|
229
|
+
- lib/fixturizer/services.rb
|
230
|
+
- lib/fixturizer/settings.rb
|
33
231
|
- lib/fixturizer/version.rb
|
232
|
+
- samples/.rspec
|
233
|
+
- samples/Gemfile
|
234
|
+
- samples/Rakefile
|
235
|
+
- samples/app.rb
|
236
|
+
- samples/config.ru
|
237
|
+
- samples/config/rules.yml
|
238
|
+
- samples/spec/app_spec.rb
|
239
|
+
- samples/spec/fixtures/data.json
|
240
|
+
- samples/spec/fixtures/data.yml
|
241
|
+
- samples/spec/spec_helper.rb
|
34
242
|
homepage: https://github.com/Ultragreen/fixturizer
|
35
243
|
licenses:
|
36
244
|
- MIT
|
37
245
|
metadata:
|
246
|
+
allowed_push_host: https://rubygems.org
|
38
247
|
homepage_uri: https://github.com/Ultragreen/fixturizer
|
39
248
|
source_code_uri: https://github.com/Ultragreen/fixturizer
|
40
249
|
changelog_uri: https://github.com/Ultragreen/fixturizer
|
250
|
+
rubygems_mfa_required: 'true'
|
41
251
|
post_install_message:
|
42
252
|
rdoc_options: []
|
43
253
|
require_paths:
|
@@ -46,15 +256,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
46
256
|
requirements:
|
47
257
|
- - ">="
|
48
258
|
- !ruby/object:Gem::Version
|
49
|
-
version: 2.3
|
259
|
+
version: 3.2.3
|
50
260
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
51
261
|
requirements:
|
52
262
|
- - ">="
|
53
263
|
- !ruby/object:Gem::Version
|
54
264
|
version: '0'
|
55
265
|
requirements: []
|
56
|
-
rubygems_version: 3.
|
266
|
+
rubygems_version: 3.4.19
|
57
267
|
signing_key:
|
58
268
|
specification_version: 4
|
59
|
-
summary: Ruby fixturizer for
|
269
|
+
summary: Ruby fixturizer tools for applications testing
|
60
270
|
test_files: []
|