Skip to content

Commit

Permalink
(maint) Support different major versions of minitar
Browse files Browse the repository at this point in the history
This changes us from requiring at least minitar 1.0 and instead goes to
the previous minimum verion (0.9), but instead of using a "~>" which
forbids going to a new major release, ie is equivalent to [">= 0.9", "< 1.0"]
we simply require above the previous version, not caring if we take up a
new major release. This allows us to be installed in the same version
Ruby bundle as Puppet (which currently does not support minitar >= 1.0).

Minitar has supported the "new" `::Minitar` constant since before 0.9,
so there are no code changes required.
  • Loading branch information
justinstoller committed Oct 30, 2024
1 parent 5761808 commit fcf59b6
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions r10k.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,15 @@ Gem::Specification.new do |s|

s.add_dependency 'colored2', '~> 4.0'
s.add_dependency 'cri', '>= 2.15.10'

s.add_dependency 'log4r', '1.1.10'
s.add_dependency 'multi_json', '~> 1.10'

s.add_dependency 'puppet_forge', '~> 6.0'

s.add_dependency 'puppet_forge', '>= 4.1.0'
s.add_dependency 'gettext-setup', '>=0.24', '<2.0'

s.add_dependency 'jwt', '>= 2.2.3', '< 3'
s.add_dependency 'minitar', '~> 1.0', '>= 1.0.2'
s.add_dependency 'minitar', '>= 0.9'

s.add_development_dependency 'rspec', '~> 3.1'

s.add_development_dependency 'rake'

s.add_development_dependency 'yard', '~> 0.9.11'

s.files = %x[git ls-files].split($/).reject { |f| f.match(%r{^spec}) }
Expand Down

0 comments on commit fcf59b6

Please sign in to comment.