Allow for rspec 3.9 in the gemspec

This commit is contained in:
Clinton Wolfe 2021-01-13 11:40:42 -05:00 committed by GitHub
commit 828df9276f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -16,6 +16,10 @@ if Gem.ruby_version.to_s.start_with?("2.5")
gem "chef-utils", "< 16.7.23" # TODO: remove when we drop ruby 2.5
end
# inspec tests depend text output that changed in the 3.10 release
# but our runtime dep is still 3.9+
gem "rspec", ">= 3.10"
group :omnibus do
gem "rb-readline"
gem "appbundler"

View file

@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
spec.add_dependency "thor", ">= 0.20", "< 2.0"
spec.add_dependency "method_source", ">= 0.8", "< 2.0"
spec.add_dependency "rubyzip", ">= 1.2.2", "< 3.0"
spec.add_dependency "rspec", "~> 3.10"
spec.add_dependency "rspec", ">= 3.9", "< 3.11"
spec.add_dependency "rspec-its", "~> 1.2"
spec.add_dependency "pry", "~> 0.13"
spec.add_dependency "hashie", ">= 3.4", "< 5.0"