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

update ruby 3.3 bindings #28

Merged
merged 3 commits into from
Dec 29, 2024
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
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ on:

jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
ruby-version: 3.3
- name: Install Dependencies
run: |
gem install test-unit
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codecl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uses: github/codeql-action/analyze@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
ruby-version: '3.3'
bundler-cache: true
- name: "Run rufo code formatting checks"
run: |
Expand Down
2 changes: 1 addition & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ https://github.com/sydneyitguy/digest-sha3-ruby
Copyright (c) 2019-2021 Alex Kotov; licensed under MIT License
https://github.com/kotovalexarian/digest-keccak

Copyright (c) 2021-2022 Afri Schoedon; re-licensed under Apache 2.0
Copyright (c) 2021-2025 Afri Schoedon; re-licensed under Apache 2.0
https://github.com/q9f/keccak.rb
10 changes: 10 additions & 0 deletions bin/console
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env ruby

# use the local version of the code instead of a globally installed gem
$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)

require "digest/keccak"
include Digest

require "pry"
Pry.start
6 changes: 3 additions & 3 deletions keccak.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
spec.email = "%w[[email protected]]"
spec.extensions << "ext/digest/extconf.rb"
spec.platform = Gem::Platform::RUBY
spec.required_ruby_version = ">= 2.7", "< 4.0"
spec.required_ruby_version = ">= 3.0", "< 4.0"
spec.license = "Apache-2.0"
spec.metadata = {
"homepage_uri" => "https://github.com/q9f/keccak.rb",
Expand All @@ -34,6 +34,6 @@ Gem::Specification.new do |spec|
"lib/**/*"
]
spec.test_files = spec.files.grep %r{^(test|spec|features)/}
spec.add_development_dependency "bundler", "~> 2.2"
spec.add_development_dependency "test-unit", "~> 3.4"
spec.add_development_dependency "bundler", "~> 2.4"
spec.add_development_dependency "test-unit", "~> 3.6"
end
Loading