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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6a7e2e3b328e9867c88b743b0ea894d7da533cd607d3f4818ccef00435807c7e
4
- data.tar.gz: 228bfcd1d43e45a4b1b4f6181dab3d9afaee9f4badac8f087c26a1a376c6b0e3
3
+ metadata.gz: 1b9ff105afd77c7fcb2a8a19af62dbcd76664228002e689f524dab47c5e0fcd3
4
+ data.tar.gz: a415137aedbe254f5675a6e26f92c660fc304389cfaea4876e8170ff041b6180
5
5
  SHA512:
6
- metadata.gz: a8f729d6dab5beea7f7aad23644ff0729762d331cc3a6e9e7df68da45f4c01f935060c2160568fddb680d28eff33cc5f62c15ec074cb7c5dacd8c370cd80f22d
7
- data.tar.gz: 40b97ecd4abe2bdacc83cab72fe098555e1f726373740d417896a5d395ad9149097af982f5a2127a5620658a71569b6a2a1a3ddcee35bbde1bd7288242214831
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
- * .ruby-version, examples/nodb/lib/acme/fixtures/users.rb,
4
- lib/fluent_fixtures/dsl.rb, lib/fluent_fixtures/factory.rb,
5
- spec/fluent_fixtures/dsl_spec.rb,
6
- spec/fluent_fixtures/factory_spec.rb:
7
- Add composed decorators
8
- [5a9635f0e734] [github/master, tip]
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
- * README.md:
13
- Remove the (now retired) project link
14
- [145d33914658]
15
-
16
- * .ruby-version:
17
- Bump ruby version to 2.4
18
- [7aba5ecd78b7]
19
-
20
- * .hgtags:
21
- Added tag v0.6.1 for changeset 26a51ed462e4
22
- [91ab791a3775]
23
-
24
- * .hgsigs:
25
- Added signature for changeset a7a6e88dd27a
26
- [26a51ed462e4] [v0.6.1]
27
-
28
- * History.md, lib/fluent_fixtures.rb:
29
- Bump the patch version, update history.
30
- [a7a6e88dd27a]
31
-
32
- * lib/fluent_fixtures/dsl.rb, spec/fluent_fixtures/dsl_spec.rb:
33
- Fix a bug with decorator aliasing
34
- [660937258342]
35
-
36
- * lib/fluent_fixtures/dsl.rb:
37
- Style consistency fixes
38
- [834df1ab36a0]
39
-
40
- * certs/ged.pem:
41
- Update my gem-signing cert
42
- [49ee3a922275]
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
- * .hgtags:
47
- Added tag v0.6.0 for changeset 3a609403c94a
48
- [3d4cf477828e] [github/@]
49
-
50
- * .hgsigs:
51
- Added signature for changeset 3d6408efbde6
52
- [3a609403c94a] [v0.6.0]
53
-
54
- * History.md, lib/fluent_fixtures.rb:
55
- Bump the minor version, update history.
56
- [3d6408efbde6]
57
-
58
- * lib/fluent_fixtures/factory.rb,
59
- spec/fluent_fixtures/factory_spec.rb:
60
- Add support for mutator blocks to factory generators.
61
- [068568028a13]
62
-
63
- * README.md, lib/fluent_fixtures.rb,
64
- lib/fluent_fixtures/collection.rb:
65
- Start work on better docs
66
- [9f00baf84bb2]
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
- * .hgtags:
71
- Added tag v0.5.0 for changeset a6a7c1070f6d
72
- [b8576e389b5e]
73
-
74
- * .hgsigs:
75
- Added signature for changeset ed67198925b5
76
- [a6a7c1070f6d] [v0.5.0]
77
-
78
- * History.md, lib/fluent_fixtures.rb:
79
- Bump the minor version, update history.
80
- [ed67198925b5]
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
- * lib/fluent_fixtures/collection.rb, lib/fluent_fixtures/dsl.rb,
85
- lib/fluent_fixtures/factory.rb,
86
- spec/fluent_fixtures/collection_spec.rb,
87
- spec/fluent_fixtures/dsl_spec.rb,
88
- spec/fluent_fixtures/factory_spec.rb:
89
- Add a `presave` option for decorators that need a saved instance.
90
- [d4160c6c04e0]
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
- * .hgtags:
95
- Added tag v0.4.0 for changeset c40d3bf82a13
96
- [f2a8c07ad5c0]
97
-
98
- * .hgsigs:
99
- Added signature for changeset 08f17f26d0cb
100
- [c40d3bf82a13] [v0.4.0]
101
-
102
- * History.md, lib/fluent_fixtures.rb:
103
- Bumping the minor version, update history.
104
- [08f17f26d0cb]
105
-
106
- * fluent_fixtures.gemspec, lib/fluent_fixtures/dsl.rb,
107
- spec/fluent_fixtures/dsl_spec.rb:
108
- Added syntactic sugar for loading dependent fixtures.
109
- [76eda4f07dab]
110
-
111
- * .gems, Rakefile:
112
- Update simplecov dependency
113
- [323862c0cf01]
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
- * .hgtags:
118
- Added tag v0.3.0 for changeset e544333544cd
119
- [85277035e13e]
120
-
121
- * .hgsigs:
122
- Added signature for changeset 5b362f519048
123
- [e544333544cd] [v0.3.0]
124
-
125
- * History.md, lib/fluent_fixtures.rb:
126
- Bump the minor version, update history.
127
- [5b362f519048]
128
-
129
- * lib/fluent_fixtures/factory.rb,
130
- spec/fluent_fixtures/factory_spec.rb:
131
- Make the factory Enumerable and add a #generator method.
132
- [4726dd9edf86]
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
- * .hgtags:
137
- Added tag v0.2.0 for changeset f79d1cd08ad6
138
- [5b146c864a81]
139
-
140
- * .hgsigs:
141
- Added signature for changeset bde330b02946
142
- [f79d1cd08ad6] [v0.2.0]
143
-
144
- * History.md, lib/fluent_fixtures.rb:
145
- Bump the minor version, update history.
146
- [bde330b02946]
147
-
148
- * lib/fluent_fixtures/factory.rb,
149
- spec/fluent_fixtures/factory_spec.rb:
150
- Fix the way #create and #instance handle their arguments.
151
- [94fff76f0a8e]
152
-
153
- * .hgignore:
154
- Ignore the pkg/ directory
155
- [f4e96804d322]
156
-
157
- * examples/sequel_model/acme_fixtures.rb:
158
- Make some examples read a bit more clearly
159
- [78c923459cc5]
160
-
161
- * .hgtags:
162
- Added tag v0.1.0 for changeset 0b4ecbd00a8f
163
- [9cfa00bbea21]
164
-
165
- * .hgsigs:
166
- Added signature for changeset c6eb79628953
167
- [0b4ecbd00a8f] [v0.1.0]
168
-
169
- * History.md, lib/fluent_fixtures.rb:
170
- Bump the minor version, update history.
171
- [c6eb79628953]
172
-
173
- * .gems, Manifest.txt, lib/fluent_fixtures/dsl.rb,
174
- lib/fluent_fixtures/factory.rb,
175
- spec/fluent_fixtures/collection_spec.rb,
176
- spec/fluent_fixtures/dsl_spec.rb,
177
- spec/fluent_fixtures/factory_spec.rb:
178
- Add an after-save hook and a declaration for it.
179
- [45426c7cbfd8]
180
-
181
- * certs/ged.pem:
182
- Update gem cert to the latest one
183
- [f3b80f1dca30]
184
-
185
- * GettingStarted.md, README.md, TheSetup.md:
186
- Add some more documentation work
187
- [9428d297d024]
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
- * examples/acme_fixtures.rb, examples/lib/acme.rb,
192
- examples/lib/acme/base.rb, examples/lib/acme/fixtures.rb,
193
- examples/lib/acme/fixtures/groups.rb,
194
- examples/lib/acme/fixtures/users.rb, examples/lib/acme/group.rb,
195
- examples/lib/acme/user.rb, examples/nodb/acme_fixtures.rb,
196
- examples/nodb/lib/acme.rb, examples/nodb/lib/acme/base.rb,
197
- examples/nodb/lib/acme/fixtures.rb,
198
- examples/nodb/lib/acme/fixtures/groups.rb,
199
- examples/nodb/lib/acme/fixtures/users.rb,
200
- examples/nodb/lib/acme/group.rb, examples/nodb/lib/acme/user.rb,
201
- examples/sequel_model/.pryrc, examples/sequel_model/Gemfile,
202
- examples/sequel_model/Gemfile.lock,
203
- examples/sequel_model/acme_fixtures.rb,
204
- examples/sequel_model/lib/acme.rb,
205
- examples/sequel_model/lib/acme/customer.rb,
206
- examples/sequel_model/lib/acme/fixtures.rb,
207
- examples/sequel_model/lib/acme/fixtures/customers.rb,
208
- examples/sequel_model/lib/acme/fixtures/order_items.rb,
209
- examples/sequel_model/lib/acme/fixtures/orders.rb,
210
- examples/sequel_model/lib/acme/order.rb,
211
- examples/sequel_model/lib/acme/order_item.rb,
212
- examples/sequel_model/migrations/1_schema.rb:
213
- Split examples into per-backend directories
214
- [49d76036d758]
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
- * .hgtags:
219
- Added tag v0.0.2 for changeset f13e6d1aa624
220
- [9c56821be4a9]
221
-
222
- * .hgsigs:
223
- Added signature for changeset e500071dd9c0
224
- [f13e6d1aa624] [v0.0.2]
225
-
226
- * History.md, lib/fluent_fixtures.rb:
227
- Bump the patch version, update history.
228
- [e500071dd9c0]
229
-
230
- * Rakefile, fluent_fixtures.gemspec:
231
- Remove the release failsafe from the Rakefile
232
- [61698db3838e]
233
-
234
- * .hgtags:
235
- Added tag v0.0.1 for changeset cd547b1e30a8
236
- [e26dbd686588]
237
-
238
- * .hgsigs:
239
- Added signature for changeset 588b8ccc042c
240
- [cd547b1e30a8] [v0.0.1]
241
-
242
- * History.md:
243
- Update history
244
- [588b8ccc042c]
245
-
246
- * .hgignore, .hoerc, ChangeLog, Manifest.txt, fluent_fixtures.gemspec,
247
- lib/fluent_fixtures/dsl.rb, lib/fluent_fixtures/factory.rb:
248
- Clean up the manifest a bit.
249
- [41b90ff8e6d0]
250
-
251
- * .editorconfig, .hgignore, ChangeLog, GettingStarted.md, README.md,
252
- Rakefile, examples/acme_fixtures.rb, examples/lib/acme.rb,
253
- examples/lib/acme/base.rb, examples/lib/acme/fixtures.rb,
254
- examples/lib/acme/fixtures/groups.rb,
255
- examples/lib/acme/fixtures/users.rb, examples/lib/acme/group.rb,
256
- examples/lib/acme/user.rb:
257
- Add the start of examples and a "Getting Started" guide
258
- [2230db2a4a5a]
259
-
260
- * .document, .editorconfig, .gems, .gitignore, .hgignore, .pryrc,
261
- .rdoc_options, .ruby-gemset, .ruby-version, .simplecov, Gemfile,
262
- History.md, LICENSE.txt, Manifest.txt, README.md, Rakefile,
263
- certs/ged.pem, fluent_fixtures.gemspec, lib/fluent_fixtures.rb,
264
- lib/fluent_fixtures/collection.rb, lib/fluent_fixtures/dsl.rb,
265
- lib/fluent_fixtures/factory.rb,
266
- spec/fluent_fixtures/collection_spec.rb,
267
- spec/fluent_fixtures/dsl_spec.rb,
268
- spec/fluent_fixtures/factory_spec.rb, spec/fluent_fixtures_spec.rb,
269
- spec/spec_helper.rb:
270
- Initial import
271
- [76c036a3676b]
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:
@@ -24,10 +24,10 @@ module FluentFixtures
24
24
 
