Skip to content

Commit 51ef5eb

Browse files
committed
Add base64 dependency
On modern ruby, base64 moved from MRI Ruby core to a standalone gem. Without this change, we get this error: ``` lib/puppet_forge/v3/release.rb:5: warning: base64 was loaded from the standard library, but is not part of the default gems starting from Ruby 3.4.0. You can add base64 to your Gemfile or gemspec to silence this warning. ```
1 parent 8e359bb commit 51ef5eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

puppet_forge.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Gem::Specification.new do |spec|
2222

2323
spec.add_runtime_dependency "faraday", "~> 2.0"
2424
spec.add_runtime_dependency "faraday-follow_redirects", "~> 0.3.0"
25+
spec.add_runtime_dependency 'base64', '~> 0.2.0'
2526
spec.add_dependency "semantic_puppet", "~> 1.0"
2627
spec.add_dependency "minitar", '~> 1.0', '>= 1.0.2'
2728

0 commit comments

Comments
 (0)