/
tzinfo.gemspec
29 lines (28 loc) · 1.2 KB
/
tzinfo.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
require File.join(File.expand_path(File.dirname(__FILE__)), 'lib', 'tzinfo', 'version')
Gem::Specification.new do |s|
s.name = 'tzinfo'
s.version = TZInfo::VERSION
s.summary = 'Time Zone Library'
s.description = 'TZInfo provides access to time zone data and allows times to be converted using time zone rules.'
s.author = 'Philip Ross'
s.email = 'phil.ross@gmail.com'
s.homepage = 'https://tzinfo.github.io'
s.license = 'MIT'
if s.respond_to? :metadata=
s.metadata = {
'bug_tracker_uri' => 'https://github.com/tzinfo/tzinfo/issues',
'changelog_uri' => 'https://github.com/tzinfo/tzinfo/blob/master/CHANGES.md',
'documentation_uri' => "https://rubydoc.info/gems/#{s.name}/#{s.version}",
'homepage_uri' => s.homepage,
'source_code_uri' => "https://github.com/tzinfo/tzinfo/tree/v#{s.version}"
}
end
s.files = %w(CHANGES.md LICENSE README.md .yardopts) + Dir['lib/**/*.rb']
s.platform = Gem::Platform::RUBY
s.require_path = 'lib'
s.rdoc_options << '--title' << 'TZInfo' <<
'--main' << 'README.md'
s.extra_rdoc_files = ['README.md', 'CHANGES.md', 'LICENSE']
s.required_ruby_version = '>= 1.9.3'
s.add_dependency 'concurrent-ruby', '~> 1.0'
end