Skip to content

Commit c52cefe

Browse files
committed
update history with recent patches
1 parent e26663b commit c52cefe

File tree

2 files changed

+20
-7
lines changed

2 files changed

+20
-7
lines changed

History.txt

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,26 @@
1-
==
1+
== 2.5.0
22

3-
* Fixed that schema kept prepending additional newlines <https://github.com/ctran/annotate_models/pull/32>
4-
* Updates to make annotate smarter about when to touch a model <https://github.com/ctran/annotate_models/pull/31>
3+
* Fixed that schema kept prepending additional newlines
4+
* Updates to make annotate smarter about when to touch a model
55
* 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)
66
* Grab old specification even if it has \r\n as line endings rather than pure \ns
77
* Various warning and specification fixes
8-
* Fix "no such file to load -- annotate/annotate_models (MissingSourceFile)" error <https://github.com/ctran/annotate_models/pull/21> (require statements in tasks now use full path to lib files)
9-
* warn about macros, to mitigate when we're included during a production run, not just a rakefile run -- possibly at the expense of too much noise <https://github.com/ctran/annotate_models/pull/36>
8+
* Fix "no such file to load -- annotate/annotate_models (MissingSourceFile)" error (require statements in tasks now use full path to lib files)
9+
* warn about macros, to mitigate when we're included during a production run, not just a rakefile run -- possibly at the expense of too much noise
1010
* Adding rake as a runtime dependency
11-
* If the schema is already in the model file, it will be replaced into the same location. If it didn't previously exist, it'll be placed according to the "position", as before. <https://github.com/ctran/annotate_models/pull/26>
11+
* If the schema is already in the model file, it will be replaced into the same location. If it didn't previously exist, it'll be placed according to the "position", as before.
12+
* Allow task loading from Rakefile for gems (plugin installation already auto-detects).
13+
* Add skip_on_db_migrate option as well for people that don't want it
14+
* Fix options parsing to convert strings to proper booleans. Change annotate to use opt
15+
ions hash instead of ENV.
16+
* Add support for Fabrication fabricators
17+
* Leave magic encoding comment intact
18+
* Fix issue #14 - RuntimeError: Already memoized
19+
* Count a model as 'annotated' if any of its tests/fixtures are annotated
20+
* Support FactoryGirl
21+
* Support :change migrations (Rails 3.1)
22+
* Allow models with non-standard capitalization
23+
1224

1325
== 2.4.0 2009-12-13
1426

todo.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ TODO (proposed)
1414
1515
1616
Jack Danger Canty
17-
Marcos Piccinini
1817
peterpunk
18+
Ian Duggan
19+
Bill Harding
1920

2021
* push two identical gems, named 'annotate' and 'annotate_models'
2122
* supply two binaries, named 'annotate' and 'annotate_models', since there's already a unix tool named 'annotate'

0 commit comments

Comments
 (0)