Update Gemfile and gemspec
This adjusts the Gemfile and gemspec to current packaging standards.
This commit is contained in:
parent
3a1dcd75e7
commit
6b5c2dbd45
10
Gemfile
10
Gemfile
|
@ -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'
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
module PuppetStrings
|
||||
VERSION = '2.0.0'.freeze
|
||||
end
|
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue