power_stencil.gemspec in power_stencil-0.4.10 vs power_stencil.gemspec in power_stencil-0.4.11

- old
+ new

@@ -9,11 +9,11 @@ spec.authors = ['Laurent Briais'] spec.email = ['powerstencil-contact@brizone.org'] spec.summary = %q{PowerStencil is the Swiss-army knife templating workflow for developers and ops.} spec.description = %q{PowerStencil is the Swiss-army knife templating workflow for developers and ops.} - spec.homepage = 'https://gitlab.com/tools4devops/power_stencil' + spec.homepage = '' spec.license = 'MIT' spec.files = `git ls-files -z`.split("\x0").reject do |f| f.match(%r{^(test|spec|features)/}) end @@ -28,22 +28,24 @@ spec.add_dependency 'climatic', '~> 0.2.29' spec.add_dependency 'dir_glob_ignore', '~> 0.3' spec.add_dependency 'universe_compiler', '~> 0.4.3' spec.add_dependency 'pry' + source_code_uri = 'https://gitlab.com/tools4devops/power_stencil' + spec.metadata = { - "bug_tracker_uri" => "#{spec.homepage}/issues", - "documentation_uri" => "#{spec.homepage}/blob/master/README.md", - "official_website_uri" => "https://powerstencil.brizone.org" + "bug_tracker_uri" => "#{source_code_uri}/issues", + "documentation_uri" => "#{source_code_uri}/blob/master/README.md", + "source_code_uri" => source_code_uri } spec.post_install_message = %Q{ Thank you for installing PowerStencil #{PowerStencil::VERSION} ! From the command line you can run `power_stencil --help` If your shell is not completing the command: If you use rbenv: `rbenv rehash` If you use zsh : `rehash` -Full documentation here : #{spec.homepage}/blob/master/README.md -Feel free to report issues: #{spec.homepage}/issues +Full documentation here : #{spec.metadata['source_code_uri']}/blob/master/README.md +Feel free to report issues: #{spec.metadata['source_code_uri']}/issues } end