forked from ruby-i18n/i18n
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathi18n.gemspec
50 lines (37 loc) · 1.78 KB
/
i18n.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# encoding: utf-8
$: << File.expand_path('../lib', __FILE__)
require 'i18n/version'
Gem::Specification.new do |s|
s.name = "i18n"
s.version = I18n::VERSION
s.authors = ["Sven Fuchs", "Joshua Harvey", "Matt Aimonetti", "Stephan Soller", "Saimon Moore", "Ryan Bigg"]
s.email = "[email protected]"
s.homepage = "https://github.com/ruby-i18n/i18n"
s.summary = "New wave Internationalization support for Ruby"
s.description = "New wave Internationalization support for Ruby."
s.license = "MIT"
s.metadata = {
'bug_tracker_uri' => 'https://github.com/svenfuchs/i18n/issues',
'changelog_uri' => 'https://github.com/svenfuchs/i18n/releases',
'documentation_uri' => 'https://guides.rubyonrails.org/i18n.html',
'source_code_uri' => 'https://github.com/svenfuchs/i18n',
}
s.files = Dir.glob("lib/**/*") + %w(README.md MIT-LICENSE)
s.platform = Gem::Platform::RUBY
s.require_path = 'lib'
s.required_rubygems_version = '>= 1.3.5'
s.required_ruby_version = '>= 2.3.0'
s.add_dependency 'concurrent-ruby', '~> 1.0'
s.post_install_message = <<-END
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
END
end