Skip to content

Commit

Permalink
Cap Thor dependency at 1.2.2
Browse files Browse the repository at this point in the history
Facter is a runtime dependency of Puppet. The Puppet 7 series uses Ruby
2.5 as its minimum Ruby version.

Thor is a runtime dependency of Facter. Thor dropped Ruby 2.5 support
with version 1.3.0.

This commits sets Facter's Gemspec to use Thor < 1.3.0.
  • Loading branch information
mhashizume committed Mar 6, 2024
1 parent 7499ca4 commit 5e6c601
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ext/project_data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ gem_default_executables: 'facter'
gem_required_ruby_version: ['>= 2.5', '< 4.0']
gem_runtime_dependencies:
hocon: ~> 1.3
thor: ['>= 1.0.1', '< 2.0']
thor: ['>= 1.0.1', '< 1.3']
2 changes: 1 addition & 1 deletion facter.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'yard', '~> 0.9'

spec.add_runtime_dependency 'hocon', '~> 1.3'
spec.add_runtime_dependency 'thor', ['>= 1.0.1', '< 2.0']
spec.add_runtime_dependency 'thor', ['>= 1.0.1', '< 1.3'] # Thor 1.3.0 drops support for Ruby 2.5
end

0 comments on commit 5e6c601

Please sign in to comment.