From a6a8076f2216f2ced271e3a35b435d119b32a87a Mon Sep 17 00:00:00 2001 From: Rob Nelson Date: Wed, 22 Jun 2016 15:41:21 -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-empty_string-check.gemspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/puppet-lint-empty_string-check.gemspec b/puppet-lint-empty_string-check.gemspec index 5c3c13e..fb5442a 100644 --- a/puppet-lint-empty_string-check.gemspec +++ b/puppet-lint-empty_string-check.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |spec| spec.name = 'puppet-lint-empty_string-check' - spec.version = '0.2.1' + spec.version = '0.2.2' spec.homepage = 'https://github.com/puppet-community/puppet-lint-empty_string-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 variables assigned to the empty string. 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 e4033e298b6f7818c749e7217ba38cedcf79a885 Mon Sep 17 00:00:00 2001 From: Rob Nelson Date: Wed, 22 Jun 2016 15:48:57 -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 3cb4938..087aed2 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