necromancer.gemspec in necromancer-0.5.0 vs necromancer.gemspec in necromancer-0.5.1

- old
+ new

@@ -10,9 +10,17 @@ spec.summary = %q{Conversion from one object type to another with a bit of black magic.} spec.description = %q{Conversion from one object type to another with a bit of black magic.} spec.homepage = 'https://github.com/piotrmurach/necromancer' spec.license = 'MIT' + if spec.respond_to?(:metadata=) + spec.metadata["allowed_push_host"] = "https://rubygems.org" + spec.metadata["changelog_uri"] = "https://github.com/piotrmurach/necromancer/blob/master/CHANGELOG.md" + spec.metadata["documentation_uri"] = "https://www.rubydoc.info/gems/necromancer" + spec.metadata["homepage_uri"] = spec.homepage + spec.metadata["source_code_uri"] = "https://github.com/piotrmurach/necromancer" + end + spec.files = Dir['{lib,spec}/**/*.rb'] spec.files += Dir['tasks/*', 'necromancer.gemspec'] spec.files += Dir['README.md', 'CHANGELOG.md', 'LICENSE.txt', 'Rakefile'] spec.test_files = spec.files.grep(%r{^(spec)/}) spec.require_paths = ["lib"]