Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test against Ruby 3.4 #71

Merged
merged 2 commits into from
Feb 21, 2025
Merged

Test against Ruby 3.4 #71

merged 2 commits into from
Feb 21, 2025

Conversation

nicolastemciuc
Copy link
Member

Summary

This PR start testing cose-ruby against Ruby 3.4.

Add base64 as a development dependency, Ruby 3.4 no longer comes with base64 and this library is used in the specs.

`base64` is no longer part of the standard `Ruby` library.

Error:
```
LoadError: cannot load such file -- base64 (LoadError)
/home/runner/work/cose-ruby/cose-ruby/vendor/bundle/ruby/3.4.0/gems/rubocop-0.80.1/lib/rubocop/formatter/html_formatter.rb:6:in '<top (required)>'
/home/runner/work/cose-ruby/cose-ruby/vendor/bundle/ruby/3.4.0/gems/rubocop-0.80.1/lib/rubocop.rb:589:in 'Kernel#require_relative'
/home/runner/work/cose-ruby/cose-ruby/vendor/bundle/ruby/3.4.0/gems/rubocop-0.80.1/lib/rubocop.rb:589:in '<top (required)>'
/home/runner/work/cose-ruby/cose-ruby/vendor/bundle/ruby/3.4.0/gems/rubocop-0.80.1/lib/rubocop/rake_task.rb:40:in 'RuboCop::RakeTask#run_cli'
/home/runner/work/cose-ruby/cose-ruby/vendor/bundle/ruby/3.4.0/gems/rubocop-0.80.1/lib/rubocop/rake_task.rb:28:in 'block (2 levels) in RuboCop::RakeTask#initialize'
/home/runner/work/cose-ruby/cose-ruby/vendor/bundle/ruby/3.4.0/gems/rubocop-0.80.1/lib/rubocop/rake_task.rb:26:in 'block in RuboCop::RakeTask#initialize'
/home/runner/work/cose-ruby/cose-ruby/vendor/bundle/ruby/3.4.0/gems/rake-13.2.1/exe/rake:27:in '<top (required)>'
/opt/hostedtoolcache/Ruby/3.4.2/x64/bin/bundle:25:in 'Kernel#load'
/opt/hostedtoolcache/Ruby/3.4.2/x64/bin/bundle:25:in '<main>'
Tasks: TOP => default => rubocop
(See full trace by running task with --trace)
```
@nicolastemciuc nicolastemciuc force-pushed the nt--test-against-ruby-3.4 branch from 028c06f to dbe5754 Compare February 21, 2025 13:46
@nicolastemciuc nicolastemciuc merged commit 0d96b05 into master Feb 21, 2025
54 checks passed
@nicolastemciuc nicolastemciuc deleted the nt--test-against-ruby-3.4 branch February 21, 2025 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants