]> source.dussan.org Git - redmine.git/commitdiff
Gemfile: pin i18n version 0.7.0
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 2 Feb 2017 05:41:57 +0000 (05:41 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 2 Feb 2017 05:41:57 +0000 (05:41 +0000)
i18n 0.8.0 causes error.

<pre>
Redmine::I18nTest#test_languages_options_should_ignore_locales_without_general_lang_name_key:
I18n::InvalidLocale: "foo" is not a valid locale
    lib/redmine/i18n.rb:58:in `ll'
    lib/redmine/i18n.rb:122:in `block in languages_options'
    lib/redmine/i18n.rb:122:in `map'
    lib/redmine/i18n.rb:122:in `languages_options'
    test/unit/lib/redmine/i18n_test.rb:203:in `test_languages_options_should_ignore_locales_without_general_lang_name_key'
</pre>

git-svn-id: http://svn.redmine.org/redmine/trunk@16324 e93f8b46-1217-0410-a6f0-8f06a7374b81

Gemfile

diff --git a/Gemfile b/Gemfile
index b539a769d8d5b441c1224b4ce1c36c70faba552c..bb8ba530ecd12ebec2733fef70450f564d156eb1 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -16,6 +16,7 @@ gem "roadie-rails"
 gem "mimemagic"
 
 gem "nokogiri", "~> 1.6.8"
+gem "i18n", "~> 0.7.0"
 
 # Request at least rails-html-sanitizer 1.0.3 because of security advisories 
 gem "rails-html-sanitizer", ">= 1.0.3"