Skip to content

Commit 9a071e1

Browse files
committed
ruby 3.4 support and 3.0 drop
1 parent f39fbf2 commit 9a071e1

File tree

7 files changed

+44
-30
lines changed

7 files changed

+44
-30
lines changed

.github/workflows/ruby.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121
strategy:
2222
matrix:
23-
ruby-version: ['3.3', '3.2', '3.1', '3.0']
23+
ruby-version: ['3.4', '3.3', '3.2', '3.1']
2424
env:
2525
BUNDLE_WITHOUT: docs development # https://bundler.io/v1.5/groups.html
2626
steps:

.rubocop.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ inherit_mode:
22
merge:
33
- Exclude
44
AllCops:
5-
TargetRubyVersion: 3.0
5+
TargetRubyVersion: 3.1
66
NewCops: enable
77
Exclude:
88
- 'test/*.rb'

.tool-versions

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ruby 3.3.0
1+
ruby 3.4.1

Gemfile

+6-4
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ gemspec
88
group :runtime, :cli do
99
gem 'csv', '~> 3.3' # for csv parsing
1010
gem 'docopt', '~> 0.6' # for argument parsing
11-
gem 'paint', '~> 2.2' # for colorized ouput
11+
gem 'paint', '~> 2.3' # for colorized ouput
1212
end
1313

1414
group :development, :install do
15-
gem 'bundler', ['>= 2.1.0']
15+
gem 'bundler', ['>= 2.6.0']
1616
end
1717

1818
group :development, :test do
@@ -25,6 +25,8 @@ group :development, :lint do
2525
end
2626

2727
group :development, :docs do
28-
gem 'commonmarker', '~> 0.23' # for markdown support in YARD
29-
gem 'yard', ['>= 0.9.27', '< 0.10']
28+
gem 'commonmarker', '~> 2.0' # for markdown support in YARD
29+
# gem 'yard', ['>= 0.9.27', '< 0.10']
30+
# https://github.com/lsegal/yard/issues/1528
31+
gem 'yard', github: 'ParadoxV5/yard', ref: '9e869c940859570b07b81c5eadd6070e76f6291e', branch: 'commonmarker-1.0'
3032
end

Gemfile.lock

+31-19
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,72 @@
1+
GIT
2+
remote: https://github.com/ParadoxV5/yard.git
3+
revision: 9e869c940859570b07b81c5eadd6070e76f6291e
4+
ref: 9e869c940859570b07b81c5eadd6070e76f6291e
5+
branch: commonmarker-1.0
6+
specs:
7+
yard (0.9.36)
8+
19
PATH
210
remote: .
311
specs:
412
pass-station (1.4.0)
513
docopt (~> 0.6)
6-
paint (~> 2.2)
14+
paint (~> 2.3)
715

816
GEM
917
remote: https://rubygems.org/
1018
specs:
1119
ast (2.4.2)
12-
commonmarker (0.23.10)
13-
csv (3.3.0)
20+
commonmarker (2.0.4)
21+
rb_sys (~> 0.9)
22+
commonmarker (2.0.4-x86_64-linux)
23+
csv (3.3.2)
1424
docopt (0.6.1)
15-
json (2.7.2)
25+
json (2.9.1)
1626
language_server-protocol (3.17.0.3)
17-
minitest (5.25.1)
27+
minitest (5.25.4)
1828
paint (2.3.0)
1929
parallel (1.26.3)
20-
parser (3.3.5.0)
30+
parser (3.3.7.0)
2131
ast (~> 2.4.1)
2232
racc
2333
racc (1.8.1)
2434
rainbow (3.1.1)
2535
rake (13.2.1)
26-
regexp_parser (2.9.2)
27-
rubocop (1.66.1)
36+
rb_sys (0.9.108)
37+
regexp_parser (2.10.0)
38+
rubocop (1.71.0)
2839
json (~> 2.3)
2940
language_server-protocol (>= 3.17.0)
3041
parallel (~> 1.10)
3142
parser (>= 3.3.0.2)
3243
rainbow (>= 2.2.2, < 4.0)
33-
regexp_parser (>= 2.4, < 3.0)
34-
rubocop-ast (>= 1.32.2, < 2.0)
44+
regexp_parser (>= 2.9.3, < 3.0)
45+
rubocop-ast (>= 1.36.2, < 2.0)
3546
ruby-progressbar (~> 1.7)
36-
unicode-display_width (>= 2.4.0, < 3.0)
37-
rubocop-ast (1.32.2)
47+
unicode-display_width (>= 2.4.0, < 4.0)
48+
rubocop-ast (1.37.0)
3849
parser (>= 3.3.1.0)
3950
ruby-progressbar (1.13.0)
40-
unicode-display_width (2.5.0)
41-
yard (0.9.37)
51+
unicode-display_width (3.1.4)
52+
unicode-emoji (~> 4.0, >= 4.0.4)
53+
unicode-emoji (4.0.4)
4254

4355
PLATFORMS
4456
ruby
4557
x86_64-linux
4658

4759
DEPENDENCIES
48-
bundler (>= 2.1.0)
49-
commonmarker (~> 0.23)
60+
bundler (>= 2.6.0)
61+
commonmarker (~> 2.0)
5062
csv (~> 3.3)
5163
docopt (~> 0.6)
5264
minitest (~> 5.25)
53-
paint (~> 2.2)
65+
paint (~> 2.3)
5466
pass-station!
5567
rake (~> 13.2)
5668
rubocop (~> 1.66)
57-
yard (>= 0.9.27, < 0.10)
69+
yard!
5870

5971
BUNDLED WITH
60-
2.5.6
72+
2.6.3

docs/CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
## [Unreleased]
22

33
- Chore:
4-
- Add support for Ruby 3.2 & 3.3
5-
- Drop support for Ruby 2.6 & 2.7
4+
- Add support for Ruby 3.2, 3.3, 3.4
5+
- Drop support for Ruby 2.6, 2.7, 3.0
66

77
## [1.4.0]
88

pass-station.gemspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ Gem::Specification.new do |s|
3030
'rubygems_mfa_required' => 'true'
3131
}
3232

33-
s.required_ruby_version = ['>= 3.0.0', '< 4.0']
33+
s.required_ruby_version = ['>= 3.1.0', '< 4.0']
3434

3535
s.add_runtime_dependency('docopt', '~> 0.6') # for argument parsing
36-
s.add_runtime_dependency('paint', '~> 2.2') # for colorized output
36+
s.add_runtime_dependency('paint', '~> 2.3') # for colorized output
3737
end

0 commit comments

Comments
 (0)