Gem::Specification.new do |s| s.name = 'et-orbi' s.version = File.read( File.expand_path('../lib/et-orbi.rb', __FILE__) ).match(/ VERSION *= *['"]([^'"]+)/)[1] s.platform = Gem::Platform::RUBY s.authors = [ 'John Mettraux' ] s.email = [ 'jmettraux+flor@gmail.com' ] s.homepage = 'http://github.com/floraison/et-orbi' s.license = 'MIT' s.summary = 'time with zones' s.description = %{ Time zones for fugit and rufus-scheduler. Urbi et Orbi. }.strip s.metadata = { 'changelog_uri' => s.homepage + '/blob/master/CHANGELOG.md', 'documentation_uri' => s.homepage, 'bug_tracker_uri' => s.homepage + '/issues', #'mailing_list_uri' => 'https://groups.google.com/forum/#!forum/floraison', 'homepage_uri' => s.homepage, 'source_code_uri' => s.homepage, #'wiki_uri' => s.homepage + '/wiki', } #s.files = `git ls-files`.split("\n") s.files = Dir[ 'README.{md,txt}', 'CHANGELOG.{md,txt}', 'CREDITS.{md,txt}', 'LICENSE.{md,txt}', 'Makefile', 'lib/**/*.rb', #'spec/**/*.rb', 'test/**/*.rb', "#{s.name}.gemspec", ] s.add_runtime_dependency 'tzinfo' # # YES, open dependency, fill an issue at # https://github.com/floraison/et-orbi/issues # if you experience a conflict between et-orbi and tzinfo. # # DO NOT raise an issue at tzinfo # this open dependency is my (@jmettraux) responsibility. #s.add_runtime_dependency 'raabro', '>= 1.1.3' s.add_development_dependency 'rspec', '~> 3.8' s.add_development_dependency 'chronic', '~> 0.10' s.require_path = 'lib' end