Update Gemfile and gemspec

This adjusts the Gemfile and gemspec to current packaging
standards.
This commit is contained in:
David Schmitt 2018-06-26 08:29:46 +01:00
parent 3a1dcd75e7
commit 6b5c2dbd45
3 changed files with 10 additions and 9 deletions

10
Gemfile
View File

@ -31,13 +31,7 @@ end
group :development do
gem 'github_changelog_generator', git: 'https://github.com/skywinder/github-changelog-generator', ref: '20ee04ba1234e9e83eb2ffb5056e23d641c7a018' if Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.2.2')
gem 'pry'
if RUBY_VERSION[0..2] == '1.9'
gem 'pry-debugger'
elsif RUBY_VERSION[0] == '2'
gem 'pry-byebug'
end
gem 'pry-byebug'
end
gem 'json', '<= 1.8' if RUBY_VERSION < '2.0.0'
gem 'json_pure', '<= 2.0.1' if RUBY_VERSION < '2.0.0'
gem 'rubocop', '<= 0.47.0' if RUBY_VERSION >= '2.0.0'
gem 'rubocop', '<= 0.47.0'

View File

@ -0,0 +1,3 @@
module PuppetStrings
VERSION = '2.0.0'.freeze
end

View File

@ -1,7 +1,11 @@
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'puppet-strings/version'
Gem::Specification.new do |s|
s.name = 'puppet-strings'
s.author = 'Puppet Inc.'
s.version = '2.0.0'
s.version = PuppetStrings::VERSION
s.license = 'Apache-2.0'
s.summary = 'Puppet documentation via YARD'
s.email = 'info@puppet.com'