fluent_fixtures 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/ChangeLog +288 -251
- data/History.md +11 -0
- data/lib/fluent_fixtures.rb +2 -2
- data/lib/fluent_fixtures/dsl.rb +3 -2
- data/spec/fluent_fixtures/dsl_spec.rb +20 -2
- metadata +26 -27
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b9ff105afd77c7fcb2a8a19af62dbcd76664228002e689f524dab47c5e0fcd3
|
4
|
+
data.tar.gz: a415137aedbe254f5675a6e26f92c660fc304389cfaea4876e8170ff041b6180
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6c23db9e13519ad3bd87a94f91c2f61d934f8aaacc191f739d19b7a3606b837cebc1a14235f218c4d70f4fc97cfcc9f76c7de216604b55a7c71b55ac0b978fe
|
7
|
+
data.tar.gz: bdaf9d3de463ecee19350175d278c7af7061ac4c18a54f97c201f4776df15ae456bc39ff8c31a0940b852fdd9a9987ebb6e13a0441d4691c98d50a40b2ab61ad
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/ChangeLog
CHANGED
@@ -1,271 +1,308 @@
|
|
1
|
+
2018-08-28 Michael Granger <ged@FaerieMUD.org>
|
2
|
+
|
3
|
+
@ * .hgtags:
|
4
|
+
| Added tag v0.8.0 for changeset 9c6d8910356b
|
5
|
+
| [5692ac6f4c8b] [tip]
|
6
|
+
|
|
7
|
+
o * .hgsigs:
|
8
|
+
| Added signature for changeset 3f30d963e0b9
|
9
|
+
| [9c6d8910356b] [v0.8.0]
|
10
|
+
|
|
11
|
+
o * History.md, lib/fluent_fixtures.rb:
|
12
|
+
| Bump the minor version, update history.
|
13
|
+
| [3f30d963e0b9]
|
14
|
+
|
|
15
|
+
o * TheSetup.md, lib/fluent_fixtures/dsl.rb,
|
16
|
+
| spec/fluent_fixtures/dsl_spec.rb:
|
17
|
+
| Add syntax for adding decorators to already-existing fixtures
|
18
|
+
| [2f66ef00d3ea]
|
19
|
+
|
|
1
20
|
2018-06-12 Michael Granger <ged@FaerieMUD.org>
|
2
21
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
22
|
+
o * .hgtags:
|
23
|
+
| Added tag v0.7.0 for changeset 7d764d4d36fc
|
24
|
+
| [2d4efd972e05]
|
25
|
+
|
|
26
|
+
o * .hgsigs:
|
27
|
+
| Added signature for changeset fd705f7880a5
|
28
|
+
| [7d764d4d36fc] [v0.7.0]
|
29
|
+
|
|
30
|
+
o * History.md, lib/fluent_fixtures.rb:
|
31
|
+
| Bump the minor version, update history.
|
32
|
+
| [fd705f7880a5]
|
33
|
+
|
|
34
|
+
o * fluent_fixtures.gemspec, lib/fluent_fixtures/dsl.rb,
|
35
|
+
| lib/fluent_fixtures/factory.rb,
|
36
|
+
| spec/fluent_fixtures/factory_spec.rb:
|
37
|
+
| Raise a more-informative error when invoking a non-existent fixture.
|
38
|
+
| [b56c1d0126ca]
|
39
|
+
|
|
40
|
+
o * .ruby-version, examples/nodb/lib/acme/fixtures/users.rb,
|
41
|
+
| lib/fluent_fixtures/dsl.rb, lib/fluent_fixtures/factory.rb,
|
42
|
+
| spec/fluent_fixtures/dsl_spec.rb,
|
43
|
+
| spec/fluent_fixtures/factory_spec.rb:
|
44
|
+
| Add composed decorators
|
45
|
+
| [5a9635f0e734]
|
46
|
+
|
|
10
47
|
2017-10-30 Michael Granger <ged@FaerieMUD.org>
|
11
48
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
49
|
+
o * README.md:
|
50
|
+
| Remove the (now retired) project link
|
51
|
+
| [145d33914658]
|
52
|
+
|
|
53
|
+
o * .ruby-version:
|
54
|
+
| Bump ruby version to 2.4
|
55
|
+
| [7aba5ecd78b7]
|
56
|
+
|
|
57
|
+
o * .hgtags:
|
58
|
+
| Added tag v0.6.1 for changeset 26a51ed462e4
|
59
|
+
| [91ab791a3775]
|
60
|
+
|
|
61
|
+
o * .hgsigs:
|
62
|
+
| Added signature for changeset a7a6e88dd27a
|
63
|
+
| [26a51ed462e4] [v0.6.1]
|
64
|
+
|
|
65
|
+
o * History.md, lib/fluent_fixtures.rb:
|
66
|
+
| Bump the patch version, update history.
|
67
|
+
| [a7a6e88dd27a]
|
68
|
+
|
|
69
|
+
o * lib/fluent_fixtures/dsl.rb, spec/fluent_fixtures/dsl_spec.rb:
|
70
|
+
| Fix a bug with decorator aliasing
|
71
|
+
| [660937258342]
|
72
|
+
|
|
73
|
+
o * lib/fluent_fixtures/dsl.rb:
|
74
|
+
| Style consistency fixes
|
75
|
+
| [834df1ab36a0]
|
76
|
+
|
|
77
|
+
o * certs/ged.pem:
|
78
|
+
| Update my gem-signing cert
|
79
|
+
| [49ee3a922275]
|
80
|
+
|
|
44
81
|
2017-06-26 Michael Granger <ged@FaerieMUD.org>
|
45
82
|
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
83
|
+
o * .hgtags:
|
84
|
+
| Added tag v0.6.0 for changeset 3a609403c94a
|
85
|
+
| [3d4cf477828e]
|
86
|
+
|
|
87
|
+
o * .hgsigs:
|
88
|
+
| Added signature for changeset 3d6408efbde6
|
89
|
+
| [3a609403c94a] [v0.6.0]
|
90
|
+
|
|
91
|
+
o * History.md, lib/fluent_fixtures.rb:
|
92
|
+
| Bump the minor version, update history.
|
93
|
+
| [3d6408efbde6]
|
94
|
+
|
|
95
|
+
o * lib/fluent_fixtures/factory.rb,
|
96
|
+
| spec/fluent_fixtures/factory_spec.rb:
|
97
|
+
| Add support for mutator blocks to factory generators.
|
98
|
+
| [068568028a13]
|
99
|
+
|
|
100
|
+
o * README.md, lib/fluent_fixtures.rb,
|
101
|
+
| lib/fluent_fixtures/collection.rb:
|
102
|
+
| Start work on better docs
|
103
|
+
| [9f00baf84bb2]
|
104
|
+
|
|
68
105
|
2017-05-15 Michael Granger <ged@FaerieMUD.org>
|
69
106
|
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
107
|
+
o * .hgtags:
|
108
|
+
| Added tag v0.5.0 for changeset a6a7c1070f6d
|
109
|
+
| [b8576e389b5e]
|
110
|
+
|
|
111
|
+
o * .hgsigs:
|
112
|
+
| Added signature for changeset ed67198925b5
|
113
|
+
| [a6a7c1070f6d] [v0.5.0]
|
114
|
+
|
|
115
|
+
o * History.md, lib/fluent_fixtures.rb:
|
116
|
+
| Bump the minor version, update history.
|
117
|
+
| [ed67198925b5]
|
118
|
+
|
|
82
119
|
2017-05-12 Michael Granger <ged@FaerieMUD.org>
|
83
120
|
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
121
|
+
o * lib/fluent_fixtures/collection.rb, lib/fluent_fixtures/dsl.rb,
|
122
|
+
| lib/fluent_fixtures/factory.rb,
|
123
|
+
| spec/fluent_fixtures/collection_spec.rb,
|
124
|
+
| spec/fluent_fixtures/dsl_spec.rb,
|
125
|
+
| spec/fluent_fixtures/factory_spec.rb:
|
126
|
+
| Add a `presave` option for decorators that need a saved instance.
|
127
|
+
| [d4160c6c04e0]
|
128
|
+
|
|
92
129
|
2016-12-13 Michael Granger <ged@FaerieMUD.org>
|
93
130
|
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
131
|
+
o * .hgtags:
|
132
|
+
| Added tag v0.4.0 for changeset c40d3bf82a13
|
133
|
+
| [f2a8c07ad5c0]
|
134
|
+
|
|
135
|
+
o * .hgsigs:
|
136
|
+
| Added signature for changeset 08f17f26d0cb
|
137
|
+
| [c40d3bf82a13] [v0.4.0]
|
138
|
+
|
|
139
|
+
o * History.md, lib/fluent_fixtures.rb:
|
140
|
+
| Bumping the minor version, update history.
|
141
|
+
| [08f17f26d0cb]
|
142
|
+
|
|
143
|
+
o * fluent_fixtures.gemspec, lib/fluent_fixtures/dsl.rb,
|
144
|
+
| spec/fluent_fixtures/dsl_spec.rb:
|
145
|
+
| Added syntactic sugar for loading dependent fixtures.
|
146
|
+
| [76eda4f07dab]
|
147
|
+
|
|
148
|
+
o * .gems, Rakefile:
|
149
|
+
| Update simplecov dependency
|
150
|
+
| [323862c0cf01]
|
151
|
+
|
|
115
152
|
2016-11-26 Michael Granger <ged@FaerieMUD.org>
|
116
153
|
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
154
|
+
o * .hgtags:
|
155
|
+
| Added tag v0.3.0 for changeset e544333544cd
|
156
|
+
| [85277035e13e] [github/master]
|
157
|
+
|
|
158
|
+
o * .hgsigs:
|
159
|
+
| Added signature for changeset 5b362f519048
|
160
|
+
| [e544333544cd] [v0.3.0]
|
161
|
+
|
|
162
|
+
o * History.md, lib/fluent_fixtures.rb:
|
163
|
+
| Bump the minor version, update history.
|
164
|
+
| [5b362f519048]
|
165
|
+
|
|
166
|
+
o * lib/fluent_fixtures/factory.rb,
|
167
|
+
| spec/fluent_fixtures/factory_spec.rb:
|
168
|
+
| Make the factory Enumerable and add a #generator method.
|
169
|
+
| [4726dd9edf86]
|
170
|
+
|
|
134
171
|
2016-10-28 Michael Granger <ged@FaerieMUD.org>
|
135
172
|
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
173
|
+
o * .hgtags:
|
174
|
+
| Added tag v0.2.0 for changeset f79d1cd08ad6
|
175
|
+
| [5b146c864a81]
|
176
|
+
|
|
177
|
+
o * .hgsigs:
|
178
|
+
| Added signature for changeset bde330b02946
|
179
|
+
| [f79d1cd08ad6] [v0.2.0]
|
180
|
+
|
|
181
|
+
o * History.md, lib/fluent_fixtures.rb:
|
182
|
+
| Bump the minor version, update history.
|
183
|
+
| [bde330b02946]
|
184
|
+
|
|
185
|
+
o * lib/fluent_fixtures/factory.rb,
|
186
|
+
| spec/fluent_fixtures/factory_spec.rb:
|
187
|
+
| Fix the way #create and #instance handle their arguments.
|
188
|
+
| [94fff76f0a8e]
|
189
|
+
|
|
190
|
+
o * .hgignore:
|
191
|
+
| Ignore the pkg/ directory
|
192
|
+
| [f4e96804d322]
|
193
|
+
|
|
194
|
+
o * examples/sequel_model/acme_fixtures.rb:
|
195
|
+
| Make some examples read a bit more clearly
|
196
|
+
| [78c923459cc5]
|
197
|
+
|
|
198
|
+
o * .hgtags:
|
199
|
+
| Added tag v0.1.0 for changeset 0b4ecbd00a8f
|
200
|
+
| [9cfa00bbea21]
|
201
|
+
|
|
202
|
+
o * .hgsigs:
|
203
|
+
| Added signature for changeset c6eb79628953
|
204
|
+
| [0b4ecbd00a8f] [v0.1.0]
|
205
|
+
|
|
206
|
+
o * History.md, lib/fluent_fixtures.rb:
|
207
|
+
| Bump the minor version, update history.
|
208
|
+
| [c6eb79628953]
|
209
|
+
|
|
210
|
+
o * .gems, Manifest.txt, lib/fluent_fixtures/dsl.rb,
|
211
|
+
| lib/fluent_fixtures/factory.rb,
|
212
|
+
| spec/fluent_fixtures/collection_spec.rb,
|
213
|
+
| spec/fluent_fixtures/dsl_spec.rb,
|
214
|
+
| spec/fluent_fixtures/factory_spec.rb:
|
215
|
+
| Add an after-save hook and a declaration for it.
|
216
|
+
| [45426c7cbfd8]
|
217
|
+
|
|
218
|
+
o * certs/ged.pem:
|
219
|
+
| Update gem cert to the latest one
|
220
|
+
| [f3b80f1dca30]
|
221
|
+
|
|
222
|
+
o * GettingStarted.md, README.md, TheSetup.md:
|
223
|
+
| Add some more documentation work
|
224
|
+
| [9428d297d024]
|
225
|
+
|
|
189
226
|
2016-10-20 Michael Granger <ged@FaerieMUD.org>
|
190
227
|
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
228
|
+
o * examples/acme_fixtures.rb, examples/lib/acme.rb,
|
229
|
+
| examples/lib/acme/base.rb, examples/lib/acme/fixtures.rb,
|
230
|
+
| examples/lib/acme/fixtures/groups.rb,
|
231
|
+
| examples/lib/acme/fixtures/users.rb, examples/lib/acme/group.rb,
|
232
|
+
| examples/lib/acme/user.rb, examples/nodb/acme_fixtures.rb,
|
233
|
+
| examples/nodb/lib/acme.rb, examples/nodb/lib/acme/base.rb,
|
234
|
+
| examples/nodb/lib/acme/fixtures.rb,
|
235
|
+
| examples/nodb/lib/acme/fixtures/groups.rb,
|
236
|
+
| examples/nodb/lib/acme/fixtures/users.rb,
|
237
|
+
| examples/nodb/lib/acme/group.rb, examples/nodb/lib/acme/user.rb,
|
238
|
+
| examples/sequel_model/.pryrc, examples/sequel_model/Gemfile,
|
239
|
+
| examples/sequel_model/Gemfile.lock,
|
240
|
+
| examples/sequel_model/acme_fixtures.rb,
|
241
|
+
| examples/sequel_model/lib/acme.rb,
|
242
|
+
| examples/sequel_model/lib/acme/customer.rb,
|
243
|
+
| examples/sequel_model/lib/acme/fixtures.rb,
|
244
|
+
| examples/sequel_model/lib/acme/fixtures/customers.rb,
|
245
|
+
| examples/sequel_model/lib/acme/fixtures/order_items.rb,
|
246
|
+
| examples/sequel_model/lib/acme/fixtures/orders.rb,
|
247
|
+
| examples/sequel_model/lib/acme/order.rb,
|
248
|
+
| examples/sequel_model/lib/acme/order_item.rb,
|
249
|
+
| examples/sequel_model/migrations/1_schema.rb:
|
250
|
+
| Split examples into per-backend directories
|
251
|
+
| [49d76036d758]
|
252
|
+
|
|
216
253
|
2016-06-01 Michael Granger <ged@FaerieMUD.org>
|
217
254
|
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
255
|
+
o * .hgtags:
|
256
|
+
| Added tag v0.0.2 for changeset f13e6d1aa624
|
257
|
+
| [9c56821be4a9]
|
258
|
+
|
|
259
|
+
o * .hgsigs:
|
260
|
+
| Added signature for changeset e500071dd9c0
|
261
|
+
| [f13e6d1aa624] [v0.0.2]
|
262
|
+
|
|
263
|
+
o * History.md, lib/fluent_fixtures.rb:
|
264
|
+
| Bump the patch version, update history.
|
265
|
+
| [e500071dd9c0]
|
266
|
+
|
|
267
|
+
o * Rakefile, fluent_fixtures.gemspec:
|
268
|
+
| Remove the release failsafe from the Rakefile
|
269
|
+
| [61698db3838e]
|
270
|
+
|
|
271
|
+
o * .hgtags:
|
272
|
+
| Added tag v0.0.1 for changeset cd547b1e30a8
|
273
|
+
| [e26dbd686588]
|
274
|
+
|
|
275
|
+
o * .hgsigs:
|
276
|
+
| Added signature for changeset 588b8ccc042c
|
277
|
+
| [cd547b1e30a8] [v0.0.1]
|
278
|
+
|
|
279
|
+
o * History.md:
|
280
|
+
| Update history
|
281
|
+
| [588b8ccc042c]
|
282
|
+
|
|
283
|
+
o * .hgignore, .hoerc, ChangeLog, Manifest.txt, fluent_fixtures.gemspec,
|
284
|
+
| lib/fluent_fixtures/dsl.rb, lib/fluent_fixtures/factory.rb:
|
285
|
+
| Clean up the manifest a bit.
|
286
|
+
| [41b90ff8e6d0]
|
287
|
+
|
|
288
|
+
o * .editorconfig, .hgignore, ChangeLog, GettingStarted.md, README.md,
|
289
|
+
| Rakefile, examples/acme_fixtures.rb, examples/lib/acme.rb,
|
290
|
+
| examples/lib/acme/base.rb, examples/lib/acme/fixtures.rb,
|
291
|
+
| examples/lib/acme/fixtures/groups.rb,
|
292
|
+
| examples/lib/acme/fixtures/users.rb, examples/lib/acme/group.rb,
|
293
|
+
| examples/lib/acme/user.rb:
|
294
|
+
| Add the start of examples and a "Getting Started" guide
|
295
|
+
| [2230db2a4a5a]
|
296
|
+
|
|
297
|
+
o * .document, .editorconfig, .gems, .gitignore, .hgignore, .pryrc,
|
298
|
+
.rdoc_options, .ruby-gemset, .ruby-version, .simplecov, Gemfile,
|
299
|
+
History.md, LICENSE.txt, Manifest.txt, README.md, Rakefile,
|
300
|
+
certs/ged.pem, fluent_fixtures.gemspec, lib/fluent_fixtures.rb,
|
301
|
+
lib/fluent_fixtures/collection.rb, lib/fluent_fixtures/dsl.rb,
|
302
|
+
lib/fluent_fixtures/factory.rb,
|
303
|
+
spec/fluent_fixtures/collection_spec.rb,
|
304
|
+
spec/fluent_fixtures/dsl_spec.rb,
|
305
|
+
spec/fluent_fixtures/factory_spec.rb, spec/fluent_fixtures_spec.rb,
|
306
|
+
spec/spec_helper.rb:
|
307
|
+
Initial import
|
308
|
+
[76c036a3676b]
|
data/History.md
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
## v0.8.1 [2018-11-20] Michael Granger <ged@FaerieMUD.org>
|
2
|
+
|
3
|
+
Bugfixes:
|
4
|
+
|
5
|
+
- Make dependencies explicit in `additions_for`.
|
6
|
+
This fixes the case where the base fixture is not named the same
|
7
|
+
thing as the file that it is defined in. You can now explicitly
|
8
|
+
depend on another fixture file with the `depends_on` keyword
|
9
|
+
argument to `additions_for`.
|
10
|
+
|
11
|
+
|
1
12
|
## v0.8.0 [2018-08-28] Michael Granger <ged@FaerieMUD.org>
|
2
13
|
|
3
14
|
Enhancements:
|
data/lib/fluent_fixtures.rb
CHANGED
data/lib/fluent_fixtures/dsl.rb
CHANGED
@@ -95,8 +95,9 @@ module FluentFixtures::DSL
|
|
95
95
|
|
96
96
|
|
97
97
|
### Declare decorators for the +other_fixture+ instead of the current one.
|
98
|
-
def additions_for( other_fixture, &block )
|
99
|
-
self.depends_on(
|
98
|
+
def additions_for( other_fixture, depends_on: nil, &block )
|
99
|
+
self.depends_on( depends_on ) if depends_on
|
100
|
+
|
100
101
|
mod = self.collection.modules[ other_fixture ] or
|
101
102
|
raise "no such fixture %p" % [ other_fixture ]
|
102
103
|
|
@@ -159,9 +159,27 @@ describe FluentFixtures::DSL do
|
|
159
159
|
|
160
160
|
|
161
161
|
it "can extend an existing fixture with more decorators" do
|
162
|
+
collection.modules[ :tyrant ] = fixture_module
|
163
|
+
|
164
|
+
mod = Module.new do
|
165
|
+
def self::name ; "FixtureAdditionTests"; end
|
166
|
+
end
|
167
|
+
|
168
|
+
mod.extend( collection )
|
169
|
+
mod.additions_for( :tyrant ) do
|
170
|
+
decorator :despotic do
|
171
|
+
self.authority = :absolute
|
172
|
+
end
|
173
|
+
end
|
174
|
+
|
175
|
+
expect( fixture_module ).to have_decorator( :despotic )
|
176
|
+
end
|
177
|
+
|
178
|
+
|
179
|
+
it "can add a dependency via an extension" do
|
162
180
|
expect( collection ).to receive( :load ) do |*args|
|
163
181
|
expect( args ).to eq([ :tyrants ])
|
164
|
-
collection.modules[ :
|
182
|
+
collection.modules[ :tyrant ] = fixture_module
|
165
183
|
end
|
166
184
|
|
167
185
|
mod = Module.new do
|
@@ -169,7 +187,7 @@ describe FluentFixtures::DSL do
|
|
169
187
|
end
|
170
188
|
|
171
189
|
mod.extend( collection )
|
172
|
-
mod.additions_for( :tyrants ) do
|
190
|
+
mod.additions_for( :tyrant, depends_on: :tyrants ) do
|
173
191
|
decorator :despotic do
|
174
192
|
self.authority = :absolute
|
175
193
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent_fixtures
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Granger
|
@@ -10,32 +10,31 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
+
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
OMKv6pWsoS81vw5KAGBmfX8nht/Py90DQrbRvakATGI=
|
13
|
+
MIIENDCCApygAwIBAgIBATANBgkqhkiG9w0BAQsFADAiMSAwHgYDVQQDDBdnZWQv
|
14
|
+
REM9RmFlcmllTVVEL0RDPW9yZzAeFw0xODExMjAxODI5NTlaFw0xOTExMjAxODI5
|
15
|
+
NTlaMCIxIDAeBgNVBAMMF2dlZC9EQz1GYWVyaWVNVUQvREM9b3JnMIIBojANBgkq
|
16
|
+
hkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAvyVhkRzvlEs0fe7145BYLfN6njX9ih5H
|
17
|
+
L60U0p0euIurpv84op9CNKF9tx+1WKwyQvQP7qFGuZxkSUuWcP/sFhDXL1lWUuIl
|
18
|
+
M4uHbGCRmOshDrF4dgnBeOvkHr1fIhPlJm5FO+Vew8tSQmlDsosxLUx+VB7DrVFO
|
19
|
+
5PU2AEbf04GGSrmqADGWXeaslaoRdb1fu/0M5qfPTRn5V39sWD9umuDAF9qqil/x
|
20
|
+
Sl6phTvgBrG8GExHbNZpLARd3xrBYLEFsX7RvBn2UPfgsrtvpdXjsHGfpT3IPN+B
|
21
|
+
vQ66lts4alKC69TE5cuKasWBm+16A4aEe3XdZBRNmtOu/g81gvwA7fkJHKllJuaI
|
22
|
+
dXzdHqq+zbGZVSQ7pRYHYomD0IiDe1DbIouFnPWmagaBnGHwXkDT2bKKP+s2v21m
|
23
|
+
ozilJg4aar2okb/RA6VS87o+d7g6LpDDMMQjH4G9OPnJENLdhu8KnPw/ivSVvQw7
|
24
|
+
N2I4L/ZOIe2DIVuYH7aLHfjZDQv/mNgpAgMBAAGjdTBzMAkGA1UdEwQCMAAwCwYD
|
25
|
+
VR0PBAQDAgSwMB0GA1UdDgQWBBRyjf55EbrHagiRLqt5YAd3yb8k4DAcBgNVHREE
|
26
|
+
FTATgRFnZWRARmFlcmllTVVELm9yZzAcBgNVHRIEFTATgRFnZWRARmFlcmllTVVE
|
27
|
+
Lm9yZzANBgkqhkiG9w0BAQsFAAOCAYEAP9Ffkvg4e8CjIWi8SykQ8oJSS8jbmbgF
|
28
|
+
abke3vXWLG6V9kFiObuJd5wZRBluJANu7bEtjgc3fFaGVP2XxVdCpVjNbmMDg4Qp
|
29
|
+
ovvczP53X6pQP2RSZgxF6Lblvy8y11RziUTVRG/Z2aJHsElo6gI7vQznE/OSDrhC
|
30
|
+
gEhr8uaIUt7D+HZWRbU0+MkKPpL5uMqaFuJbqXEvSwPTuUuYkDfNfsjQO7ruWBac
|
31
|
+
bxHCrvpZ6Tijc0nrlyXi6gPOCLeaqhau2xFnlvKgELwsGYSoKBJyDwqtQ5kwrOlU
|
32
|
+
tkSyLrfZ+RZcH535Hyvif7ZxB0v5OxXXoec+N2vrUsEUMRDL9dg4/WFdN8hIOixF
|
33
|
+
3IPKpZ1ho0Ya5q7yhygtBK9/NBFHw+nbJjcltfPDBXleRe8u73gnQo8AZIhStYSP
|
34
|
+
v4qqqa27Bs468d6SoPxjSm8a2mM9HZ4OdWhq4tFsbTeXDVquCfi64OTEaTt2xQdR
|
35
|
+
JnC4lpJfCP6aCXa5h2XAQfPSH636cQap
|
37
36
|
-----END CERTIFICATE-----
|
38
|
-
date: 2018-
|
37
|
+
date: 2018-11-20 00:00:00.000000000 Z
|
39
38
|
dependencies:
|
40
39
|
- !ruby/object:Gem::Dependency
|
41
40
|
name: loggability
|
@@ -237,7 +236,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
237
236
|
version: '0'
|
238
237
|
requirements: []
|
239
238
|
rubyforge_project:
|
240
|
-
rubygems_version: 2.7.
|
239
|
+
rubygems_version: 2.7.7
|
241
240
|
signing_key:
|
242
241
|
specification_version: 4
|
243
242
|
summary: FluentFixtures is a toolkit for building testing objects with a fluent interface
|
metadata.gz.sig
CHANGED
Binary file
|