Skip to content

Commit 741d253

Browse files
committed
thor: Allow 1.2 to stay compatible with ancient facter
For people bundling various tools from the ecosystem in a container, lets say https://github.com/voxpupuli/container-voxbox, we want to / have to stay compatible with facter for now. The ancient/dead/unmaintained Perforce facter gem depends on thor < 1.3.
1 parent ea5cade commit 741d253

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

modulesync.gemspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,6 @@ Gem::Specification.new do |spec|
2929
spec.add_dependency 'octokit', '>=4', '<10'
3030
spec.add_dependency 'puppet-blacksmith', '>= 3.0', '< 9'
3131
# 1.3.1 has a bug that was fixed in 1.3.2 https://github.com/rails/thor/pull/878
32-
spec.add_dependency 'thor', '~> 1.3', '!= 1.3.1'
32+
# Allow 1.2 and newer, because Perforce facter 4.10.0 only allows < 1.3....
33+
spec.add_dependency 'thor', '~> 1.2', '!= 1.3.1'
3334
end

0 commit comments

Comments
 (0)