Skip to content

Commit 66010e6

Browse files
committed
5.0.0
1 parent 691b524 commit 66010e6

File tree

13 files changed

+60
-49
lines changed

13 files changed

+60
-49
lines changed

.github/workflows/ruby.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
22-
ruby-version: ['3.4', '3.3', '3.2', '3.1']
22+
ruby-version: ['4.0', '3.4', '3.3', '3.2']
2323
env:
2424
BUNDLE_WITHOUT: docs development # https://bundler.io/v1.5/groups.html
2525
steps:

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ AllCops:
66
Exclude:
77
- 'test/*.rb'
88
SuggestExtensions: false
9-
TargetRubyVersion: '3.1'
9+
TargetRubyVersion: '3.2'
1010
# ~~~ Layout ~~~
1111
Layout/HashAlignment:
1212
Include:

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
ruby 3.4.1
1+
ruby 4.0.0
22
nodejs 23.11.0

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Official verified image
2-
FROM ruby:3.2.2-alpine3.17
2+
FROM ruby:3.4.8-alpine3.23
33

44
# Metadata
55
LABEL org.opencontainers.image.title="ctf-party" \

Gemfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,18 @@ end
1010

1111
group :runtime, :all do
1212
gem 'base64', '~> 0.2.0' # for base64 encoding
13-
gem 'cgi', '~> 0.4.1' # url decode / html escape
13+
gem 'cgi', '~> 0.4' # url decode / html escape
1414
gem 'uri', '~> 1.1' # for url parsing
1515
end
1616

1717
group :development, :install do
18-
gem 'bundler', '~> 2.1'
18+
gem 'bundler', '~> 4.0'
1919
end
2020

2121
group :development, :test do
2222
gem 'minitest', '~> 5.27'
23+
# minitest-skip 0.0.3 does not support minitest 6.x
24+
# https://github.com/ivantsepp/minitest-skip/pull/6
2325
gem 'minitest-skip', '~> 0.0'
2426
gem 'rake', '~> 13.3'
2527
end

Gemfile.lock

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -9,57 +9,58 @@ GIT
99
PATH
1010
remote: .
1111
specs:
12-
ctf-party (4.0.0)
12+
ctf-party (5.0.0)
1313
base64 (~> 0.2.0)
14+
cgi (~> 0.4)
1415
docopt (~> 0.6)
15-
uri (~> 1.0, >= 1.0.2)
16+
uri (~> 1.1)
1617

1718
GEM
1819
remote: https://rubygems.org/
1920
specs:
2021
ast (2.4.3)
2122
base64 (0.2.0)
22-
cgi (0.4.2)
23-
commonmarker (2.1.0)
23+
cgi (0.5.1)
24+
commonmarker (2.6.0)
2425
rb_sys (~> 0.9)
25-
commonmarker (2.1.0-x86_64-linux)
26+
commonmarker (2.6.0-x86_64-linux)
2627
docopt (0.6.1)
27-
json (2.10.2)
28-
language_server-protocol (3.17.0.4)
28+
json (2.18.0)
29+
language_server-protocol (3.17.0.5)
2930
lint_roller (1.1.0)
3031
minitest (5.27.0)
3132
minitest-skip (0.0.3)
3233
minitest (~> 5.0)
33-
parallel (1.26.3)
34-
parser (3.3.7.4)
34+
parallel (1.27.0)
35+
parser (3.3.10.0)
3536
ast (~> 2.4.1)
3637
racc
37-
prism (1.4.0)
38+
prism (1.7.0)
3839
racc (1.8.1)
3940
rainbow (3.1.1)
4041
rake (13.3.1)
41-
rake-compiler-dock (1.9.1)
42-
rb_sys (0.9.111)
43-
rake-compiler-dock (= 1.9.1)
44-
regexp_parser (2.10.0)
45-
rubocop (1.75.2)
42+
rake-compiler-dock (1.10.0)
43+
rb_sys (0.9.123)
44+
rake-compiler-dock (= 1.10.0)
45+
regexp_parser (2.11.3)
46+
rubocop (1.82.1)
4647
json (~> 2.3)
4748
language_server-protocol (~> 3.17.0.2)
4849
lint_roller (~> 1.1.0)
4950
parallel (~> 1.10)
5051
parser (>= 3.3.0.2)
5152
rainbow (>= 2.2.2, < 4.0)
5253
regexp_parser (>= 2.9.3, < 3.0)
53-
rubocop-ast (>= 1.44.0, < 2.0)
54+
rubocop-ast (>= 1.48.0, < 2.0)
5455
ruby-progressbar (~> 1.7)
5556
unicode-display_width (>= 2.4.0, < 4.0)
56-
rubocop-ast (1.44.0)
57+
rubocop-ast (1.49.0)
5758
parser (>= 3.3.7.2)
58-
prism (~> 1.4)
59+
prism (~> 1.7)
5960
ruby-progressbar (1.13.0)
60-
unicode-display_width (3.1.4)
61-
unicode-emoji (~> 4.0, >= 4.0.4)
62-
unicode-emoji (4.0.4)
61+
unicode-display_width (3.2.0)
62+
unicode-emoji (~> 4.1)
63+
unicode-emoji (4.2.0)
6364
uri (1.1.1)
6465

