Skip to content

Commit 2564fee

Browse files
authored
feat: fix vulnerabilities (#190)
1 parent 7a7dff3 commit 2564fee

File tree

4 files changed

+65
-57
lines changed

4 files changed

+65
-57
lines changed

.github/workflows/lint_and_test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,21 @@ jobs:
2424
run: sed -i 's/:3.1-alpine/:${{ matrix.ruby }}-alpine/' Dockerfile
2525

2626
- name: Build
27-
run: docker-compose -p ci build --pull
27+
run: docker compose -p ci build --pull
2828
env:
2929
COMPOSE_DOCKER_CLI_BUILD: 1
3030
DOCKER_BUILDKIT: 1
3131

3232
- name: Test
33-
run: docker-compose -p ci run --name=test gem rake rspec:unit
33+
run: docker compose -p ci run --name=test gem rake rspec:unit
3434

3535
- name: Lint
3636
if: matrix.ruby == '3.1'
37-
run: docker-compose -p ci run --name=lint gem rubocop .
37+
run: docker compose -p ci run --name=lint gem rubocop .
3838

3939
- name: Archive code coverage results
4040
if: matrix.ruby == '3.1'
41-
uses: actions/upload-artifact@v2
41+
uses: actions/upload-artifact@v4
4242
with:
4343
name: code-coverage-report
4444
path: ./coverage

Gemfile.lock

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ GEM
3131
rainbow (3.1.1)
3232
rake (13.2.1)
3333
regexp_parser (2.9.2)
34-
rexml (3.3.1)
35-
strscan
34+
rexml (3.4.0)
3635
rspec (3.13.0)
3736
rspec-core (~> 3.13.0)
3837
rspec-expectations (~> 3.13.0)
@@ -80,7 +79,6 @@ GEM
8079
net-ssh (>= 2.7)
8180
net-telnet
8281
sfl
83-
strscan (3.1.0)
8482
unicode-display_width (2.5.0)
8583

8684
PLATFORMS

spec/dummy/rails/Gemfile.lock

Lines changed: 49 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,49 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
actionpack (7.1.3.4)
5-
actionview (= 7.1.3.4)
6-
activesupport (= 7.1.3.4)
4+
actionpack (8.0.1)
5+
actionview (= 8.0.1)
6+
activesupport (= 8.0.1)
77
nokogiri (>= 1.8.5)
8-
racc
98
rack (>= 2.2.4)
109
rack-session (>= 1.0.1)
1110
rack-test (>= 0.6.3)
1211
rails-dom-testing (~> 2.2)
1312
rails-html-sanitizer (~> 1.6)
14-
actionview (7.1.3.4)
15-
activesupport (= 7.1.3.4)
13+
useragent (~> 0.16)
14+
actionview (8.0.1)
15+
activesupport (= 8.0.1)
1616
builder (~> 3.1)
1717
erubi (~> 1.11)
1818
rails-dom-testing (~> 2.2)
1919
rails-html-sanitizer (~> 1.6)
20-
activesupport (7.1.3.4)
20+
activesupport (8.0.1)
2121
base64
22+
benchmark (>= 0.3)
2223
bigdecimal
23-
concurrent-ruby (~> 1.0, >= 1.0.2)
24+
concurrent-ruby (~> 1.0, >= 1.3.1)
2425
connection_pool (>= 2.2.5)
2526
drb
2627
i18n (>= 1.6, < 2)
28+
logger (>= 1.4.2)
2729
minitest (>= 5.1)
28-
mutex_m
29-
tzinfo (~> 2.0)
30+
securerandom (>= 0.3)
31+
tzinfo (~> 2.0, >= 2.0.5)
32+
uri (>= 0.13.1)
3033
ast (2.4.2)
3134
base64 (0.2.0)
32-
bigdecimal (3.1.8)
35+
benchmark (0.4.0)
36+
bigdecimal (3.1.9)
3337
builder (3.3.0)
3438
byebug (11.1.3)
3539
coderay (1.1.3)
36-
concurrent-ruby (1.3.3)
37-
connection_pool (2.4.1)
40+
concurrent-ruby (1.3.4)
41+
connection_pool (2.5.0)
3842
crass (1.0.6)
43+
date (3.4.1)
3944
diff-lcs (1.5.1)
4045
drb (2.2.1)
41-
erubi (1.13.0)
46+
erubi (1.13.1)
4247
ffi (1.17.0-x86_64-linux-gnu)
4348
formatador (1.1.0)
4449
guard (2.18.1)
@@ -50,26 +55,26 @@ GEM
5055
pry (>= 0.13.0)
5156
shellany (~> 0.0)
5257
thor (>= 0.18.1)
53-
i18n (1.14.5)
58+
i18n (1.14.6)
5459
concurrent-ruby (~> 1.0)
55-
io-console (0.7.2)
56-
irb (1.14.0)
60+
io-console (0.8.0)
61+
irb (1.14.3)
5762
rdoc (>= 4.0.0)
5863
reline (>= 0.4.2)
5964
json (2.7.2)
6065
language_server-protocol (3.17.0.3)
6166
listen (3.9.0)
6267
rb-fsevent (~> 0.10, >= 0.10.3)
6368
rb-inotify (~> 0.9, >= 0.9.10)
64-
loofah (2.22.0)
69+
logger (1.6.5)
70+
loofah (2.24.0)
6571
crass (~> 1.0.2)
6672
nokogiri (>= 1.12.0)
6773
lumberjack (1.2.10)
6874
method_source (1.1.0)
69-
minitest (5.24.1)
70-
mutex_m (0.2.0)
75+
minitest (5.25.4)
7176
nenv (0.3.0)
72-
nokogiri (1.16.6-x86_64-linux)
77+
nokogiri (1.18.1-x86_64-linux-gnu)
7378
racc (~> 1.4)
7479
notiffany (0.1.3)
7580
nenv (~> 0.1)
@@ -84,28 +89,29 @@ GEM
8489
pry-byebug (3.10.1)
8590
byebug (~> 11.0)
8691
pry (>= 0.13, < 0.15)
87-
psych (5.1.2)
92+
psych (5.2.2)
93+
date
8894
stringio
89-
racc (1.8.0)
90-
rack (3.1.6)
91-
rack-session (2.0.0)
95+
racc (1.8.1)
96+
rack (3.1.8)
97+
rack-session (2.1.0)
98+
base64 (>= 0.1.0)
9299
rack (>= 3.0.0)
93-
rack-test (2.1.0)
100+
rack-test (2.2.0)
94101
rack (>= 1.3)
95-
rackup (2.1.0)
102+
rackup (2.2.1)
96103
rack (>= 3)
97-
webrick (~> 1.8)
98104
rails-dom-testing (2.2.0)
99105
activesupport (>= 5.0.0)
100106
minitest
101107
nokogiri (>= 1.6)
102-
rails-html-sanitizer (1.6.0)
108+
rails-html-sanitizer (1.6.2)
103109
loofah (~> 2.21)
104-
nokogiri (~> 1.14)
105-
railties (7.1.3.4)
106-
actionpack (= 7.1.3.4)
107-
activesupport (= 7.1.3.4)
108-
irb
110+
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
111+
railties (8.0.1)
112+
actionpack (= 8.0.1)
113+
activesupport (= 8.0.1)
114+
irb (~> 1.13)
109115
rackup (>= 1.0.0)
110116
rake (>= 12.2)
111117
thor (~> 1.0, >= 1.2.2)
@@ -115,13 +121,12 @@ GEM
115121
rb-fsevent (0.11.2)
116122
rb-inotify (0.11.1)
117123
ffi (~> 1.0)
118-
rdoc (6.7.0)
124+
rdoc (6.10.0)
119125
psych (>= 4.0.0)
120126
regexp_parser (2.9.2)
121-
reline (0.5.9)
127+
reline (0.6.0)
122128
io-console (~> 0.5)
123-
rexml (3.3.1)
124-
strscan
129+
rexml (3.4.0)
125130
rspec (3.13.0)
126131
rspec-core (~> 3.13.0)
127132
rspec-expectations (~> 3.13.0)
@@ -149,15 +154,16 @@ GEM
149154
rubocop-ast (1.31.3)
150155
parser (>= 3.3.1.0)
151156
ruby-progressbar (1.13.0)
157+
securerandom (0.4.1)
152158
shellany (0.0.1)
153-
stringio (3.1.1)
154-
strscan (3.1.0)
155-
thor (1.3.1)
159+
stringio (3.1.2)
160+
thor (1.3.2)
156161
tzinfo (2.0.6)
157162
concurrent-ruby (~> 1.0)
158163
unicode-display_width (2.5.0)
159-
webrick (1.8.1)
160-
zeitwerk (2.6.16)
164+
uri (1.0.2)
165+
useragent (0.16.11)
166+
zeitwerk (2.7.1)
161167

162168
PLATFORMS
163169
x86_64-linux

spec/dummy/sinatra/Gemfile.lock

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,30 @@ GEM
33
specs:
44
base64 (0.2.0)
55
coderay (1.1.3)
6+
logger (1.6.5)
67
method_source (1.1.0)
7-
mustermann (3.0.0)
8+
mustermann (3.0.3)
89
ruby2_keywords (~> 0.0.1)
910
pry (0.14.2)
1011
coderay (~> 1.1)
1112
method_source (~> 1.0)
12-
rack (3.1.7)
13-
rack-protection (4.0.0)
13+
rack (3.1.8)
14+
rack-protection (4.1.1)
1415
base64 (>= 0.1.0)
16+
logger (>= 1.6.0)
1517
rack (>= 3.0.0, < 4)
16-
rack-session (2.0.0)
18+
rack-session (2.1.0)
19+
base64 (>= 0.1.0)
1720
rack (>= 3.0.0)
1821
ruby2_keywords (0.0.5)
19-
sinatra (4.0.0)
22+
sinatra (4.1.1)
23+
logger (>= 1.6.0)
2024
mustermann (~> 3.0)
2125
rack (>= 3.0.0, < 4)
22-
rack-protection (= 4.0.0)
26+
rack-protection (= 4.1.1)
2327
rack-session (>= 2.0.0, < 3)
2428
tilt (~> 2.0)
25-
tilt (2.4.0)
29+
tilt (2.6.0)
2630

2731
PLATFORMS
2832
ruby

0 commit comments

Comments
 (0)