25
25
 
26
26
  # Package version
27
- VERSION = '0.8.0'
27
+ VERSION = '0.8.1'
28
28
 
29
29
  # Version control revision
30
- REVISION = %q$Revision: 3f30d963e0b9 $
30
+ REVISION = %q$Revision$
31
31
 
32
32
 
33
33
  # Loggability API -- set up a named logger
@@ -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( other_fixture )
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[ :tyrants ] = fixture_module
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.0
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
- MIIEbDCCAtSgAwIBAgIBATANBgkqhkiG9w0BAQUFADA+MQwwCgYDVQQDDANnZWQx
14
- GTAXBgoJkiaJk/IsZAEZFglGYWVyaWVNVUQxEzARBgoJkiaJk/IsZAEZFgNvcmcw
15
- HhcNMTcwOTI3MDAzMDQ0WhcNMTgwOTI3MDAzMDQ0WjA+MQwwCgYDVQQDDANnZWQx
16
- GTAXBgoJkiaJk/IsZAEZFglGYWVyaWVNVUQxEzARBgoJkiaJk/IsZAEZFgNvcmcw
17
- ggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQC/JWGRHO+USzR97vXjkFgt
18
- 83qeNf2KHkcvrRTSnR64i6um/ziin0I0oX23H7VYrDJC9A/uoUa5nGRJS5Zw/+wW
19
- ENcvWVZS4iUzi4dsYJGY6yEOsXh2CcF46+QevV8iE+UmbkU75V7Dy1JCaUOyizEt
20
- TH5UHsOtUU7k9TYARt/TgYZKuaoAMZZd5qyVqhF1vV+7/Qzmp89NGflXf2xYP26a
21
- 4MAX2qqKX/FKXqmFO+AGsbwYTEds1mksBF3fGsFgsQWxftG8GfZQ9+Cyu2+l1eOw
22
- cZ+lPcg834G9DrqW2zhqUoLr1MTly4pqxYGb7XoDhoR7d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KPpL5uMqaFuJbqXEvSwPTuUuYkDfNfsjQO7ruWBac
31
+ bxHCrvpZ6Tijc0nrlyXi6gPOCLeaqhau2xFnlvKgELwsGYSoKBJyDwqtQ5kwrOlU
32
+ tkSyLrfZ+RZcH535Hyvif7ZxB0v5OxXXoec+N2vrUsEUMRDL9dg4/WFdN8hIOixF
33
+ 3IPKpZ1ho0Ya5q7yhygtBK9/NBFHw+nbJjcltfPDBXleRe8u73gnQo8AZIhStYSP
34
+ v4qqqa27Bs468d6SoPxjSm8a2mM9HZ4OdWhq4tFsbTeXDVquCfi64OTEaTt2xQdR
35
+ JnC4lpJfCP6aCXa5h2XAQfPSH636cQap
37
36
  -----END CERTIFICATE-----
38
- date: 2018-08-29 00:00:00.000000000 Z
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.6
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