6566
PLATFORMS
@@ -68,8 +69,8 @@ PLATFORMS
6869

6970
DEPENDENCIES
7071
base64 (~> 0.2.0)
71-
bundler (~> 2.1)
72-
cgi (~> 0.4.1)
72+
bundler (~> 4.0)
73+
cgi (~> 0.4)
7374
commonmarker (~> 2.0)
7475
ctf-party!
7576
docopt (~> 0.6)
@@ -81,4 +82,4 @@ DEPENDENCIES
8182
yard!
8283

8384
BUNDLED WITH
84-
2.6.2
85+
4.0.3

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2020-2020 Alexandre ZANNI
3+
Copyright (c) 2020-2026 Alexandre ZANNI
44
Copyright (c) 2019-2020 Alexandre ZANNI at Orange Cyberdefense
55

66
Permission is hereby granted, free of charge, to any person obtaining a copy

ctf_party.gemspec

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ Gem::Specification.new do |s|
3737
'rubygems_mfa_required' => 'true'
3838
}
3939

40-
s.required_ruby_version = ['>= 3.1.0', '< 4.0']
40+
s.required_ruby_version = ['>= 3.2.0', '< 5.0']
4141

4242
s.add_runtime_dependency('base64', '~> 0.2.0')
43+
s.add_runtime_dependency('cgi', '~> 0.4')
4344
s.add_runtime_dependency('docopt', '~> 0.6')
44-
s.add_runtime_dependency('uri', '~> 1.0', '>= 1.0.2')
45+
s.add_runtime_dependency('uri', '~> 1.1')
4546
end

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
version: '3'
33
services:
44
ctf-party:
5-
image: noraj/ctf-party:4.0.0
5+
image: noraj/ctf-party:5.0.0
66
user: noraj
77
container_name: ctf-party
88
read_only: false
99
build:
1010
context: .
1111
dockerfile: Dockerfile
1212
args:
13-
CTF_PARTY_VERSION: 4.0.0
13+
CTF_PARTY_VERSION: 5.0.0

docs/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
## [unreleased]
44

5+
## [5.0.0](https://github.com/noraj/ctf-party/releases/tag/v5.0.0)
6+
7+
- **Breaking changes**
8+
- **Drop Ruby 3.1 support** ([EOL](https://www.ruby-lang.org/en/downloads/branches/))
9+
- Chore:
10+
- Add support for Ruby 4.0
11+
512
## [4.0.1](https://github.com/noraj/ctf-party/releases/tag/v4.0.1)
613

714
- Fixes:

0 commit comments

Comments
 (0)