Description: Disable deprecation warnings Forwarded: not-needed Author: Jérémy Lal Last-Update: 2010-11-28 Index: b/config/environment.rb =================================================================== --- a/config/environment.rb 2011-03-08 10:26:56.000000000 +0100 +++ b/config/environment.rb 2011-03-08 10:26:57.000000000 +0100 @@ -19,6 +19,11 @@ # Bootstrap the Rails environment, frameworks, and default configuration require File.join(File.dirname(__FILE__), 'boot') +# Disable deprecation warnings +if Gem::Dependency.respond_to?('warned_version_requirement') + Gem::Dependency.warned_version_requirement = true +end + # loads cookie based session session and secret keys # this is needed here because initializers are loaded after plugins, # and some plugins initialize ActionController which requires a secret to be set. Index: b/config/initializers/10-patches.rb =================================================================== --- a/config/initializers/10-patches.rb 2011-03-08 10:26:55.000000000 +0100 +++ b/config/initializers/10-patches.rb 2011-03-08 10:26:57.000000000 +0100 @@ -89,7 +89,7 @@ module Base def warn_syntax_deprecation!(*args) return if @skip_syntax_deprecation - warn "The {{key}} interpolation syntax in I18n messages is deprecated and will be removed in Redmine 1.2. Please use %{key} instead, see http://www.redmine.org/issues/7013 for more information." + #warn "The {{key}} interpolation syntax in I18n messages is deprecated and will be removed in Redmine 1.2. Please use %{key} instead, see http://www.redmine.org/issues/7013 for more information." @skip_syntax_deprecation = true end end