diff --git a/README.md b/README.md index 0fe24f6..38cb433 100644 --- a/README.md +++ b/README.md @@ -210,7 +210,7 @@ Rake Tasks This module is also available as a Gem and makes two rake tasks (`generate` and `serve`) available in `puppet-strings/rake_tasks`. To add this to your module's CI workflow, be sure to add this module to your `Gemfile`: ```ruby -gem 'puppetlabs-strings', :git => 'https://github.com/puppetlabs/puppet-strings.git' +gem 'puppet-strings', :git => 'https://github.com/puppetlabs/puppet-strings.git' ``` To use the rake tasks, `require puppet-strings/rake_tasks` in your `Rakefile`: diff --git a/puppet-strings.gemspec b/puppet-strings.gemspec index fb35ef1..1aef237 100644 --- a/puppet-strings.gemspec +++ b/puppet-strings.gemspec @@ -3,7 +3,9 @@ require 'json' puppet_metadata = JSON.load File.open(File.expand_path(File.join(__FILE__, '..', 'metadata.json'))).read Gem::Specification.new do |s| - %w(name author version license summary).each do |section| + s.name = 'puppet-strings' + + %w(author version license summary).each do |section| s.send("#{section}=", puppet_metadata[section]) end