From 8594bcf63e88f6b0bd28e2bc80ccd87dc34f595c Mon Sep 17 00:00:00 2001 From: Jorge Luis Martinez Gomez Date: Fri, 25 Sep 2020 22:36:01 -0700 Subject: [PATCH] specify missing stuff in gemspec --- parsby.gemspec | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/parsby.gemspec b/parsby.gemspec index 59eab73..977d67b 100644 --- a/parsby.gemspec +++ b/parsby.gemspec @@ -6,25 +6,26 @@ require "parsby/version" Gem::Specification.new do |spec| spec.name = "parsby" spec.version = Parsby::VERSION + spec.licenses = ["MIT"] spec.authors = ["Jorge Luis Martinez Gomez"] spec.email = ["jol@jol.dev"] spec.summary = %q{Parser combinator library inspired by Haskell's Parsec} #spec.description = %q{TODO: Write a longer description or delete this line.} - #spec.homepage = "TODO: Put your gem's website or public repo URL here." + spec.homepage = "https://github.com/jolmg/parsby" # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host' # to allow pushing to a single host or delete this section to allow pushing to any host. - #if spec.respond_to?(:metadata) - # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'" + if spec.respond_to?(:metadata) + #spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'" - # #spec.metadata["homepage_uri"] = spec.homepage - # #spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here." - # #spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here." - #else - # raise "RubyGems 2.0 or newer is required to protect against " \ - # "public gem pushes." - #end + #spec.metadata["homepage_uri"] = spec.homepage + #spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here." + spec.metadata["changelog_uri"] = "https://github.com/jolmg/parsby/blob/master/CHANGELOG.md" + else + raise "RubyGems 2.0 or newer is required to protect against " \ + "public gem pushes." + end # Specify which files should be added to the gem when it is released. # The `git ls-files -z` loads the files in the RubyGem that have been added into git. @@ -38,5 +39,5 @@ Gem::Specification.new do |spec| spec.add_development_dependency "bundler", "~> 1.17" spec.add_development_dependency "rake", "~> 10.0" spec.add_development_dependency "rspec", "~> 3.0" - spec.add_development_dependency "pry" + spec.add_development_dependency "pry", "~> 0" end