Skip to content

Commit

Permalink
Let ruby determine versions of dependencies
Browse files Browse the repository at this point in the history
ruby's dependency resolver should be well able to determine what
version limits are imposed to libraries based on the strict versioning
that we have on the puppet gem.

if things break because some things move to higher major versions, I'll
fix the issues then.
  • Loading branch information
lelutin committed Jun 11, 2024
1 parent e1bdf2c commit b50590f
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,15 @@ gem 'puppet', puppetversion
gem 'rake'

group :tests do
gem 'metadata-json-lint', '~> 4.0'
gem 'metadata-json-lint'
# Use info from metadata.json for tests
gem 'puppetlabs_spec_helper'
gem 'puppet-lint', '>= 2.3.0'
# rubocop:disable Bundler/DuplicatedGem
gem 'puppet_metadata', '~> 3.6', require: false if Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.7.0')
gem 'puppet_metadata', '~> 2.1', require: false if Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new('2.7.0')
# rubocop:enable Bundler/DuplicatedGem
gem 'puppet-syntax', '~> 3.3'
gem 'puppet_metadata'
gem 'puppet-syntax'
gem 'rspec-puppet', '>= 2.4.0'
# This draws in rubocop and other useful gems for puppet tests
# rubocop:disable Bundler/DuplicatedGem
gem 'voxpupuli-test', '~> 7.1', require: false if Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.7.0')
gem 'voxpupuli-test', '~> 5.7', require: false if Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new('2.7.0')
# rubocop:enable Bundler/DuplicatedGem
gem 'voxpupuli-test'
end

group :docs do
Expand Down

0 comments on commit b50590f

Please sign in to comment.