Skip to content

Commit 5e6c601

Browse files
committed
Cap Thor dependency at 1.2.2
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.
1 parent 7499ca4 commit 5e6c601

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/project_data.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ gem_default_executables: 'facter'
1515
gem_required_ruby_version: ['>= 2.5', '< 4.0']
1616
gem_runtime_dependencies:
1717
hocon: ~> 1.3
18-
thor: ['>= 1.0.1', '< 2.0']
18+
thor: ['>= 1.0.1', '< 1.3']

facter.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ Gem::Specification.new do |spec|
4646
spec.add_development_dependency 'yard', '~> 0.9'
4747

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

0 commit comments

Comments
 (0)