From 05a72410f4e3a712d1096dca31fa4abda0c59283 Mon Sep 17 00:00:00 2001 From: Rob Nelson Date: Wed, 22 Jun 2016 15:41:38 -0400 Subject: [PATCH] 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-spaceship_operator_without_tag-check.gemspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/puppet-lint-spaceship_operator_without_tag-check.gemspec b/puppet-lint-spaceship_operator_without_tag-check.gemspec index 92cddd5..f1d61e2 100644 --- a/puppet-lint-spaceship_operator_without_tag-check.gemspec +++ b/puppet-lint-spaceship_operator_without_tag-check.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |spec| spec.name = 'puppet-lint-spaceship_operator_without_tag-check' - spec.version = '0.1.0' + spec.version = '0.1.1' spec.homepage = 'https://github.com/puppet-community/puppet-lint-spaceship_operator_without_tag-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 that spaceship operator is called with a tag. 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'