| 1 |
require File.join(File.expand_path(File.dirname(__FILE__)), 'lib', 'tzinfo', 'version') |
| 2 |
|
| 3 |
Gem::Specification.new do |s| |
| 4 |
s.name = 'tzinfo' |
| 5 |
s.version = TZInfo::VERSION |
| 6 |
s.summary = 'Time Zone Library' |
| 7 |
s.description = 'TZInfo provides access to time zone data and allows times to be converted using time zone rules.' |
| 8 |
s.author = 'Philip Ross' |
| 9 |
s.email = '[email protected]' |
| 10 |
s.homepage = 'https://tzinfo.github.io' |
| 11 |
s.license = 'MIT' |
| 12 |
if s.respond_to? :metadata= |
| 13 |
s.metadata = { |
| 14 |
'bug_tracker_uri' => 'https://github.com/tzinfo/tzinfo/issues', |
| 15 |
'changelog_uri' => 'https://github.com/tzinfo/tzinfo/blob/master/CHANGES.md', |
| 16 |
'documentation_uri' => "https://rubydoc.info/gems/#{s.name}/#{s.version}", |
| 17 |
'homepage_uri' => s.homepage, |
| 18 |
'source_code_uri' => "https://github.com/tzinfo/tzinfo/tree/v#{s.version}" |
| 19 |
} |
| 20 |
end |
| 21 |
s.files = %w(CHANGES.md LICENSE README.md .yardopts) + Dir['lib/**/*.rb'] |
| 22 |
s.platform = Gem::Platform::RUBY |
| 23 |
s.require_path = 'lib' |
| 24 |
s.rdoc_options << '--title' << 'TZInfo' << |
| 25 |
'--main' << 'README.md' |
| 26 |
s.extra_rdoc_files = ['README.md', 'CHANGES.md', 'LICENSE'] |
| 27 |
s.required_ruby_version = '>= 1.9.3' |
| 28 |
s.add_dependency 'concurrent-ruby', '~> 1.0' |
| 29 |
end |