annotate 2.6.3 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MjA3ODY1MmI2NTJiOGRjYzlhYmVmYzY5OTk1OTI2ZDBmNWI4OWVkOA==
5
- data.tar.gz: !binary |-
6
- NTkwZTZmN2NkOTlmYzYwYThkODRhNzU0ZjczYzI4MzcyOTYxNzUwYw==
2
+ SHA256:
3
+ metadata.gz: a49c914d3c2486e109b4a499b71fe905c8534e21b1d44cee15056a3066468e2e
4
+ data.tar.gz: 383445b9f5c13d02da7190a009ed974b5f88b41fe88f156814e743b4f7ec99d2
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MTRkNmFkYzVhZWM1NWZjOGE0Y2YwZDk4NzAzZWE0OWE2NGJhNzgyZWJhOWQ1
10
- MWYyZTgyNzMxMjJmYWExZDM5NjJkZmIxYTVlOWIzNzYzNzFjMmY1ZDhjMWVk
11
- YWEzYzQ3M2Q3MWI0ZTAyNDczMzhmYWFiMDc5MWY2NTY3NWY4ZjQ=
12
- data.tar.gz: !binary |-
13
- MDg5YTI3ZDY4MWMzYzRhYTg5MzE4YjNkM2E3Mjc4OGQxZTRiNTIxY2E2NTAy
14
- MWNiM2U4ZGRlODMwODljNjA3YTc1MWE4ODEyMDhlNzYyMzZmOWU5MjI4ZDQ4
15
- YzMyZWFiYTA1ZmU4MTNhYjg5MmJhMmU4NTIwZmZiMzE4YmM4MzQ=
6
+ metadata.gz: 70b926aba8e1ba91ccf506cfdabb94016efaaf788beaf6bdc0691fb6ad30edf57b794842f93f9860e1f82fa38c2934530e6fc0940f88ce4b47a909da8456ddd0
7
+ data.tar.gz: bf94c7d38b3a11ddc658947a7c1f2164854070a5707f56c148bcbdd5495b88c270ee0f0e587b07c0c421724b40059f110c808a8f3af90e68a86c5e249dfb1fa1
@@ -1,4 +1,4 @@
1
- == Authors
1
+ ## Authors
2
2
 
3
3
  - Original code by: Dave Thomas -- Pragmatic Programmers, LLC <http://agilewebdevelopment.com/plugins/annotate_models>
4
4
  - Overhauled by: Alex Chaffee <http://alexch.github.com> alex@stinky.com
@@ -6,7 +6,7 @@
6
6
  - Maintained by: Alex Chaffee and Cuong Tran
7
7
  - Homepage: http://github.com/ctran/annotate_models
8
8
 
9
- With help from:
9
+ ### With help from:
10
10
 
11
11
  - Jack Danger - http://github.com/JackDanger
12
12
  - Michael Bumann - http://github.com/bumi
@@ -29,5 +29,6 @@ With help from:
29
29
  - Paul Alexander
30
30
  - Dmitry Lihachev
31
31
  - qichunren
32
+ - Guillermo Guerrero - http://github.com/ryanfox1985
32
33
 
33
34
  and many others that I may have forgotten to add.
