tty-prompt.gemspec in tty-prompt-0.19.0 vs tty-prompt.gemspec in tty-prompt-0.20.0

- old
+ new

@@ -9,11 +9,20 @@ spec.email = ["me@piotrmurach.com"] spec.summary = %q{A beautiful and powerful interactive command line prompt.} spec.description = %q{A beautiful and powerful interactive command line prompt with a robust API for getting and validating complex inputs.} spec.homepage = "https://piotrmurach.github.io/tty" spec.license = "MIT" - + if spec.respond_to?(:metadata=) + spec.metadata = { + "allowed_push_host" => "https://rubygems.org", + "bug_tracker_uri" => "https://github.com/piotrmurach/tty-prompt/issues", + "changelog_uri" => "https://github.com/piotrmurach/tty-prompt/blob/master/CHANGELOG.md", + "documentation_uri" => "https://www.rubydoc.info/gems/tty-prompt", + "homepage_uri" => spec.homepage, + "source_code_uri" => "https://github.com/piotrmurach/tty-prompt" + } + end spec.files = Dir['{lib,spec,examples}/**/*.rb'] spec.files += Dir['tasks/*', 'tty-prompt.gemspec'] spec.files += Dir['README.md', 'CHANGELOG.md', 'LICENSE.txt', 'Rakefile'] spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.test_files = Dir["spec/**/*.rb"] @@ -21,10 +30,10 @@ spec.required_ruby_version = '>= 2.0.0' spec.add_dependency 'necromancer', '~> 0.5.0' spec.add_dependency 'pastel', '~> 0.7.0' - spec.add_dependency 'tty-reader', '~> 0.6.0' + spec.add_dependency 'tty-reader', '~> 0.7.0' spec.add_development_dependency 'bundler', '>= 1.5.0' spec.add_development_dependency 'rake' spec.add_development_dependency 'rspec', '~> 3.0' end