|
3 | 3 | * Works better with Rails 3
|
4 | 4 | * Bugfix: schema kept prepending additional newlines
|
5 | 5 | * Updates to make annotate smarter about when to touch a model
|
6 |
| -* Recognize column+type, and don't change a file unless the column+type combination of the new schema are different than that of the old (i.e., don't regenerate if columns happen to be in a different order. That's just how life is sometimes) |
| 6 | +* Recognize column+type, and don't change a file unless the column+type combination of the new schema are different than that of the old (i.e., don't regenerate if columns happen to be in a different order. That's just how life is sometimes.) |
7 | 7 | * Grab old specification even if it has \r\n as line endings rather than pure \ns
|
8 | 8 | * Various warning and specification fixes
|
9 | 9 | * Fix "no such file to load -- annotate/annotate_models (MissingSourceFile)" error (require statements in tasks now use full path to lib files)
|
|
17 | 17 | * Leave magic encoding comment intact
|
18 | 18 | * Fix issue #14 - RuntimeError: Already memoized
|
19 | 19 | * Count a model as 'annotated' if any of its tests/fixtures are annotated
|
20 |
| -* Support FactoryGirl |
21 | 20 | * Support :change migrations (Rails 3.1)
|
22 | 21 | * Allow models with non-standard capitalization
|
23 | 22 | * Widen type column so we can handle longtexts with chopping things off.
|
|
39 | 38 | non-standard capitalization.
|
40 | 39 | Note that this still requires that the inflector be configured to understand
|
41 | 40 | the special case.
|
42 |
| -* Shore up test cases a bit. |
43 | 41 | * Merge against many of the older branches on Github whose functionality is
|
44 | 42 | already reflected to reduce confusion about what is and is not implemented
|
45 | 43 | here.
|
46 | 44 | * Accept String or Symbol for :position (et al) options.
|
47 |
| -* Rename "annotate" bin to "annotate_models" to avoid conflicting with |
48 |
| - ImageMagick. |
49 | 45 | * Add RDoc output formatting as an option.
|
50 | 46 | * Add Markdown output formatting as an option.
|
51 | 47 | * Add option to force annotation regeneration.
|
|
58 | 54 | * Fix handling of files with no trailing newline when putting annotations at
|
59 | 55 | the end of the file.
|
60 | 56 | * Now works on tables with no primary key.
|
61 |
| -* Add --format=markdown option |
| 57 | +* --format=markdown option |
| 58 | +* --trace option to help debug "Unable to annotate" errors |
62 | 59 | * "Table name" annotation (if table name is different from model name)
|
63 | 60 | * "Human name" annotation (enabling translation to non-English locales)
|
64 |
| -* --trace option to help debug "Unable to annotate" errors |
| 61 | +* Fix JRuby ObjectSpace compatibility bug (https://github.com/ctran/annotate_models/pull/85) |
| 62 | +* Fix FactoryGirl compatibility bug (https://github.com/ctran/annotate_models/pull/82) |
65 | 63 |
|
66 | 64 | == 2.4.2 2009-11-21
|
67 | 65 |
|
|
0 commit comments