Skip to content

Commit

Permalink
modify ruby support
Browse files Browse the repository at this point in the history
- add ruby 3.4
- drop ruby 3.0
  • Loading branch information
noraj committed Jan 26, 2025
1 parent c0d5412 commit 77e9486
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['3.3', '3.2', '3.1', '3.0']
ruby-version: ['3.4', '3.3', '3.2', '3.1']
env:
BUNDLE_WITHOUT: docs development # https://bundler.io/v1.5/groups.html
steps:
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ inherit_mode:
merge:
- Exclude
AllCops:
TargetRubyVersion: 3.0
TargetRubyVersion: 3.1
NewCops: enable
SuggestExtensions: false
# ~~~ Layout ~~~
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ruby 3.3.0
ruby 3.4.1
nodejs 21.7.2
6 changes: 4 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ end

group :development, :docs do
gem 'asciidoctor', '~> 2.0' # for manpage generation
gem 'commonmarker', '~> 0.23' # for markdown support in YARD
gem 'yard', ['>= 0.9.27', '< 0.10']
gem 'commonmarker', '~> 2.0' # for markdown support in YARD
# gem 'yard', ['>= 0.9.27', '< 0.10']
# https://github.com/lsegal/yard/issues/1528
gem 'yard', github: 'ParadoxV5/yard', ref: '9e869c940859570b07b81c5eadd6070e76f6291e', branch: 'commonmarker-1.0'
end
35 changes: 21 additions & 14 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
GIT
remote: https://github.com/ParadoxV5/yard.git
revision: 9e869c940859570b07b81c5eadd6070e76f6291e
ref: 9e869c940859570b07b81c5eadd6070e76f6291e
branch: commonmarker-1.0
specs:
yard (0.9.36)

PATH
remote: .
specs:
Expand All @@ -10,52 +18,51 @@ GEM
specs:
asciidoctor (2.0.23)
ast (2.4.2)
commonmarker (0.23.11)
commonmarker (2.0.4-x86_64-linux)
docopt (0.6.1)
json (2.8.2)
json (2.9.1)
language_server-protocol (3.17.0.3)
minitest (5.25.2)
minitest (5.25.4)
paint (2.3.0)
parallel (1.26.3)
parser (3.3.6.0)
parser (3.3.7.0)
ast (~> 2.4.1)
racc
racc (1.8.1)
rainbow (3.1.1)
rake (13.2.1)
regexp_parser (2.9.3)
rubocop (1.69.0)
regexp_parser (2.10.0)
rubocop (1.71.0)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 2.4, < 3.0)
rubocop-ast (>= 1.36.1, < 2.0)
regexp_parser (>= 2.9.3, < 3.0)
rubocop-ast (>= 1.36.2, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.36.2)
rubocop-ast (1.37.0)
parser (>= 3.3.1.0)
ruby-progressbar (1.13.0)
unicode-display_width (3.1.2)
unicode-display_width (3.1.4)
unicode-emoji (~> 4.0, >= 4.0.4)
unicode-emoji (4.0.4)
yard (0.9.37)

PLATFORMS
x86_64-linux

DEPENDENCIES
asciidoctor (~> 2.0)
bundler (~> 2.1)
commonmarker (~> 0.23)
commonmarker (~> 2.0)
docopt (~> 0.6)
haiti-hash!
minitest (~> 5.25)
paint (~> 2.3)
rake (~> 13.2)
rubocop (~> 1.66)
yard (>= 0.9.27, < 0.10)
yard!

BUNDLED WITH
2.5.22
2.6.3
3 changes: 3 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

- **Breaking changes**:
- **Drop** Ruby 2.7 support, [EOL since 31/03/2023](https://www.ruby-lang.org/en/downloads/branches/), no longer compatible with newest version of bundler
- **Drop** Ruby 3.0 support (EOL)
- **Additions**:
- WPA-PMKID-PMK [#162][#162]
- WPA-EAPOL-PBKDF2 [#162][#162]
Expand All @@ -17,6 +18,8 @@
- fix HC ref. [#182][#182] (thanks to @junewerner)
- WPA-PMKID-PBKDF2
- Different separators
- **Chore**:
- Add support for Ruby 3.4

[#182]:https://github.com/noraj/haiti/pull/182
[#162]:https://github.com/noraj/haiti/issues/162
Expand Down
2 changes: 1 addition & 1 deletion haiti.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Gem::Specification.new do |s|
'rubygems_mfa_required' => 'true'
}

s.required_ruby_version = ['>= 3.0.0', '< 4.0']
s.required_ruby_version = ['>= 3.1.0', '< 4.0']

s.add_runtime_dependency('docopt', '~> 0.6') # for argument parsing
s.add_runtime_dependency('paint', '~> 2.3') # for colorized output
Expand Down

0 comments on commit 77e9486

Please sign in to comment.