fixture_replacement 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. data/.gitignore +2 -0
  2. data/CHANGELOG.rdoc +720 -0
  3. data/GPL_LICENSE +674 -0
  4. data/MIT_LICENSE +22 -0
  5. data/README.rdoc +154 -0
  6. data/Rakefile +8 -0
  7. data/TODO.rdoc +22 -0
  8. data/VERSION +1 -0
  9. data/contributions.rdoc +48 -0
  10. data/etc/bug_reports/2007_09_28_linoj.txt +51 -0
  11. data/etc/google_analytics +6 -0
  12. data/etc/patches/2007_09_14_default_model_name_with_arguments.diff +26 -0
  13. data/etc/patches/2007_10_14_active_record_specs.diff +396 -0
  14. data/etc/patches/2007_10_14_protected_attributes.diff +26 -0
  15. data/etc/patches/2007_10_14_send_patch.diff +79 -0
  16. data/etc/patches/2007_10_14_spelling_error_in_comments.diff +13 -0
  17. data/etc/patches/2007_10_17_protected_attributes_second_go.diff +212 -0
  18. data/etc/patches/2007_10_18_README.diff +137 -0
  19. data/etc/patches/2007_10_19_readme_tweak.diff +12 -0
  20. data/etc/patches/2007_10_19_silence_migration.diff +12 -0
  21. data/etc/patches/2007_10_25_changed_classify_to_camelize.diff +38 -0
  22. data/etc/patches/2007_11_20_fixture_replacement_generator_should_not_reload_environment_or_boot.patch +13 -0
  23. data/etc/patches/2007_11_20_string_random_refactor_and_extension.patch +104 -0
  24. data/etc/patches/2007_11_20_string_random_refactor_and_extension_v2.patch +108 -0
  25. data/fixture_replacement.gemspec +126 -0
  26. data/lib/fixture_replacement.rb +16 -0
  27. data/lib/fixture_replacement/attribute_builder.rb +129 -0
  28. data/lib/fixture_replacement/class_methods.rb +45 -0
  29. data/lib/fixture_replacement/method_generator.rb +38 -0
  30. data/lib/fixture_replacement/version.rb +13 -0
  31. data/lib/fr.rb +1 -0
  32. data/philosophy_and_bugs.rdoc +128 -0
  33. data/rake_tasks/code_quality.rb +37 -0
  34. data/rake_tasks/docs.rb +59 -0
  35. data/rake_tasks/gem.rb +27 -0
  36. data/rake_tasks/specs.rb +7 -0
  37. data/rake_tasks/tests.rb +7 -0
  38. data/rake_tasks/website.rb +11 -0
  39. data/spec/fixture_replacement/attribute_builder_spec.rb +162 -0
  40. data/spec/fixture_replacement/fixture_replacement_spec.rb +96 -0
  41. data/spec/fixture_replacement/fixtures/classes.rb +78 -0
  42. data/spec/fixture_replacement/fr_spec.rb +7 -0
  43. data/spec/fixture_replacement/integration/attr_protected_attributes_spec.rb +71 -0
  44. data/spec/fixture_replacement/integration/attributes_for_with_invalid_keys_spec.rb +14 -0
  45. data/spec/fixture_replacement/integration/attributes_from_spec_without_block.rb +52 -0
  46. data/spec/fixture_replacement/integration/create_method_spec.rb +61 -0
  47. data/spec/fixture_replacement/integration/cyclic_dependency_spec.rb +32 -0
  48. data/spec/fixture_replacement/integration/default_warnings_spec.rb +29 -0
  49. data/spec/fixture_replacement/integration/extend_spec.rb +37 -0
  50. data/spec/fixture_replacement/integration/has_and_belongs_to_many_spec.rb +64 -0
  51. data/spec/fixture_replacement/integration/new_method_spec.rb +96 -0
  52. data/spec/fixture_replacement/integration/private_methods_spec.rb +43 -0
  53. data/spec/fixture_replacement/integration/public_methods_spec.rb +21 -0
  54. data/spec/fixture_replacement/integration/valid_attributes_spec.rb +41 -0
  55. data/spec/fixture_replacement/integration/validation_spec.rb +54 -0
  56. data/spec/fixture_replacement/regressions/2008_01_21_random_string_with_sti_spec.rb +71 -0
  57. data/spec/fixture_replacement/version_spec.rb +7 -0
  58. data/spec/spec.opts +1 -0
  59. data/spec/spec_helper.rb +16 -0
  60. data/spec/spec_helpers.rb +117 -0
  61. data/test/test_helper.rb +21 -0
  62. data/test/unit/user_test.rb +57 -0
  63. metadata +143 -0
