Depend on new i18n gem, silence deprecation warning

This commit is contained in:
Thomas Reynolds 2013-12-25 16:52:29 -08:00
parent b6361c23f7
commit e996868033
2 changed files with 5 additions and 1 deletions

View file

@ -4,6 +4,10 @@ require "tilt"
# i18n Built-in # i18n Built-in
require "i18n" require "i18n"
# Don't fail on invalid locale, that's not what our current
# users expect.
::I18n.config.enforce_available_locales = false
# Use ActiveSupport JSON # Use ActiveSupport JSON
require "active_support/json" require "active_support/json"
require "active_support/core_ext/integer/inflections" require "active_support/core_ext/integer/inflections"

View file

@ -36,5 +36,5 @@ Gem::Specification.new do |s|
s.add_dependency("listen", ["~> 1.1"]) s.add_dependency("listen", ["~> 1.1"])
# i18n # i18n
s.add_dependency("i18n", ["~> 0.6.1"]) s.add_dependency("i18n", ["~> 0.6.9"])
end end