data/CHANGELOG.md ADDED
@@ -0,0 +1,326 @@
1
+ ## 3.1.1
2
+ Changes
3
+ - Bump required ruby version to >= 2.4 [#772](https://github.com/ctran/annotate_models/pull/772)
4
+ - [Revert #677] Fix column default annotations [#768](https://github.com/ctran/annotate_models/pull/768)
5
+
6
+ Project Improvements
7
+ - Refactor by adding AnnotateRoutes::Helpers [#770](https://github.com/ctran/annotate_models/pull/770)
8
+ - Bump puma from 4.3.1 to 4.3.3 in /spec/integration/rails_6.0.2.1 [#771](https://github.com/ctran/annotate_models/pull/771)
9
+ - Bump puma from 3.12.2 to 4.3.3 in /spec/integration/rails_5.2.4.1 [#769](https://github.com/ctran/annotate_models/pull/769)
10
+ - Bump nokogiri from 1.10.7 to 1.10.8 in /spec/integration/rails_5.2.4.1 [#766](https://github.com/ctran/annotate_models/pull/766)
11
+ - Bump nokogiri from 1.10.7 to 1.10.8 in /spec/integration/rails_6.0.2.1 [#765](https://github.com/ctran/annotate_models/pull/765)
12
+ - Refactor test cases of AnnotateRoutes [#760](https://github.com/ctran/annotate_models/pull/760)
13
+ - Rename FactoryGirl -> FactoryBot comment [#759](https://github.com/ctran/annotate_models/pull/759)
14
+
15
+ ## 3.1.0
16
+ Changes
17
+ - Fix new lines after comments for rubocop compatibility [#757](https://github.com/ctran/annotate_models/pull/757)
18
+ - Fix messages from AnnotateRoutes [#737](https://github.com/ctran/annotate_models/pull/737)
19
+ - Support YARD notation [#724](https://github.com/ctran/annotate_models/pull/724)
20
+ - Refactor AnnotateRoutes.routes_file_exist? [#716](https://github.com/ctran/annotate_models/pull/716)
21
+ - Refactor namespace Annotate [#719](https://github.com/ctran/annotate_models/pull/719)
22
+ - Add columns managed by Globalize gem [#602](https://github.com/ctran/annotate_models/pull/602)
23
+
24
+ Bug Fixes
25
+ - Fix additional_file_patterns parsing [#756](https://github.com/ctran/annotate_models/pull/756)
26
+ - Fix typo in README [#752](https://github.com/ctran/annotate_models/pull/752)
27
+ - Fix bin/annotate NoMethodError [#745](https://github.com/ctran/annotate_models/pull/745)
28
+ - Fix README for YARD format [#740](https://github.com/ctran/annotate_models/pull/740)
29
+ - Fix constant names that were not renamed in #721 [#739](https://github.com/ctran/annotate_models/pull/739)
30
+ - Replace soft-deprecated constant `HashWithIndifferentAccess` to `ActiveSupport::HashWithIndifferentAccess` [#699](https://github.com/ctran/annotate_models/pull/699)
31
+ - [Fix #570](https://github.com/ctran/annotate_models/issues/570) Change of foreign key should be considered as a column change
32
+ - [Fix #430](https://github.com/ctran/annotate_models/issues/430) Handle columns from activerecord-postgis-adapter [#694](https://github.com/ctran/annotate_models/pull/694)
33
+ - Add ActiveAdmin option to template [#693](https://github.com/ctran/annotate_models/pull/693)
34
+ - Fix foreign key issue with Rails 6 and Sqlite3 [#695](https://github.com/ctran/annotate_models/pull/695)
35
+ - Fix Serializers Test Directory [#625](https://github.com/ctran/annotate_models/pull/625)
36
+ - [Fix #624](https://github.com/ctran/annotate_models/issues/624) Correct default values for columns when ActiveRecord::Enum is used [#677](https://github.com/ctran/annotate_models/pull/677)
37
+ - [Fix #675](https://github.com/ctran/annotate_models/issues/675) Correct indentation for double-byte characters [#676](https://github.com/ctran/annotate_models/pull/676)
38
+ - FIX: Ensure only one line is around the annotation [#669](https://github.com/ctran/annotate_models/pull/669)
39
+ - Fix shifted when format_markdown option enabled and used non-ascii [#650](https://github.com/ctran/annotate_models/pull/650)
40
+
41
+ Project improvements
42
+ - Refactor RSpec for AnnotateModels - structuralize test cases [#755](https://github.com/ctran/annotate_models/pull/755)
43
+ - Refactor test cases of AnnotateRoutes as for Rake versions [#754](https://github.com/ctran/annotate_models/pull/754)
44
+ - Add integration tests to project [#747](https://github.com/ctran/annotate_models/pull/747)
45
+ - Refactor test cases for AnnotateRoutes.remove_annotations [#748](https://github.com/ctran/annotate_models/pull/748)
46
+ - Refactor RSpec for AnnotateModels - with Globalize gem [#749](https://github.com/ctran/annotate_models/pull/749)
47
+ - Fixed CHANGELOG.md to add link to each PR [#751](https://github.com/ctran/annotate_models/pull/751)
48
+ - Delete integration test fixtures [#746](https://github.com/ctran/annotate_models/pull/746)
49
+ - Remove remaining integration test files [#744](https://github.com/ctran/annotate_models/pull/744)
50
+ - Remove unworking integration tests [#725](https://github.com/ctran/annotate_models/pull/725)
51
+ - Refactor Annotate::Parser [#742](https://github.com/ctran/annotate_models/pull/742)
52
+ - Refactor RSpec for AnnotateModels (4) - AnnotateModels.get_schema_info (without custom options) [#735](https://github.com/ctran/annotate_models/pull/735)
53
+ - Refactor RSpec for AnnotateRoutes (1) [#736](https://github.com/ctran/annotate_models/pull/736)
54
+ - Refactor AnnotateRoutes.rewrite_contents [#734](https://github.com/ctran/annotate_models/pull/734)
55
+ - AnnotateModels.get_schema_info (with custom options) [#732](https://github.com/ctran/annotate_models/pull/732)
56
+ - Fix typo in RSpec of AnnotateModels [#731](https://github.com/ctran/annotate_models/pull/731)
57
+ - Remove AnnotateRoutes.rewrite_contents_with_header [#730](https://github.com/ctran/annotate_models/pull/730)
58
+ - Refactor AnnotateRoutes.annotate_routes and .rewrite_contents_with_header [#729](https://github.com/ctran/annotate_models/pull/729)
59
+ - Refactor AnnotateModels::Parser [#728](https://github.com/ctran/annotate_models/pull/728)
60
+ - Remove invalid document of AnnotateRoutes.rewrite_contents [#727](https://github.com/ctran/annotate_models/pull/727)
61
+ - Refactor RSpec for AnnotateModels (1) [#726](https://github.com/ctran/annotate_models/pull/726)
62
+ - Refactor AnnotateModels::Helpers [#723](https://github.com/ctran/annotate_models/pull/723)
63
+ - Refactor AnnotateRoutes.remove_annotations [#715](https://github.com/ctran/annotate_models/pull/715)
64
+ - Fix AnnotateRoutes.extract_magic_comments_from_array [#712](https://github.com/ctran/annotate_models/pull/712)
65
+ - Rename FactoryGirl to FactoryBot [#721](https://github.com/ctran/annotate_models/pull/721)
66
+ - Refactor AnnotateRoutes.header [#714](https://github.com/ctran/annotate_models/pull/714)
67
+ - Freeze constant AnnotateRoutes::HEADER_ROW [#713](https://github.com/ctran/annotate_models/pull/713)
68
+ - Add constants MAGIC_COMMENT_MATCHER [#711](https://github.com/ctran/annotate_models/pull/711)
69
+ - Rename method and variable of AnnotateRoutes for readability [#709](https://github.com/ctran/annotate_models/pull/709)
70
+ - Refactor lib/annotate.rb [#707](https://github.com/ctran/annotate_models/pull/707)
71
+ - Delete TODO.md [#700](https://github.com/ctran/annotate_models/pull/700)
72
+ - Tidy README [#701](https://github.com/ctran/annotate_models/pull/701)
73
+ - Convert documentation files to Markdown [#697](https://github.com/ctran/annotate_models/pull/697)
74
+ - Upgrade and fix CI [#698](https://github.com/ctran/annotate_models/pull/698)
75
+ - Add upgrade instructions to README [#687](https://github.com/ctran/annotate_models/pull/687)
76
+ - Fix Github release action [#682](https://github.com/ctran/annotate_models/pull/682)
77
+
78
+ ## 3.0.3
79
+ - Use a less error-prone way of specifying gem files [#662](https://github.com/ctran/annotate_models/pull/662)
80
+ - Update rake requirement from `>= 10.4, < 13.0` to `>= 10.4, < 14.0` [#659](https://github.com/ctran/annotate_models/pull/659)
81
+ - Bump nokogiri from 1.6.6.2 to 1.10.4 in /spec/integration/rails_4.2.0 [#655](https://github.com/ctran/annotate_models/pull/655)
82
+ - Default annotate models to true in config generated by `rails g annotate:install` [#671](https://github.com/ctran/annotate_models/pull/671)
83
+ - Bump loofah from 2.3.0 to 2.3.1 in /spec/integration/rails_4.2.0 [#681](https://github.com/ctran/annotate_models/pull/681)
84
+
85
+ ## 3.0.2
86
+ - Fixes `LoadError` due to gemspec not referencing `parser.rb`, issue [#657](https://github.com/ctran/annotate_models/issues/657) [#660](https://github.com/ctran/annotate_models/pull/660)
87
+ - Changes `--additional_file_patterns` to use dashes `--additional-file-patterns` for consistency [#649](https://github.com/ctran/annotate_models/pull/649)
88
+ - Refactor: moving constants into `constants.rb` [#653](https://github.com/ctran/annotate_models/pull/653)
89
+
90
+ ## 3.0.1
91
+ - Skipped as an official release, used the 3.0.1 patch for setting up Github Actions [#619](https://github.com/ctran/annotate_models/pull/619)
92
+
93
+ ## 3.0.0
94
+ - **Breaking:** when option `models` is not set - models will not be annotated by default.
95
+
96
+ Add `'models'=>'true'` to your config manually or use `--models` option if using CLI.
97
+
98
+ - Added `--models` CLI option fixing issue [#563](https://github.com/ctran/annotate_models/issues/563) [#647](https://github.com/ctran/annotate_models/pull/647)
99
+ - Added `--additional_file_patterns` option for additional file patterns [#633](https://github.com/ctran/annotate_models/pull/633) [#636](https://github.com/ctran/annotate_models/pull/636) [#637](https://github.com/ctran/annotate_models/pull/637)
100
+ - Refactored CLI parser [#646](https://github.com/ctran/annotate_models/pull/646)
101
+ - Fixed `BigDecimal.new` deprecation warning [#634](https://github.com/ctran/annotate_models/pull/634)
102
+ - Fixed annotations for columns with long data types [#622](https://github.com/ctran/annotate_models/pull/622)
103
+ - Made methods private in AnnotateRoutes [#598](https://github.com/ctran/annotate_models/pull/598)
104
+
105
+ See https://github.com/ctran/annotate_models/releases/tag/v3.0.0
106
+
107
+ ## 2.7.5
108
+ See https://github.com/ctran/annotate_models/releases/tag/v2.7.5
109
+
110
+ ## 2.7.3
111
+ See https://github.com/ctran/annotate_models/releases/tag/v2.7.3
112
+
113
+ ## 2.7.2
114
+ See https://github.com/ctran/annotate_models/releases/tag/v2.7.2
115
+
116
+ ## 2.7.1
117
+ See https://github.com/ctran/annotate_models/releases/tag/v2.7.1
118
+
119
+ ## 2.7.0
120
+ See https://github.com/ctran/annotate_models/releases/tag/v2.7.0
121
+
122
+ ## 2.6.9
123
+ - Support foreigh key [#241](https://github.com/ctran/annotate_models/pull/241)
124
+ - Check if model has skip tag in annotate_model_file [#167](https://github.com/ctran/annotate_models/pull/167)
125
+ - Fix issue where serializer-related flags weren't being honored [#246](https://github.com/ctran/annotate_models/issues/246)
126
+ - Prefer SQL column type over normalized AR type [#231](https://github.com/ctran/annotate_models/issues/231)
127
+
128
+ ## 2.6.8
129
+ - Nothing annotated unless `options[:model_dir]` is specified, [#234](https://github.com/ctran/annotate_models/pull/234)
130
+
131
+ ## 2.6.7
132
+ - Nothing annotated unless `options[:model_dir]` is specified, [#234](https://github.com/ctran/annotate_models/pull/234)
133
+
134
+ ## 2.6.6
135
+ - Makes it possible to wrap annotations, [#225](https://github.com/ctran/annotate_models/pull/225)
136
+ - Fix single model generation, [#214](https://github.com/ctran/annotate_models/pull/214)
137
+ - Fix default value for Rails 4.2, [#212](https://github.com/ctran/annotate_models/issues/212)
138
+ - Don't crash on inherited models in subdirectories, [#232](https://github.com/ctran/annotate_models/issues/232)
139
+ - Process model_dir in rake task, [#197](https://github.com/ctran/annotate_models/pull/197)
140
+
141
+ ## 2.6.4
142
+ - Skip "models/concerns", [#194](https://github.com/ctran/annotate_models/pull/194)
143
+ - Fix [#173](https://github.com/ctran/annotate_models/issues/173) where annotate says "Nothing to annotate" in rails 4.2
144
+ - Display an error message if not run from the root of the project, [#186](https://github.com/ctran/annotate_models/pull/186)
145
+ - Support rails 4.0 new default test directory, [#182](https://github.com/ctran/annotate_models/issues/182)
146
+ - Add an option to show timestamp in routes "-timestamp", [#136](https://github.com/ctran/annotate_models/issues/136)
147
+ - Skip plain ruby objects if they have the same class name as an ActiveRecord object, [#121](https://github.com/ctran/annotate_models/issues/121)
148
+
149
+ ## 2.6.3
150
+ - Fix bug of annotate position in routes [#158](https://github.com/ctran/annotate_models/issues/158)
151
+
152
+ ## 2.6.2
153
+ - Retain the current annotate block unless --force is specified
154
+ - Always load models, since they may not be autoloaded by Rails
155
+ - The pg array type is now detected (see [#158](https://github.com/ctran/annotate_models/pull/158))
156
+
157
+ ## 2.6.0.beta2
158
+ - support for composite_primary_keys (garysweaver)
159
+ - bug fix for annotate_one_file (vlado)
160
+
161
+
162
+ ## 2.6.0.beta1
163
+
164
+ - It's now possible to use Annotate in standalone ActiveRecord (non-Rails) projects again.
165
+ - Adding note that Markdown is actually MultiMarkdown, and recommending the use
166
+ of the `kramdown` engine for parsing it.
167
+ - Improved Markdown formatting considerably.
168
+ - Bugfix: Needed to use inline-code tag for column and table names,
169
+ otherwise underscores would cause havok with the formatting.
170
+ - Bugfix: Markdown syntax was incorrect
171
+ (can't have trailing spaces before the closing marker for an emphasis tag).
172
+ - Bugfix: Remove-annotations wasn't properly finding test/spec files,
173
+ and wasn't even looking for FactoryGirl factories under the new naming convention.
174
+ - Bugfix: Load the Rakefile from the current directory, not the first
175
+ Rakefile in our load path.
176
+ - Added support for new FactoryGirl naming convention.
177
+ - Fix behavior of route annotations in newer versions of Rake that don't
178
+ spit out the CWD as their first line of output.
179
+ - Overhauled integration testing system to be much easier to work with,
180
+ better compartmentalized, and so forth -- at the cost that you must be
181
+ using RVM to utilize it. (It'll spit out appropriate pending messages if
182
+ you don't.) Also includes a mode for "tinkering" by hand with a scenario,
183
+ and won't let you run it through rspect if the repo is in a dirty state.
184
+ Added appropriate rake tasks to help with all of this.
185
+ - Routes can now be appended, pre-pended, or removed -- and do sane things in all cases.
186
+ - Expose all `position_*` variables as CLI params.
187
+ - Make `ENV ['position']` work as a default for all the `ENV ['position_*']` variables.
188
+ - Make rake tasks more resilient to unusual circumstances / code loading behavior.
189
+ - Resolve annotate vs. annotate_models ambiguity once and for all by
190
+ settling on `annotate_models` *and* `annotate_routes`. This avoids a name
191
+ collision with RMagick while not needlessly overloading the term.
192
+ - Fixed that schema kept prepending additional newlines
193
+ - Updates to make annotate smarter about when to touch a model
194
+ - Recognize column+type, and don't change a file unless the column+type
195
+ combination of the new schema are different than that of the old (i.e.,
196
+ don't regenerate if columns happen to be in a different order. That's just
197
+ how life is sometimes)
198
+ - Change annotate to use options hash instead of ENV.
199
+
200
+
201
+ ## 2.5.0
202
+
203
+ - Works better with Rails 3
204
+ - Bugfix: schema kept prepending additional newlines
205
+ - Updates to make annotate smarter about when to touch a model
206
+ - Recognize column+type, and don't change a file unless the column+type
207
+ combination of the new schema are different than that of the old (i.e.,
208
+ don't regenerate if columns happen to be in a different order. That's just
209
+ how life is sometimes.)
210
+ - Grab old specification even if it has `\r\n` as line endings rather than pure `\n`s
211
+ - Various warning and specification fixes
212
+ - Fix "no such file to load -- annotate/annotate_models (MissingSourceFile)"
213
+ error (require statements in tasks now use full path to lib files)
214
+ - warn about macros, to mitigate when we're included during a production
215
+ run, not just a rakefile run -- possibly at the expense of too much noise
216
+ - Adding rake as a runtime dependency
217
+ - If the schema is already in the model file, it will be replaced into the same location.
218
+ If it didn't previously exist, it'll be placed according to the "position", as before.
219
+ - Allow task loading from Rakefile for gems (plugin installation already auto-detects).
220
+ - Add skip_on_db_migrate option as well for people that don't want it
221
+ - Fix options parsing to convert strings to proper booleans
222
+ - Add support for Fabrication fabricators
223
+ - Leave magic encoding comment intact
224
+ - Fix issue #14 - RuntimeError: Already memoized
225
+ - Count a model as 'annotated' if any of its tests/fixtures are annotated
226
+ - Support FactoryGirl
227
+ - Support :change migrations (Rails 3.1)
228
+ - Allow models with non-standard capitalization
229
+ - Widen type column so we can handle longtexts with chopping things off.
230
+ - Skip trying to get list of models from commandline when running via Rake
231
+ (was preventing the use of multiple rake tasks in one command if one of them was `db:migrate`).
232
+ - Add ability to skip annotations for a model by adding
233
+ `# -*- SkipSchemaAnnotations` anywhere in the file.
234
+ - Don't show column limits for integer and boolean types.
235
+ - Add sorting for columns and indexes.
236
+ (Helpful for out-of-order migration execution. Use `--sort` if you want this.)
237
+ - Annotate unit tests in subfolders.
238
+ - Add generator to install rakefile that automatically annotates on `db:migrate`.
239
+ - Correct Gemfile to clarify which environments need which gems.
240
+ - Add an .rvmrc to facilitate clean development.
241
+ - Refactor out ActiveRecord monkey-patch to permit extending without side-effects.
242
+ - Use ObjectSpace to locate models to facilitate handling of models with
243
+ non-standard capitalization.
244
+ Note that this still requires that the inflector be configured to understand
245
+ the special case.
246
+ - Shore up test cases a bit.
247
+ - Merge against many of the older branches on Github whose functionality is
248
+ already reflected to reduce confusion about what is and is not implemented here.
249
+ - Accept String or Symbol for :position (et al) options.
250
+ - Add RDoc output formatting as an option.
251
+ - Add Markdown output formatting as an option.
252
+ - Add option to force annotation regeneration.
253
+ - Add new configuration option for controlling where info is placed in
254
+ fixtures/factories.
255
+ - Fix for models without tables.
256
+ - Fix gemspec generation now that Jeweler looks at Gemfile.
257
+ - Fix warning: `NOTE: Gem::Specification#default_executable= is deprecated
258
+ with no replacement. It will be removed on or after 2011-10-01.`
259
+ - Fix handling of files with no trailing newline when putting annotations at
260
+ the end of the file.
261
+ - Now works on tables with no primary key.
262
+ - `--format=markdown` option
263
+ - `--trace` option to help debug "Unable to annotate" errors
264
+ - "Table name" annotation (if table name is different from model name)
265
+ - "Human name" annotation (enabling translation to non-English locales)
266
+ - Fix JRuby ObjectSpace compatibility bug (https://github.com/ctran/annotate_models/pull/85)
267
+ - Fix FactoryGirl compatibility bug (https://github.com/ctran/annotate_models/pull/82)
268
+
269
+
270
+ ## 2.4.2 2009-11-21
271
+ - Annotates `(spec|test)/factories/<model>_factory.rb` files
272
+
273
+ ## 2.4.1 2009-11-20
274
+
275
+ - Annotates thoughtbot's factory_girl factories (`test/factories/<model>_factory.rb`)
276
+ - Move default annotation position back to top
277
+
278
+
279
+ ## 2.4.0 2009-12-13
280
+ - Incorporated lots of patches from the Github community,
281
+ including support for Blueprints fixtures
282
+ - Several bug fixes
283
+
284
+ ## 2.1 2009-10-18
285
+
286
+ - New options
287
+ - `-R` to require additional files before loading the models
288
+ - `-i` to show database indexes in annotations
289
+ - `-e` to exclude annotating tests or fixtures
290
+ - `-m` to include the migration version number in the annotation
291
+ - `--model-dir` to annotate model files stored a different place than `app/models`
292
+
293
+ - Ignore unknown macros ('acts_as_whatever')
294
+
295
+
296
+ ## 2.0 2009-02-03
297
+
298
+ - Add annotate_models plugin fork additions
299
+ - Annotates Rspec and Test Unit models
300
+ - Annotates Object Daddy exemplars
301
+ - Annotates geometrical columns
302
+
303
+ - Add AnnotateRoutes rake task
304
+ - Up gem structure to newgem defaults
305
+
306
+
307
+ ## 1.0.4 2008-09-04
308
+
309
+ - Only update modified models since last run, thanks to sant0sk1
310
+
311
+ ## 1.0.3 2008-05-02
312
+
313
+ - Add misc changes from Dustin Sallings and Henrik N
314
+ - Remove trailing whitespace
315
+ - More intuitive info messages
316
+ - Update README file with update-to-date example
317
+
318
+ ## 1.0.2 2008-03-22
319
+
320
+ - Add contributions from Michael Bumann (http://github.com/bumi)
321
+ - added an option "position" to choose to put the annotation,
322
+ - spec/fixtures now also get annotated
323
+ - added a task to remove the annotations
324
+ - these options can be specified from command line as `-d` and `-p [before|after]`
325
+
326
+