From a6e2b66f0dd08449b7961e5153bf153a1ec9a751 Mon Sep 17 00:00:00 2001 From: Rob Nelson Date: Wed, 22 Jun 2016 15:41:53 -0400 Subject: [PATCH 1/2] With the release of puppet-lint 2.0.0, support ~>2.0 versions. Many people are using puppet-lint from git head, and have been for a while. puppet-lint 2.0.0 was published today, with no actual changes other than the version number, but it breaks checks that specified `~>1.0`. --- puppet-lint-trailing_comma-check.gemspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/puppet-lint-trailing_comma-check.gemspec b/puppet-lint-trailing_comma-check.gemspec index 9eda6d3..7742cd3 100644 --- a/puppet-lint-trailing_comma-check.gemspec +++ b/puppet-lint-trailing_comma-check.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |spec| spec.name = 'puppet-lint-trailing_comma-check' - spec.version = '0.3.1' + spec.version = '0.3.2' spec.homepage = 'https://github.com/puppet-community/puppet-lint-trailing_comma-check' spec.license = 'Apache-2.0' spec.author = 'Puppet Community' @@ -17,7 +17,7 @@ Gem::Specification.new do |spec| A puppet-lint plugin to check for missing trailing commas. EOF - spec.add_dependency 'puppet-lint', '~> 1.0' + spec.add_dependency 'puppet-lint', '>= 1.0', '< 3.0' spec.add_development_dependency 'rspec', '~> 3.0' spec.add_development_dependency 'rspec-its', '~> 1.0' spec.add_development_dependency 'rspec-collection_matchers', '~> 1.0' From 130fcd29849fc7a01b17baa3a6588c0513b98359 Mon Sep 17 00:00:00 2001 From: Rob Nelson Date: Wed, 22 Jun 2016 15:51:52 -0400 Subject: [PATCH 2/2] Remove ruby 1.8.7 --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e16d059..039591e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,6 @@ cache: bundler script: - bundle exec rake spec rvm: -- 1.8.7 - 1.9.3 - 2.0.0 - 2.1.5