@@ -0,0 +1,2 @@
1
+ doc
2
+ pkg
@@ -0,0 +1,720 @@
1
+ == 3.0.1
2
+
3
+ - Made it into a rubygem. Get it from gemcutter:
4
+
5
+ gem install fixture_replacement
6
+
7
+ You'll need to require "fixture_replacement" (or load "fixture_replacement")
8
+ in your spec_helper, test_helper, or anywhere else you plan to use it.
9
+
10
+ - validate instances with FixtureReplacement.validate!
11
+
12
+ == 3.0.0
13
+
14
+ - Better Support for Reloading (call FR.reload! after calling reload! in the console or in your spec helper)
15
+ - default_* is gone. Use new_* instead.
16
+ This will necessitate that declarations of the form validates_presence_of :association_id
17
+ change to validates_presence_of :association
18
+ - attributes_for now yields the real active record object, not an OpenStruct, providing for increased
19
+ flexibility
20
+ - Cyclic dependencies can be handled by checking the overrides hash passed to the builders:
21
+
22
+ attributes_for :event do |event, hash|
23
+ e.schedule = new_schedule(:event => event) unless hash[:schedule]
24
+ end
25
+
26
+ attributes_for :schedule do |schedule, hash|
27
+ s.event = new_event(:schedule => schedule) unless hash[:event]
28
+ end
29
+
30
+ - <tt>String.random</tt> is gone in favor of the method <tt>random_string</tt>. Call random_string
31
+ as you would previously in FixtureReplacement:
32
+
33
+ module FixtureReplacement
34
+ attributes_for :user do |u|
35
+ u.username = random_string
36
+ end
37
+ end
38
+
39
+ To replace calls to String.random in your specs or elsewhere, use the FixtureReplacement
40
+ module instead:
41
+
42
+ FixtureReplacement.random_string
43
+
44
+ # or:
45
+
46
+ FR.random_string # FR is a convenience alias for FixtureReplacement
47
+
48
+ - Huge internal code cleanup
49
+
50
+ - Add FR as an alias for FixtureReplacement. This should make it considerably easier to
51
+ use FR in the console:
52
+
53
+ smt$ ./script/console
54
+ Loading development environment (Rails 2.2.2)
55
+ >> include FR
56
+ => Object
57
+ >> create_user
58
+ => #<User id: 14 ... >
59
+
60
+ - Use better loading. Allow FixtureReplacement to be reloaded if cache_classes = false
61
+ - Removed generator, since db/example_data.rb is no longer required.
62
+ - Removed required db/example_data.rb. fixture_replacement can now be used outside of a rails
63
+ project:
64
+
65
+ Add definitions in-line in your spec or test helper:
66
+
67
+ FixutreReplacement.attributes_for :users do |u|
68
+ ...
69
+ end
70
+
71
+ Or just open up the module directly:
72
+
73
+ module FixtureReplacement
74
+ attributes_for :users do |u|
75
+ ..
76
+ end
77
+ end
78
+
79
+ - Dual license the project. You now have your pick between the MIT and GPL licenses.
80
+
81
+ == 02/18/07
82
+ * Bug Fix, closes [#18042] example_data doesn't accept default_x for HABTM relationships
83
+ * Refactoring: Now classes are specified in FixtureReplacementController::ClassFactory
84
+
85
+ == 02/13/07
86
+ Better error support
87
+ Bug Fix: [#17249] String.random in a STI base class works, but doesn't work with inherited classes
88
+ Removed after_include hook
89
+
90
+ == 01/12/07
91
+ Adding this CHANGELOG
92
+ Added test/unit tests for integration with test/unit
93
+ Fixed [#16858] Unable to create relationships between fixtures
94
+
95
+ == Before 01/12/07: SVN LOG
96
+ ------------------------------------------------------------------------
97
+ r250 | smt | 2008-01-11 01:45:15 -0500 (Fri, 11 Jan 2008) | 1 line
98
+
99
+ some refactoring
100
+ ------------------------------------------------------------------------
101
+ r225 | smt | 2007-12-16 03:06:40 -0500 (Sun, 16 Dec 2007) | 1 line
102
+
103
+ badly needed refactoring
104
+ ------------------------------------------------------------------------
105
+ r219 | smt | 2007-12-06 17:09:34 -0500 (Thu, 06 Dec 2007) | 1 line
106
+
107
+ comments
108
+ ------------------------------------------------------------------------
109
+ r218 | smt | 2007-12-06 17:03:46 -0500 (Thu, 06 Dec 2007) | 1 line
110
+
111
+ spelling fix
112
+ ------------------------------------------------------------------------
113
+ r217 | smt | 2007-12-06 16:42:04 -0500 (Thu, 06 Dec 2007) | 1 line
114
+
115
+ changing instances of Object#send to Object#__send__
116
+ ------------------------------------------------------------------------
117
+ r216 | smt | 2007-12-06 15:48:58 -0500 (Thu, 06 Dec 2007) | 1 line
118
+
119
+ adding FixtureReplacement.after_include { }, so that any piece of code can be executed automatically after the module is included
120
+ ------------------------------------------------------------------------
121
+ r210 | smt | 2007-12-05 01:46:31 -0500 (Wed, 05 Dec 2007) | 1 line
122
+
123
+ correcting the rake file, regarding the specdoc filename
124
+ ------------------------------------------------------------------------
125
+ r209 | smt | 2007-12-05 01:45:04 -0500 (Wed, 05 Dec 2007) | 1 line
126
+
127
+ updating the README
128
+ ------------------------------------------------------------------------
129
+ r208 | smt | 2007-12-05 01:18:19 -0500 (Wed, 05 Dec 2007) | 1 line
130
+
131
+ better handeling of specs in the rake file
132
+ ------------------------------------------------------------------------
133
+ r201 | smt | 2007-12-04 11:37:29 -0500 (Tue, 04 Dec 2007) | 1 line
134
+
135
+ changing the generator
136
+ ------------------------------------------------------------------------
137
+ r200 | smt | 2007-12-02 20:37:40 -0500 (Sun, 02 Dec 2007) | 1 line
138
+
139
+ updating the generator
140
+ ------------------------------------------------------------------------
141
+ r199 | smt | 2007-12-02 20:34:16 -0500 (Sun, 02 Dec 2007) | 1 line
142
+
143
+ updating the docs, paritally
144
+ ------------------------------------------------------------------------
145
+ r197 | smt | 2007-12-02 19:31:55 -0500 (Sun, 02 Dec 2007) | 1 line
146
+
147
+ fixing a spec failure
148
+ ------------------------------------------------------------------------
149
+ r196 | smt | 2007-12-02 19:23:10 -0500 (Sun, 02 Dec 2007) | 1 line
150
+
151
+ some more refactoring
152
+ ------------------------------------------------------------------------
153
+ r195 | smt | 2007-12-02 19:15:54 -0500 (Sun, 02 Dec 2007) | 1 line
154
+
155
+ some refactoring
156
+ ------------------------------------------------------------------------
157
+ r194 | smt | 2007-12-02 17:32:23 -0500 (Sun, 02 Dec 2007) | 1 line
158
+
159
+ adding another spec to deal with inherited attributes, and load evaluation
160
+ ------------------------------------------------------------------------
161
+ r193 | smt | 2007-12-02 15:26:45 -0500 (Sun, 02 Dec 2007) | 1 line
162
+
163
+ removing some redundancies in the specs
164
+ ------------------------------------------------------------------------
165
+ r192 | smt | 2007-12-02 15:25:14 -0500 (Sun, 02 Dec 2007) | 1 line
166
+
167
+ adding some extra classes to the fixtures
168
+ ------------------------------------------------------------------------
169
+ r191 | smt | 2007-12-02 14:41:11 -0500 (Sun, 02 Dec 2007) | 1 line
170
+
171
+ spacing
172
+ ------------------------------------------------------------------------
173
+ r190 | smt | 2007-12-02 13:47:46 -0500 (Sun, 02 Dec 2007) | 1 line
174
+
175
+ adding some more tests
176
+ ------------------------------------------------------------------------
177
+ r189 | smt | 2007-12-02 02:38:47 -0500 (Sun, 02 Dec 2007) | 1 line
178
+
179
+ more bug fixing, dealing with delayed evaluation
180
+ ------------------------------------------------------------------------
181
+ r188 | smt | 2007-12-02 02:13:44 -0500 (Sun, 02 Dec 2007) | 1 line
182
+
183
+ delaying the evaluation of the block given to attributes_for for a longer period of time - the old way would evaluate too quickly, causing a bug
184
+ ------------------------------------------------------------------------
185
+ r187 | smt | 2007-12-02 01:19:35 -0500 (Sun, 02 Dec 2007) | 1 line
186
+
187
+ not yielding to the block with attributes_for, if no block is given
188
+ ------------------------------------------------------------------------
189
+ r186 | smt | 2007-12-02 00:59:07 -0500 (Sun, 02 Dec 2007) | 1 line
190
+
191
+ some refactoring
192
+ ------------------------------------------------------------------------
193
+ r185 | smt | 2007-12-02 00:56:44 -0500 (Sun, 02 Dec 2007) | 1 line
194
+
195
+ using FixtureReplacement as the module by default
196
+ ------------------------------------------------------------------------
197
+ r184 | smt | 2007-12-02 00:50:23 -0500 (Sun, 02 Dec 2007) | 1 line
198
+
199
+ grammar fix
200
+ ------------------------------------------------------------------------
201
+ r183 | smt | 2007-12-02 00:48:16 -0500 (Sun, 02 Dec 2007) | 1 line
202
+
203
+ consolidating the extensions into extensions - this time for OpenStruct
204
+ ------------------------------------------------------------------------
205
+ r182 | smt | 2007-12-02 00:45:37 -0500 (Sun, 02 Dec 2007) | 1 line
206
+
207
+ moving string into extensions/
208
+ ------------------------------------------------------------------------
209
+ r181 | smt | 2007-12-02 00:44:00 -0500 (Sun, 02 Dec 2007) | 1 line
210
+
211
+ oops...once again, a bad path to spec_helper
212
+ ------------------------------------------------------------------------
213
+ r180 | smt | 2007-12-02 00:43:02 -0500 (Sun, 02 Dec 2007) | 1 line
214
+
215
+ spec rename
216
+ ------------------------------------------------------------------------
217
+ r179 | smt | 2007-12-02 00:41:37 -0500 (Sun, 02 Dec 2007) | 1 line
218
+
219
+ better error handeling
220
+ ------------------------------------------------------------------------
221
+ r178 | smt | 2007-12-02 00:37:45 -0500 (Sun, 02 Dec 2007) | 1 line
222
+
223
+ consolidating specs
224
+ ------------------------------------------------------------------------
225
+ r177 | smt | 2007-12-02 00:34:51 -0500 (Sun, 02 Dec 2007) | 1 line
226
+
227
+ moving a spec
228
+ ------------------------------------------------------------------------
229
+ r176 | smt | 2007-12-02 00:33:29 -0500 (Sun, 02 Dec 2007) | 1 line
230
+
231
+ oops..fixing a path
232
+ ------------------------------------------------------------------------
233
+ r175 | smt | 2007-12-02 00:31:52 -0500 (Sun, 02 Dec 2007) | 1 line
234
+
235
+ updating some hashes which were using the wrong keys
236
+ ------------------------------------------------------------------------
237
+ r174 | smt | 2007-12-01 18:43:13 -0500 (Sat, 01 Dec 2007) | 1 line
238
+
239
+ better handeling of constants
240
+ ------------------------------------------------------------------------
241
+ r173 | smt | 2007-12-01 18:22:55 -0500 (Sat, 01 Dec 2007) | 1 line
242
+
243
+ cleaning up a spec
244
+ ------------------------------------------------------------------------
245
+ r172 | smt | 2007-12-01 18:17:59 -0500 (Sat, 01 Dec 2007) | 1 line
246
+
247
+ fixing default_* specs
248
+ ------------------------------------------------------------------------
249
+ r171 | smt | 2007-12-01 17:07:47 -0500 (Sat, 01 Dec 2007) | 1 line
250
+
251
+ removing extraneous class definition in a spec
252
+ ------------------------------------------------------------------------
253
+ r170 | smt | 2007-12-01 17:07:17 -0500 (Sat, 01 Dec 2007) | 1 line
254
+
255
+ spacing
256
+ ------------------------------------------------------------------------
257
+ r169 | smt | 2007-12-01 17:04:20 -0500 (Sat, 01 Dec 2007) | 1 line
258
+
259
+ some refactoring to the new and create methods
260
+ ------------------------------------------------------------------------
261
+ r168 | smt | 2007-12-01 16:57:54 -0500 (Sat, 01 Dec 2007) | 1 line
262
+
263
+ adding back support attr_protected attributes
264
+ ------------------------------------------------------------------------
265
+ r167 | smt | 2007-12-01 16:54:19 -0500 (Sat, 01 Dec 2007) | 1 line
266
+
267
+ fixing a failing spec
268
+ ------------------------------------------------------------------------
269
+ r166 | smt | 2007-12-01 16:05:52 -0500 (Sat, 01 Dec 2007) | 1 line
270
+
271
+ moving around a spec
272
+ ------------------------------------------------------------------------
273
+ r165 | smt | 2007-12-01 16:02:50 -0500 (Sat, 01 Dec 2007) | 1 line
274
+
275
+ adding an extra assertion
276
+ ------------------------------------------------------------------------
277
+ r164 | smt | 2007-12-01 16:00:12 -0500 (Sat, 01 Dec 2007) | 1 line
278
+
279
+ moving around some commented out specs
280
+ ------------------------------------------------------------------------
281
+ r163 | smt | 2007-12-01 15:55:51 -0500 (Sat, 01 Dec 2007) | 1 line
282
+
283
+ restructuring some specs
284
+ ------------------------------------------------------------------------
285
+ r162 | smt | 2007-12-01 15:51:12 -0500 (Sat, 01 Dec 2007) | 1 line
286
+
287
+ better requiring in spec_helper
288
+ ------------------------------------------------------------------------
289
+ r161 | smt | 2007-12-01 15:49:33 -0500 (Sat, 01 Dec 2007) | 1 line
290
+
291
+ splitting up a spec
292
+ ------------------------------------------------------------------------
293
+ r160 | smt | 2007-12-01 15:47:11 -0500 (Sat, 01 Dec 2007) | 1 line
294
+
295
+ moving around the fixture replacement main spec (for method generator)
296
+ ------------------------------------------------------------------------
297
+ r159 | smt | 2007-12-01 15:44:51 -0500 (Sat, 01 Dec 2007) | 1 line
298
+
299
+ cleaning up some specs
300
+ ------------------------------------------------------------------------
301
+ r158 | smt | 2007-12-01 15:39:22 -0500 (Sat, 01 Dec 2007) | 1 line
302
+
303
+ getting another set of specs to pass for MethodGenerator#generate_new_method
304
+ ------------------------------------------------------------------------
305
+ r157 | smt | 2007-12-01 15:15:57 -0500 (Sat, 01 Dec 2007) | 1 line
306
+
307
+ checking in generate_create_user
308
+ ------------------------------------------------------------------------
309
+ r156 | smt | 2007-12-01 14:30:51 -0500 (Sat, 01 Dec 2007) | 1 line
310
+
311
+ substituting FixtureReplacementController::MethodGenerator with MethodGenerator in specs
312
+ ------------------------------------------------------------------------
313
+ r155 | smt | 2007-12-01 14:30:07 -0500 (Sat, 01 Dec 2007) | 1 line
314
+
315
+ MethodGenerator#generate_default_methods
316
+ ------------------------------------------------------------------------
317
+ r154 | smt | 2007-12-01 04:43:34 -0500 (Sat, 01 Dec 2007) | 1 line
318
+
319
+ adding some more pieces to the puzzle, before I go to sleep
320
+ ------------------------------------------------------------------------
321
+ r153 | smt | 2007-12-01 03:15:56 -0500 (Sat, 01 Dec 2007) | 1 line
322
+
323
+ moving out the spec for attr_protected attributes (which is currently commented out)
324
+ ------------------------------------------------------------------------
325
+ r152 | smt | 2007-12-01 03:14:22 -0500 (Sat, 01 Dec 2007) | 1 line
326
+
327
+ abstracting fixtues out of specs
328
+ ------------------------------------------------------------------------
329
+ r151 | smt | 2007-12-01 03:05:37 -0500 (Sat, 01 Dec 2007) | 1 line
330
+
331
+ The beginning of the method generator
332
+ ------------------------------------------------------------------------
333
+ r150 | smt | 2007-12-01 02:45:26 -0500 (Sat, 01 Dec 2007) | 1 line
334
+
335
+ changing attributes to use two parameters
336
+ ------------------------------------------------------------------------
337
+ r149 | smt | 2007-12-01 02:18:48 -0500 (Sat, 01 Dec 2007) | 1 line
338
+
339
+ adding back specs for fixture replacement methods, but so far they are commented out
340
+ ------------------------------------------------------------------------
341
+ r148 | smt | 2007-12-01 01:36:59 -0500 (Sat, 01 Dec 2007) | 1 line
342
+
343
+ small change - a local variable instead of an instance variable
344
+ ------------------------------------------------------------------------
345
+ r147 | smt | 2007-12-01 01:21:39 -0500 (Sat, 01 Dec 2007) | 1 line
346
+
347
+ adding a spec for DelayedEvaluationProc
348
+ ------------------------------------------------------------------------
349
+ r146 | smt | 2007-12-01 01:19:52 -0500 (Sat, 01 Dec 2007) | 1 line
350
+
351
+ adding some comments
352
+ ------------------------------------------------------------------------
353
+ r145 | smt | 2007-12-01 01:17:57 -0500 (Sat, 01 Dec 2007) | 1 line
354
+
355
+ filling out FixtureReplacementController::Attributes
356
+ ------------------------------------------------------------------------
357
+ r144 | smt | 2007-11-30 02:35:05 -0500 (Fri, 30 Nov 2007) | 1 line
358
+
359
+ need to move to git, because my commits are no longer atomic
360
+ ------------------------------------------------------------------------
361
+ r143 | smt | 2007-11-30 02:13:18 -0500 (Fri, 30 Nov 2007) | 1 line
362
+
363
+ comming what I have so far...I'm tired
364
+ ------------------------------------------------------------------------
365
+ r142 | smt | 2007-11-29 20:00:05 -0500 (Thu, 29 Nov 2007) | 1 line
366
+
367
+ getting started with the API
368
+ ------------------------------------------------------------------------
369
+ r141 | smt | 2007-11-29 19:40:16 -0500 (Thu, 29 Nov 2007) | 1 line
370
+
371
+ removing the guts of fixture replacement for version2
372
+ ------------------------------------------------------------------------
373
+ r135 | smt | 2007-11-28 11:24:07 -0500 (Wed, 28 Nov 2007) | 1 line
374
+
375
+ copying fixture_replacement for FixtureReplacement2
376
+ ------------------------------------------------------------------------
377
+ r129 | smt | 2007-11-26 02:51:12 -0500 (Mon, 26 Nov 2007) | 1 line
378
+
379
+ more refactoring
380
+ ------------------------------------------------------------------------
381
+ r128 | smt | 2007-11-26 02:44:28 -0500 (Mon, 26 Nov 2007) | 1 line
382
+
383
+ more refactoring
384
+ ------------------------------------------------------------------------
385
+ r127 | smt | 2007-11-26 02:32:39 -0500 (Mon, 26 Nov 2007) | 1 line
386
+
387
+ adding some comments
388
+ ------------------------------------------------------------------------
389
+ r126 | smt | 2007-11-26 02:32:06 -0500 (Mon, 26 Nov 2007) | 1 line
390
+
391
+ some more refactoring
392
+ ------------------------------------------------------------------------
393
+ r125 | smt | 2007-11-26 02:25:56 -0500 (Mon, 26 Nov 2007) | 1 line
394
+
395
+ better naming: @method_base_name instead of @model_name
396
+ ------------------------------------------------------------------------
397
+ r124 | smt | 2007-11-26 02:07:49 -0500 (Mon, 26 Nov 2007) | 1 line
398
+
399
+ some refactoring
400
+ ------------------------------------------------------------------------
401
+ r123 | smt | 2007-11-25 23:26:00 -0500 (Sun, 25 Nov 2007) | 1 line
402
+
403
+ adding a task to upload the website
404
+ ------------------------------------------------------------------------
405
+ r122 | smt | 2007-11-25 22:47:48 -0500 (Sun, 25 Nov 2007) | 1 line
406
+
407
+ an extra spec for requiring. Now 100% code coverage
408
+ ------------------------------------------------------------------------
409
+ r121 | smt | 2007-11-25 22:39:46 -0500 (Sun, 25 Nov 2007) | 1 line
410
+
411
+ using the jay fields method for swapping out require - the usual way broke rcov
412
+ ------------------------------------------------------------------------
413
+ r120 | smt | 2007-11-25 22:30:09 -0500 (Sun, 25 Nov 2007) | 1 line
414
+
415
+ reorganizing specs
416
+ ------------------------------------------------------------------------
417
+ r119 | smt | 2007-11-25 22:26:38 -0500 (Sun, 25 Nov 2007) | 1 line
418
+
419
+ refactoring FixtureReplacement.rails_root
420
+ ------------------------------------------------------------------------
421
+ r118 | smt | 2007-11-25 22:25:15 -0500 (Sun, 25 Nov 2007) | 1 line
422
+
423
+ Ok: Now environments can really be specified
424
+ ------------------------------------------------------------------------
425
+ r117 | smt | 2007-11-25 22:07:28 -0500 (Sun, 25 Nov 2007) | 1 line
426
+
427
+ customizable db/example_data.rb file - it no longer needs to be in that path, or with that file name
428
+ ------------------------------------------------------------------------
429
+ r116 | smt | 2007-11-25 21:38:39 -0500 (Sun, 25 Nov 2007) | 1 line
430
+
431
+ spacing
432
+ ------------------------------------------------------------------------
433
+ r115 | smt | 2007-11-25 21:37:06 -0500 (Sun, 25 Nov 2007) | 1 line
434
+
435
+ better handeling of RAILS_ENV - now raises an error if the module is included in production
436
+ ------------------------------------------------------------------------
437
+ r114 | smt | 2007-11-25 20:59:09 -0500 (Sun, 25 Nov 2007) | 1 line
438
+
439
+ adding excluded environments accessor
440
+ ------------------------------------------------------------------------
441
+ r113 | smt | 2007-11-25 20:52:08 -0500 (Sun, 25 Nov 2007) | 1 line
442
+
443
+ using Module#included now, instead of generating the methods automatically
444
+ ------------------------------------------------------------------------
445
+ r112 | smt | 2007-11-25 20:22:33 -0500 (Sun, 25 Nov 2007) | 1 line
446
+
447
+ removing nonsense in the specs
448
+ ------------------------------------------------------------------------
449
+ r111 | smt | 2007-11-25 18:29:33 -0500 (Sun, 25 Nov 2007) | 1 line
450
+
451
+ refactoring to the internals of FixtureReplacement - method generation
452
+ ------------------------------------------------------------------------
453
+ r95 | smt | 2007-11-23 18:24:33 -0500 (Fri, 23 Nov 2007) | 1 line
454
+
455
+ adding google analytics tracking
456
+ ------------------------------------------------------------------------
457
+ r94 | smt | 2007-11-23 04:07:59 -0500 (Fri, 23 Nov 2007) | 1 line
458
+
459
+ adding a link to the rcov report
460
+ ------------------------------------------------------------------------
461
+ r93 | smt | 2007-11-23 04:05:44 -0500 (Fri, 23 Nov 2007) | 1 line
462
+
463
+ ignoring doc/
464
+ ------------------------------------------------------------------------
465
+ r92 | smt | 2007-11-23 04:05:01 -0500 (Fri, 23 Nov 2007) | 1 line
466
+
467
+ adding rcov report to document generation
468
+ ------------------------------------------------------------------------
469
+ r91 | smt | 2007-11-23 04:03:35 -0500 (Fri, 23 Nov 2007) | 1 line
470
+
471
+ adding rcov option specdoc
472
+ ------------------------------------------------------------------------
473
+ r90 | smt | 2007-11-20 12:23:06 -0500 (Tue, 20 Nov 2007) | 1 line
474
+
475
+ removing requires for config/environment.rb and config/boot.rb for the generator
476
+ ------------------------------------------------------------------------
477
+ r89 | smt | 2007-11-20 11:50:32 -0500 (Tue, 20 Nov 2007) | 1 line
478
+
479
+ moving bugs to bug_reports
480
+ ------------------------------------------------------------------------
481
+ r88 | smt | 2007-11-20 11:40:23 -0500 (Tue, 20 Nov 2007) | 1 line
482
+
483
+ moving spec/bugs to etc/bugs
484
+ ------------------------------------------------------------------------
485
+ r87 | smt | 2007-11-20 11:38:35 -0500 (Tue, 20 Nov 2007) | 1 line
486
+
487
+ moving patches into etc
488
+ ------------------------------------------------------------------------
489
+ r86 | smt | 2007-11-20 11:35:37 -0500 (Tue, 20 Nov 2007) | 1 line
490
+
491
+ adding etc dir
492
+ ------------------------------------------------------------------------
493
+ r85 | smt | 2007-11-20 11:34:40 -0500 (Tue, 20 Nov 2007) | 1 line
494
+
495
+ adding patches which I need to look at
496
+ ------------------------------------------------------------------------
497
+ r84 | smt | 2007-11-20 10:53:32 -0500 (Tue, 20 Nov 2007) | 1 line
498
+
499
+ updating TODO and README to point to the rubyforge pages
500
+ ------------------------------------------------------------------------
501
+ r83 | smt | 2007-11-15 16:42:22 -0500 (Thu, 15 Nov 2007) | 1 line
502
+
503
+ more TODO
504
+ ------------------------------------------------------------------------
505
+ r80 | smt | 2007-11-06 12:47:10 -0500 (Tue, 06 Nov 2007) | 1 line
506
+
507
+ updating the docs for test::unit
508
+ ------------------------------------------------------------------------
509
+ r79 | smt | 2007-11-06 00:26:52 -0500 (Tue, 06 Nov 2007) | 1 line
510
+
511
+ better documentation for inclusion with rspec
512
+ ------------------------------------------------------------------------
513
+ r75 | smt | 2007-10-27 15:38:10 -0400 (Sat, 27 Oct 2007) | 1 line
514
+
515
+ updating readme for Carl Porth and Wincent's contributions, as well as adding a large section for the motivation behind FixtureReplacement, along with it's disadvantages
516
+ ------------------------------------------------------------------------
517
+ r74 | smt | 2007-10-25 23:28:31 -0400 (Thu, 25 Oct 2007) | 1 line
518
+
519
+ changing the generator to use Rails' camelize instead of classify
520
+ ------------------------------------------------------------------------
521
+ r73 | smt | 2007-10-25 23:27:31 -0400 (Thu, 25 Oct 2007) | 1 line
522
+
523
+ changing around the documentation for wincent
524
+ ------------------------------------------------------------------------
525
+ r72 | smt | 2007-10-25 23:23:56 -0400 (Thu, 25 Oct 2007) | 1 line
526
+
527
+ adding patch from wincent to silence migrations
528
+ ------------------------------------------------------------------------
529
+ r71 | smt | 2007-10-25 23:12:07 -0400 (Thu, 25 Oct 2007) | 1 line
530
+
531
+ adding patch to change classify to camelize
532
+ ------------------------------------------------------------------------
533
+ r70 | smt | 2007-10-19 16:22:03 -0400 (Fri, 19 Oct 2007) | 1 line
534
+
535
+ adding unapplied patches from wincent
536
+ ------------------------------------------------------------------------
537
+ r65 | smt | 2007-10-18 12:36:43 -0400 (Thu, 18 Oct 2007) | 1 line
538
+
539
+ adding attr_protected notes to README
540
+ ------------------------------------------------------------------------
541
+ r64 | smt | 2007-10-18 12:29:29 -0400 (Thu, 18 Oct 2007) | 1 line
542
+
543
+ moving patches around to be named by date
544
+ ------------------------------------------------------------------------
545
+ r63 | smt | 2007-10-18 12:25:41 -0400 (Thu, 18 Oct 2007) | 1 line
546
+
547
+ more updating of docs
548
+ ------------------------------------------------------------------------
549
+ r62 | smt | 2007-10-18 12:02:59 -0400 (Thu, 18 Oct 2007) | 1 line
550
+
551
+ updating README
552
+ ------------------------------------------------------------------------
553
+ r61 | smt | 2007-10-18 12:01:39 -0400 (Thu, 18 Oct 2007) | 1 line
554
+
555
+ Adding wincent's README patch
556
+ ------------------------------------------------------------------------
557
+ r60 | smt | 2007-10-17 22:38:17 -0400 (Wed, 17 Oct 2007) | 1 line
558
+
559
+ removing element from TODO
560
+ ------------------------------------------------------------------------
561
+ r59 | smt | 2007-10-17 22:37:13 -0400 (Wed, 17 Oct 2007) | 1 line
562
+
563
+ getting specs to work from RAILS_ROOT
564
+ ------------------------------------------------------------------------
565
+ r58 | smt | 2007-10-17 22:34:38 -0400 (Wed, 17 Oct 2007) | 1 line
566
+
567
+ updating documentation to reflect last patch sent in by wincent
568
+ ------------------------------------------------------------------------
569
+ r57 | smt | 2007-10-17 22:30:23 -0400 (Wed, 17 Oct 2007) | 1 line
570
+
571
+ Applying a patch from wincent to deal with mass assignment with attr_protected fields
572
+ ------------------------------------------------------------------------
573
+ r56 | smt | 2007-10-17 22:13:47 -0400 (Wed, 17 Oct 2007) | 1 line
574
+
575
+ updating Docs
576
+ ------------------------------------------------------------------------
577
+ r53 | smt | 2007-10-17 19:52:11 -0400 (Wed, 17 Oct 2007) | 1 line
578
+
579
+ adding patch to apply
580
+ ------------------------------------------------------------------------
581
+ r46 | smt | 2007-10-16 20:34:45 -0400 (Tue, 16 Oct 2007) | 1 line
582
+
583
+ Adding link to wincent's site, for documentation
584
+ ------------------------------------------------------------------------
585
+ r35 | smt | 2007-10-15 20:20:36 -0400 (Mon, 15 Oct 2007) | 1 line
586
+
587
+ Huge patch from Wincent Colaiuta to overhall the specs to use sqlite3 in memory databases + real models (just a change to the specs)
588
+ ------------------------------------------------------------------------
589
+ r33 | smt | 2007-10-14 19:05:24 -0400 (Sun, 14 Oct 2007) | 1 line
590
+
591
+ Spelling Error Fix for comments, patch from Wincent Colaiuta
592
+ ------------------------------------------------------------------------
593
+ r32 | smt | 2007-10-14 19:00:49 -0400 (Sun, 14 Oct 2007) | 1 line
594
+
595
+ adding patches sent in by wincent
596
+ ------------------------------------------------------------------------
597
+ r31 | smt | 2007-10-03 00:50:27 -0400 (Wed, 03 Oct 2007) | 1 line
598
+
599
+ Another tiny change to README (fixing link to specdocs)
600
+ ------------------------------------------------------------------------
601
+ r30 | smt | 2007-10-03 00:46:35 -0400 (Wed, 03 Oct 2007) | 1 line
602
+
603
+ Adding specdocs to README
604
+ ------------------------------------------------------------------------
605
+ r29 | smt | 2007-10-03 00:42:06 -0400 (Wed, 03 Oct 2007) | 1 line
606
+
607
+ update rake, specdoc, to both use doc/ directory
608
+ ------------------------------------------------------------------------
609
+ r28 | smt | 2007-10-03 00:41:37 -0400 (Wed, 03 Oct 2007) | 1 line
610
+
611
+ Tiny change to README
612
+ ------------------------------------------------------------------------
613
+ r27 | smt | 2007-10-03 00:16:48 -0400 (Wed, 03 Oct 2007) | 1 line
614
+
615
+ adding rake tasks to build specdoc + all documentation + rake spec
616
+ ------------------------------------------------------------------------
617
+ r26 | smt | 2007-10-02 03:34:26 -0400 (Tue, 02 Oct 2007) | 1 line
618
+
619
+ small changes to docs
620
+ ------------------------------------------------------------------------
621
+ r25 | smt | 2007-09-30 15:51:52 -0400 (Sun, 30 Sep 2007) | 1 line
622
+
623
+ removing rspec banner from generator
624
+ ------------------------------------------------------------------------
625
+ r24 | smt | 2007-09-30 15:21:43 -0400 (Sun, 30 Sep 2007) | 1 line
626
+
627
+ more README
628
+ ------------------------------------------------------------------------
629
+ r23 | smt | 2007-09-30 15:20:57 -0400 (Sun, 30 Sep 2007) | 1 line
630
+
631
+ adding spec rake task and making the default task the spec task
632
+ ------------------------------------------------------------------------
633
+ r22 | smt | 2007-09-30 14:55:02 -0400 (Sun, 30 Sep 2007) | 1 line
634
+
635
+ todo update
636
+ ------------------------------------------------------------------------
637
+ r21 | smt | 2007-09-30 14:54:06 -0400 (Sun, 30 Sep 2007) | 1 line
638
+
639
+ removing tasks/ directory
640
+ ------------------------------------------------------------------------
641
+ r20 | smt | 2007-09-30 14:53:46 -0400 (Sun, 30 Sep 2007) | 1 line
642
+
643
+ more readme updates
644
+ ------------------------------------------------------------------------
645
+ r19 | smt | 2007-09-30 14:51:26 -0400 (Sun, 30 Sep 2007) | 1 line
646
+
647
+ updating README
648
+ ------------------------------------------------------------------------
649
+ r18 | smt | 2007-09-30 14:36:42 -0400 (Sun, 30 Sep 2007) | 1 line
650
+
651
+ moving specs into fixture_replacement directory
652
+ ------------------------------------------------------------------------
653
+ r17 | smt | 2007-09-30 14:35:18 -0400 (Sun, 30 Sep 2007) | 1 line
654
+
655
+ adding fixture_replacement directory in spec/
656
+ ------------------------------------------------------------------------
657
+ r16 | smt | 2007-09-30 14:34:04 -0400 (Sun, 30 Sep 2007) | 1 line
658
+
659
+ moving TODO into it's own file
660
+ ------------------------------------------------------------------------
661
+ r15 | smt | 2007-09-30 14:31:26 -0400 (Sun, 30 Sep 2007) | 1 line
662
+
663
+ removing TODO's that have been done
664
+ ------------------------------------------------------------------------
665
+ r14 | smt | 2007-09-30 14:30:31 -0400 (Sun, 30 Sep 2007) | 1 line
666
+
667
+ Adding the MIT license
668
+ ------------------------------------------------------------------------
669
+ r13 | smt | 2007-09-30 14:27:19 -0400 (Sun, 30 Sep 2007) | 1 line
670
+
671
+ updating readme
672
+ ------------------------------------------------------------------------
673
+ r12 | smt | 2007-09-30 14:24:29 -0400 (Sun, 30 Sep 2007) | 1 line
674
+
675
+ adding patches directory, with simon's patch
676
+ ------------------------------------------------------------------------
677
+ r11 | smt | 2007-09-30 13:44:10 -0400 (Sun, 30 Sep 2007) | 1 line
678
+
679
+ Allow default_* methods to take params, just as create_* and default_* do (Patch from Simon Peter Nicholls)
680
+ ------------------------------------------------------------------------
681
+ r10 | smt | 2007-09-30 12:53:14 -0400 (Sun, 30 Sep 2007) | 1 line
682
+
683
+ Readme update
684
+ ------------------------------------------------------------------------
685
+ r9 | smt | 2007-09-30 12:44:32 -0400 (Sun, 30 Sep 2007) | 1 line
686
+
687
+ Updating docs
688
+ ------------------------------------------------------------------------
689
+ r8 | smt | 2007-09-28 17:42:10 -0400 (Fri, 28 Sep 2007) | 1 line
690
+
691
+ Moving around the require lines so that the specs can be run
692
+ ------------------------------------------------------------------------
693
+ r7 | smt | 2007-09-28 17:39:00 -0400 (Fri, 28 Sep 2007) | 1 line
694
+
695
+ (hopeful) bugfix (without regression) for linoj's bug
696
+ ------------------------------------------------------------------------
697
+ r6 | smt | 2007-09-28 01:36:52 -0400 (Fri, 28 Sep 2007) | 1 line
698
+
699
+ Fixing tiny bug in generator of fixture replacement
700
+ ------------------------------------------------------------------------
701
+ r5 | smt | 2007-09-27 23:35:30 -0400 (Thu, 27 Sep 2007) | 1 line
702
+
703
+ removing trunk
704
+ ------------------------------------------------------------------------
705
+ r4 | smt | 2007-09-27 23:34:42 -0400 (Thu, 27 Sep 2007) | 1 line
706
+
707
+
708
+ ------------------------------------------------------------------------
709
+ r3 | smt | 2007-09-27 23:31:40 -0400 (Thu, 27 Sep 2007) | 1 line
710
+
711
+ removing branches and tags
712
+ ------------------------------------------------------------------------
713
+ r2 | smt | 2007-09-27 17:49:20 -0400 (Thu, 27 Sep 2007) | 1 line
714
+
715
+ tagging release 1.0
716
+ ------------------------------------------------------------------------
717
+ r1 | smt | 2007-09-27 17:46:58 -0400 (Thu, 27 Sep 2007) | 1 line
718
+
719
+ Initial import of plugins (and Fixture Replacement plugin, which came from the urbis repository at revision 1935)
720
+ ------------------------------------------------------------------------