Recent Releases of https://github.com/ctran/annotate_models
https://github.com/ctran/annotate_models - v3.2.0
What's Changed
- Fix undefined method error when spatial column does not have
srid(#920) @oieioi - Fix: use klass.table_name instead of guessing from associated models (#847) @ocarta-l
- Bump nokogiri from 1.11.2 to 1.11.7 in /spec/integration/rails_6.0.2.1 (#886) @dependabot
- Bump puma from 4.3.7 to 5.3.2 in /spec/integration/rails_5.2.4.1 (#887) @dependabot
get_loaded_model_by_pathis supposed to be nil-safe (#883) @sato11- Fix CI builds and update dependencies (#884) @ctran
- Fix ci: conflicts with removed gems (#865) @ocarta-l
- Allow
get_loaded_modelto succeed when$LOAD_PATHcontains non-string values (#848) @Hamms - Bump rack from 2.1.2 to 2.2.3 in /spec/integration/rails_5.2.4.1 (#820) @dependabot
- Bump rack from 2.1.2 to 2.2.3 in /spec/integration/rails_6.0.2.1 (#819) @dependabot
- Bump websocket-extensions from 0.1.4 to 0.1.5 in /spec/integration/rails_6.0.2.1 (#813) @dependabot
- Bump websocket-extensions from 0.1.4 to 0.1.5 in /spec/integration/rails_5.2.4.1 (#812) @dependabot
- Bump puma from 4.3.3 to 4.3.5 in /spec/integration/rails_5.2.4.1 (#809) @dependabot
- Bump puma from 4.3.3 to 4.3.5 in /spec/integration/rails_6.0.2.1 (#808) @dependabot
- Use ruby/setup-ruby since actions/ruby is deprecated (#855) @ctran
- Fix typo invlaid -> invalid (#835) @olleolleolle
- Enable bundler caching for travis (#853) @Taher-Ghaleb
- Automate release notes with release-drafter.yml (#846) @ctran
- Fix: RuntimeError: Don't know how to build task 'db:migrate' (#844) @onk
- Only return valid models from get_loaded_model_by_path (#801) @macobo
- load :set_annotation_options before running :annotate_routes (#803) @javawizard
- Add annotation hooks for db-specific migration tasks (#686) @paul-mannino
- ActiveAdmin: Allow for both singular and plural model names (#776) @vfonic
- Adding option to skip loading models from subdirectories (#767) @ethanbresler
- gemspec: Add metadata URIs (#798) @olleolleolle
- Move some code to AnnotateModels::FilePatterns (#794) @nard-tech
- Fix typos (#795) @henrik
- Add methods to AnnotateRoutes::HeaderGenerator and refactor methods (#792) @nard-tech
- Fix output for multiline column comments (#779) @tmr08c
- Reactors AnnotateModels.get_schema_info (#791) @tmr08c
- Refactor AnnotateRoutes by adding AnnotateRoutes::HeaderGenerator (#790) @nard-tech
- Fix "undefined method `<'" error message (#774) @erikkessler1
- Turn on integration tests in CI (#788) @drwl
- Add integration test for
rails g annotate:install(#783) @drwl - Some project clean up (#786) @drwl
What's Changed
- Factory Girl -> Factory Bot by @henrik in https://github.com/ctran/annotate_models/pull/759
- Refactor test cases of AnnotateRoutes - completed version by @nard-tech in https://github.com/ctran/annotate_models/pull/760
- Bump nokogiri from 1.10.7 to 1.10.8 in /spec/integration/rails_6.0.2.1 by @dependabot in https://github.com/ctran/annotate_models/pull/765
- Bump nokogiri from 1.10.7 to 1.10.8 in /spec/integration/rails_5.2.4.1 by @dependabot in https://github.com/ctran/annotate_models/pull/766
- Bump puma from 3.12.2 to 4.3.3 in /spec/integration/rails_5.2.4.1 by @dependabot in https://github.com/ctran/annotate_models/pull/769
- Bump puma from 4.3.1 to 4.3.3 in /spec/integration/rails_6.0.2.1 by @dependabot in https://github.com/ctran/annotate_models/pull/771
- [Revert #677] Fix column default annotations by @drwl in https://github.com/ctran/annotate_models/pull/768
- Bump project required ruby version to >= 2.4 by @drwl in https://github.com/ctran/annotate_models/pull/772
- Refactor by adding AnnotateRoutes::Helpers by @nard-tech in https://github.com/ctran/annotate_models/pull/770
- Make travis.yml valid and to unblock gem releases by @drwl in https://github.com/ctran/annotate_models/pull/782
- Some project clean up by @drwl in https://github.com/ctran/annotate_models/pull/786
- Add integration test for
rails g annotate:installby @drwl in https://github.com/ctran/annotate_models/pull/783 - Turn on integration tests in CI by @drwl in https://github.com/ctran/annotate_models/pull/788
- Fix "undefined method `<'" error message by @erikkessler1 in https://github.com/ctran/annotate_models/pull/774
- Refactor AnnotateRoutes by adding AnnotateRoutes::HeaderGenerator by @nard-tech in https://github.com/ctran/annotate_models/pull/790
- Reactors AnnotateModels.get_schema_info by @tmr08c in https://github.com/ctran/annotate_models/pull/791
- Fix output for multiline column comments by @tmr08c in https://github.com/ctran/annotate_models/pull/779
- Add methods to AnnotateRoutes::HeaderGenerator and refactor methods by @nard-tech in https://github.com/ctran/annotate_models/pull/792
- Fix typos by @henrik in https://github.com/ctran/annotate_models/pull/795
- Move some code to AnnotateModels::FilePatterns by @nard-tech in https://github.com/ctran/annotate_models/pull/794
- gemspec: Add metadata URIs by @olleolleolle in https://github.com/ctran/annotate_models/pull/798
- Adding option to skip loading models from subdirectories by @ethanbresler in https://github.com/ctran/annotate_models/pull/767
- ActiveAdmin: Allow for both singular and plural model names by @vfonic in https://github.com/ctran/annotate_models/pull/776
- Add annotation hooks for db-specific migration tasks by @paul-mannino in https://github.com/ctran/annotate_models/pull/686
- load :set_annotation_options before running :annotate_routes by @javawizard in https://github.com/ctran/annotate_models/pull/803
- Only return valid models from get_loaded_model_by_path by @macobo in https://github.com/ctran/annotate_models/pull/801
- Fix: RuntimeError: Don't know how to build task 'db:migrate' by @onk in https://github.com/ctran/annotate_models/pull/844
- Automate release notes with release-drafter.yml by @ctran in https://github.com/ctran/annotate_models/pull/846
- Enable bundler caching for travis by @Taher-Ghaleb in https://github.com/ctran/annotate_models/pull/853
- Fix typo invlaid -> invalid by @olleolleolle in https://github.com/ctran/annotate_models/pull/835
- Use ruby/setup-ruby since actions/ruby is deprecated by @ctran in https://github.com/ctran/annotate_models/pull/855
- Bump puma from 4.3.3 to 4.3.5 in /spec/integration/rails_6.0.2.1 by @dependabot in https://github.com/ctran/annotate_models/pull/808
- Bump puma from 4.3.3 to 4.3.5 in /spec/integration/rails_5.2.4.1 by @dependabot in https://github.com/ctran/annotate_models/pull/809
- Bump websocket-extensions from 0.1.4 to 0.1.5 in /spec/integration/rails_5.2.4.1 by @dependabot in https://github.com/ctran/annotate_models/pull/812
- Bump websocket-extensions from 0.1.4 to 0.1.5 in /spec/integration/rails_6.0.2.1 by @dependabot in https://github.com/ctran/annotate_models/pull/813
- Bump rack from 2.1.2 to 2.2.3 in /spec/integration/rails_6.0.2.1 by @dependabot in https://github.com/ctran/annotate_models/pull/819
- Bump rack from 2.1.2 to 2.2.3 in /spec/integration/rails_5.2.4.1 by @dependabot in https://github.com/ctran/annotate_models/pull/820
- Allow
get_loaded_modelto succeed when$LOAD_PATHcontains non-string values by @Hamms in https://github.com/ctran/annotate_models/pull/848 - Fix ci: conflicts with removed gems by @ocarta-l in https://github.com/ctran/annotate_models/pull/865
- Fix CI builds and update dependencies by @ctran in https://github.com/ctran/annotate_models/pull/884
get_loaded_model_by_pathis supposed to be nil-safe by @sato11 in https://github.com/ctran/annotate_models/pull/883- Bump puma from 4.3.7 to 5.3.2 in /spec/integration/rails_5.2.4.1 by @dependabot in https://github.com/ctran/annotate_models/pull/887
- Bump nokogiri from 1.11.2 to 1.11.7 in /spec/integration/rails_6.0.2.1 by @dependabot in https://github.com/ctran/annotate_models/pull/886
- Fix: use klass.table_name instead of guessing from associated models by @ocarta-l in https://github.com/ctran/annotate_models/pull/847
- Fix undefined method error when spatial column does not have
sridby @oieioi in https://github.com/ctran/annotate_models/pull/920 - Loosen activerecord restriction to work with rails 7 by @dabit in https://github.com/ctran/annotate_models/pull/912
- Bump puma from 5.3.2 to 5.6.1 in /spec/integration/rails_5.2.4.1 by @dependabot in https://github.com/ctran/annotate_models/pull/925
- Bump addressable from 2.7.0 to 2.8.0 in /spec/integration/rails_6.0.2.1 by @dependabot in https://github.com/ctran/annotate_models/pull/889
New Contributors
- @henrik made their first contribution in https://github.com/ctran/annotate_models/pull/759
- @erikkessler1 made their first contribution in https://github.com/ctran/annotate_models/pull/774
- @tmr08c made their first contribution in https://github.com/ctran/annotate_models/pull/791
- @ethanbresler made their first contribution in https://github.com/ctran/annotate_models/pull/767
- @vfonic made their first contribution in https://github.com/ctran/annotate_models/pull/776
- @paul-mannino made their first contribution in https://github.com/ctran/annotate_models/pull/686
- @javawizard made their first contribution in https://github.com/ctran/annotate_models/pull/803
- @macobo made their first contribution in https://github.com/ctran/annotate_models/pull/801
- @onk made their first contribution in https://github.com/ctran/annotate_models/pull/844
- @Taher-Ghaleb made their first contribution in https://github.com/ctran/annotate_models/pull/853
- @Hamms made their first contribution in https://github.com/ctran/annotate_models/pull/848
- @ocarta-l made their first contribution in https://github.com/ctran/annotate_models/pull/865
- @sato11 made their first contribution in https://github.com/ctran/annotate_models/pull/883
- @dabit made their first contribution in https://github.com/ctran/annotate_models/pull/912
Full Changelog: https://github.com/ctran/annotate_models/compare/v3.1.0...v3.2.0
- Ruby
Published by release-drafter[bot] about 4 years ago
https://github.com/ctran/annotate_models -
- Fix with_comment format in annotate_models_rake #560
- Ruby
Published by ctran over 7 years ago
https://github.com/ctran/annotate_models - v2.7.2
Ruby 2.4, Rake 12, new options, support for Rails 5, etc
- Ruby
Published by ctran almost 9 years ago
https://github.com/ctran/annotate_models - v2.7.1
Mostly bug fixes. See https://github.com/ctran/annotate_models/issues?q=milestone%3Av2.7.1+is%3Aclosed
- Ruby
Published by ctran almost 10 years ago
https://github.com/ctran/annotate_models - v2.7.0 - Happy new year!
This release contains many bug fixes and enhancements with contributions from so many folks. Thanks!
Bug fixes
- Fix
Unable to annotate foreign_keys#282 - Fix
Not finding model AB::Thing in ab/thing.rb#271 - Fix
annotate -edoesn't skip serializers by default #270 - Fix
Wrapping creates a newline before the close statement#268 - Fix
'skip_on_db_migrate' => 'false'#252 - Work with with Rails 5.0 #288
Improvements
- Ignore 'already initialized constant' warnings when models are in additional configured auto load roots #281
- Annotate additional subdirectories #286, #299
- Hide column size for certain column types #278
- Ignore bad model files #251
- Support "routes" => "true" in auto_annotate_models.rake #245
- Ignore default value for jsonb column #250
- Ruby
Published by ctran about 10 years ago
https://github.com/ctran/annotate_models - Revert incompatible change
Revert "Prefer SQL column type over normalized AR type"
- Ruby
Published by ctran almost 11 years ago
https://github.com/ctran/annotate_models - v2.6.9 - Add foreign key support
- Add foreign key support #241, thanks to @subakva
- Check if model has skip tag in annotate_model_file (#167)
- Fix issue where serializer-related flags weren't being honored (#246)
- Prefer SQL column type over normalized AR type (#231)
Please note that this version produces incompatible annotations.
- Ruby
Published by ctran almost 11 years ago
https://github.com/ctran/annotate_models - v2.6.8 - Minor bug fix
- Nothing annotated unless options[:model_dir] is specified, #234
- Ruby
Published by ctran almost 11 years ago
https://github.com/ctran/annotate_models - v2.6.7 - Small bug fix
Nothing annotated unless options[:model_dir] is specified, #234
- Ruby
Published by ctran almost 11 years ago
https://github.com/ctran/annotate_models - v2.6.6 - Minor bug fixes
- Makes it possible to wrap annotations, #225
- Fix single model generation, #214
- Fix default value for Rails 4.2, #212
- Don't crash on inherited models in subdirectories, #232
- Process model_dir in rake task, #197
- Ruby
Published by ctran almost 11 years ago
https://github.com/ctran/annotate_models -
This is the same as 2.6.4.
- Ruby
Published by ctran over 11 years ago
https://github.com/ctran/annotate_models - v2.6.4
- Skip "models/concerns", #194
- Fix #173 where annotate says "Nothing to annotate" in rails 4.2
- Display an error message if not run from the root of the project, #186
- Support rails 4.0 new default test directory, #182
- Add an option to show timestamp in routes "-timestamp", #136
- Skip plain ruby objects if they have the same class name as an ActiveRecord object, #121
- Ruby
Published by ctran over 11 years ago
https://github.com/ctran/annotate_models - v2.6.3
- Fix #175
- Ruby
Published by ctran almost 12 years ago
https://github.com/ctran/annotate_models - v2.6.2
- Retain the current annotate block unless --force is specified
- Always load models, since they may not be autoloaded by Rails
- The pg array type is now detected (see #158)
- Ruby
Published by ctran about 12 years ago