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

Add Ruby 3.4 support #275

Merged
merged 2 commits into from
Jan 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
os: [ubuntu]
ruby-version: ['3.1', '3.2', '3.3']
ruby-version: ['3.1', '3.2', '3.3', '3.4', 'head']

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ GEM
language_server-protocol (3.17.0.3)
logger (1.6.5)
os (1.1.4)
ostruct (0.6.1)
parallel (1.26.3)
parser (3.3.6.0)
ast (~> 2.4.1)
Expand Down Expand Up @@ -67,6 +68,7 @@ PLATFORMS
x86_64-linux

DEPENDENCIES
ostruct
rake (~> 13.0)
rake-compiler (~> 1.0)
rspec (~> 3.9)
Expand Down
2 changes: 1 addition & 1 deletion lib/seccomp-tools/instruction/ret.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def ret_str
return 'A' if type == :a

str = ACTION.invert[type & SECCOMP_RET_ACTION_FULL].to_s
str << "(#{type & SECCOMP_RET_DATA})" if str == 'ERRNO'
str += "(#{type & SECCOMP_RET_DATA})" if str == 'ERRNO'
str
end
end
Expand Down
1 change: 1 addition & 0 deletions seccomp-tools.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Visit https://github.com/david942j/seccomp-tools for more details.

s.required_ruby_version = '>= 3.1'

s.add_development_dependency 'ostruct'
s.add_development_dependency 'rake', '~> 13.0'
s.add_development_dependency 'rake-compiler', '~> 1.0'
s.add_development_dependency 'rspec', '~> 3.9'
Expand Down
Loading