diff --git a/strings.gemspec b/strings.gemspec index 0a29e7c..277946c 100644 --- a/strings.gemspec +++ b/strings.gemspec @@ -9,9 +9,15 @@ Gem::Specification.new do |spec| spec.email = ["me@piotrmurach.com"] spec.summary = %q{A set of useful functions for transforming strings.} spec.description = %q{A set of useful functions such as fold, truncate, wrap and more for transoforming strings.} - spec.homepage = "" + spec.homepage = "https://github.com/piotrmurach/strings" spec.license = "MIT" + spec.metadata["allowed_push_host"] = "https://rubygems.org" + spec.metadata["changelog_uri"] = "https://github.com/piotrmurach/strings/blob/master/CHANGELOG.md" + spec.metadata["documentation_uri"] = "https://www.rubydoc.info/gems/strings" + spec.metadata["homepage_uri"] = spec.homepage + spec.metadata["source_code_uri"] = "https://github.com/piotrmurach/strings" + spec.files = Dir['{lib,spec}/**/*.rb', '{bin,tasks}/*', 'strings.gemspec'] spec.files += Dir['README.md', 'CHANGELOG.md', 'LICENSE.txt', 'Rakefile'] spec.bindir = "exe"