Commit 75878a24 by cuong.tran

Merge branch 'release/v2.7.4'

parents 89bce57f 2a847696
== 2.7.4
See https://github.com/ctran/annotate_models/releases/tag/v2.7.4
== 2.7.3 == 2.7.3
See https://github.com/ctran/annotate_models/releases/tag/v2.7.3 See https://github.com/ctran/annotate_models/releases/tag/v2.7.3
......
module Annotate module Annotate
def self.version def self.version
'2.7.3' '2.7.4'
end end
end end
...@@ -47,7 +47,7 @@ task annotate_models: :environment do ...@@ -47,7 +47,7 @@ task annotate_models: :environment do
options[:ignore_routes] = ENV.fetch('ignore_routes', nil) options[:ignore_routes] = ENV.fetch('ignore_routes', nil)
options[:hide_limit_column_types] = Annotate.fallback(ENV['hide_limit_column_types'], '') options[:hide_limit_column_types] = Annotate.fallback(ENV['hide_limit_column_types'], '')
options[:hide_default_column_types] = Annotate.fallback(ENV['hide_default_column_types'], '') options[:hide_default_column_types] = Annotate.fallback(ENV['hide_default_column_types'], '')
options[:with_comment] = Annotate.fallback(ENV['with_comment'], '') options[:with_comment] = Annotate.true?(ENV['with_comment'])
AnnotateModels.do_annotations(options) AnnotateModels.do_annotations(options)
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment