diff --git a/CHANGELOG.rdoc b/CHANGELOG.rdoc index 2db610007..d8965ce83 100644 --- a/CHANGELOG.rdoc +++ b/CHANGELOG.rdoc @@ -1,3 +1,6 @@ +== 2.7.4 +See https://github.com/ctran/annotate_models/releases/tag/v2.7.4 + == 2.7.3 See https://github.com/ctran/annotate_models/releases/tag/v2.7.3 diff --git a/lib/annotate/version.rb b/lib/annotate/version.rb index 39df253f0..77afc0cf2 100644 --- a/lib/annotate/version.rb +++ b/lib/annotate/version.rb @@ -1,5 +1,5 @@ module Annotate def self.version - '2.7.3' + '2.7.4' end end diff --git a/lib/tasks/annotate_models.rake b/lib/tasks/annotate_models.rake index 495501233..8410a27fc 100644 --- a/lib/tasks/annotate_models.rake +++ b/lib/tasks/annotate_models.rake @@ -47,7 +47,7 @@ task annotate_models: :environment do options[:ignore_routes] = ENV.fetch('ignore_routes', nil) 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[:with_comment] = Annotate.fallback(ENV['with_comment'], '') + options[:with_comment] = Annotate.true?(ENV['with_comment']) AnnotateModels.do_annotations(options) end