Depend on new i18n gem, silence deprecation warning
This commit is contained in:
parent
b6361c23f7
commit
e996868033
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue