Skip to content

Commit fcc0b2d

Browse files
committed
Add tsort dependency
Without this, we get the following warning: ``` /home/runner/work/openfact/openfact/lib/facter/custom_facts/core/directed_graph.rb:4: warning: tsort was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 4.1.0 You can add tsort to your Gemfile or gemspec to silence this warning. ```
1 parent 0d524a1 commit fcc0b2d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

openfact.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,5 @@ Gem::Specification.new do |spec|
5353
spec.add_runtime_dependency 'logger', '~> 1.5'
5454
spec.add_runtime_dependency 'ostruct', '< 0.7'
5555
spec.add_runtime_dependency 'thor', ['>= 1.0.1', '< 2']
56+
spec.add_runtime_dependency 'tsort', '< 0.3'
5657
end

0 commit comments

Comments
 (0)