Skip to content

Commit c66bf4d

Browse files
committed
Update to Rails 8
1 parent 1d2a853 commit c66bf4d

File tree

5 files changed

+103
-68
lines changed

5 files changed

+103
-68
lines changed

.github/workflows/ruby-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
strategy:
1515
fail-fast: true
1616
matrix:
17-
ruby: ['3.3', '3.2', '3.1']
18-
gemfile: ['rails61', 'rails7', 'rails71']
17+
ruby: ['3.4', '3.3', '3.2']
18+
gemfile: ['rails71', 'rails8']
1919

2020
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
2121
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile

Gemfile.lock

Lines changed: 96 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -2,91 +2,134 @@ PATH
22
remote: .
33
specs:
44
cognito_token_verifier (0.7.0)
5-
activesupport (>= 6.1)
5+
activesupport (>= 7.1)
66
json-jwt (~> 1.11)
77
rest-client (~> 2.0)
88

99
GEM
1010
remote: https://rubygems.org/
1111
specs:
12-
actionpack (6.1.7.9)
13-
actionview (= 6.1.7.9)
14-
activesupport (= 6.1.7.9)
15-
rack (~> 2.0, >= 2.0.9)
12+
actionpack (8.0.2)
13+
actionview (= 8.0.2)
14+
activesupport (= 8.0.2)
15+
nokogiri (>= 1.8.5)
16+
rack (>= 2.2.4)
17+
rack-session (>= 1.0.1)
1618
rack-test (>= 0.6.3)
17-
rails-dom-testing (~> 2.0)
18-
rails-html-sanitizer (~> 1.0, >= 1.2.0)
19-
actionview (6.1.7.9)
20-
activesupport (= 6.1.7.9)
19+
rails-dom-testing (~> 2.2)
20+
rails-html-sanitizer (~> 1.6)
21+
useragent (~> 0.16)
22+
actionview (8.0.2)
23+
activesupport (= 8.0.2)
2124
builder (~> 3.1)
22-
erubi (~> 1.4)
23-
rails-dom-testing (~> 2.0)
24-
rails-html-sanitizer (~> 1.1, >= 1.2.0)
25-
activesupport (6.1.7.9)
26-
concurrent-ruby (~> 1.0, >= 1.0.2)
25+
erubi (~> 1.11)
26+
rails-dom-testing (~> 2.2)
27+
rails-html-sanitizer (~> 1.6)
28+
activesupport (8.0.2)
29+
base64
30+
benchmark (>= 0.3)
31+
bigdecimal
32+
concurrent-ruby (~> 1.0, >= 1.3.1)
33+
connection_pool (>= 2.2.5)
34+
drb
2735
i18n (>= 1.6, < 2)
36+
logger (>= 1.4.2)
2837
minitest (>= 5.1)
29-
tzinfo (~> 2.0)
30-
zeitwerk (~> 2.3)
38+
securerandom (>= 0.3)
39+
tzinfo (~> 2.0, >= 2.0.5)
40+
uri (>= 0.13.1)
3141
aes_key_wrap (1.1.0)
3242
base64 (0.2.0)
43+
benchmark (0.4.0)
44+
bigdecimal (3.1.9)
3345
bindata (2.5.0)
3446
builder (3.3.0)
3547
byebug (11.1.3)
36-
concurrent-ruby (1.3.4)
48+
concurrent-ruby (1.3.5)
49+
connection_pool (2.5.0)
3750
crass (1.0.6)
38-
diff-lcs (1.5.1)
51+
date (3.4.1)
52+
diff-lcs (1.6.0)
3953
domain_name (0.6.20240107)
40-
erubi (1.13.0)
41-
faraday (2.8.1)
42-
base64
43-
faraday-net_http (>= 2.0, < 3.1)
44-
ruby2_keywords (>= 0.0.4)
54+
drb (2.2.1)
55+
erubi (1.13.1)
56+
faraday (2.12.2)
57+
faraday-net_http (>= 2.0, < 3.5)
58+
json
59+
logger
4560
faraday-follow_redirects (0.3.0)
4661
faraday (>= 1, < 3)
47-
faraday-net_http (3.0.2)
62+
faraday-net_http (3.4.0)
63+
net-http (>= 0.5.0)
4864
http-accept (1.7.0)
49-
http-cookie (1.0.5)
65+
http-cookie (1.0.8)
5066
domain_name (~> 0.5)
51-
i18n (1.14.6)
67+
i18n (1.14.7)
5268
concurrent-ruby (~> 1.0)
53-
json-jwt (1.16.6)
69+
io-console (0.8.0)
70+
irb (1.15.1)
71+
pp (>= 0.6.0)
72+
rdoc (>= 4.0.0)
73+
reline (>= 0.4.2)
74+
json (2.10.2)
75+
json-jwt (1.16.7)
5476
activesupport (>= 4.2)
5577
aes_key_wrap
5678
base64
5779
bindata
5880
faraday (~> 2.0)
5981
faraday-follow_redirects
60-
loofah (2.22.0)
82+
logger (1.6.6)
83+
loofah (2.24.0)
6184
crass (~> 1.0.2)
6285
nokogiri (>= 1.12.0)
63-
method_source (1.0.0)
64-
mime-types (3.5.2)
86+
mime-types (3.6.1)
87+
logger
6588
mime-types-data (~> 3.2015)
66-
mime-types-data (3.2024.0206)
67-
mini_portile2 (2.8.7)
68-
minitest (5.25.1)
89+
mime-types-data (3.2025.0318)
90+
mini_portile2 (2.8.8)
91+
minitest (5.25.5)
92+
net-http (0.6.0)
93+
uri
6994
netrc (0.11.0)
70-
nokogiri (1.13.10)
71-
mini_portile2 (~> 2.8.0)
95+
nokogiri (1.18.5)
96+
mini_portile2 (~> 2.8.2)
7297
racc (~> 1.4)
98+
pp (0.6.2)
99+
prettyprint
100+
prettyprint (0.2.0)
101+
psych (5.2.3)
102+
date
103+
stringio
73104
racc (1.8.1)
74-
rack (2.2.13)
75-
rack-test (2.1.0)
105+
rack (3.1.12)
106+
rack-session (2.1.0)
107+
base64 (>= 0.1.0)
108+
rack (>= 3.0.0)
109+
rack-test (2.2.0)
76110
rack (>= 1.3)
111+
rackup (2.2.1)
112+
rack (>= 3)
77113
rails-dom-testing (2.2.0)
78114
activesupport (>= 5.0.0)
79115
minitest
80116
nokogiri (>= 1.6)
81-
rails-html-sanitizer (1.5.0)
82-
loofah (~> 2.19, >= 2.19.1)
83-
railties (6.1.7.9)
84-
actionpack (= 6.1.7.9)
85-
activesupport (= 6.1.7.9)
86-
method_source
117+
rails-html-sanitizer (1.6.2)
118+
loofah (~> 2.21)
119+
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)
120+
railties (8.0.2)
121+
actionpack (= 8.0.2)
122+
activesupport (= 8.0.2)
123+
irb (~> 1.13)
124+
rackup (>= 1.0.0)
87125
rake (>= 12.2)
88-
thor (~> 1.0)
89-
rake (13.1.0)
126+
thor (~> 1.0, >= 1.2.2)
127+
zeitwerk (~> 2.6)
128+
rake (13.2.1)
129+
rdoc (6.12.0)
130+
psych (>= 4.0.0)
131+
reline (0.6.0)
132+
io-console (~> 0.5)
90133
rest-client (2.1.0)
91134
http-accept (>= 1.7.0, < 2.0)
92135
http-cookie (>= 1.0.2, < 2.0)
@@ -109,21 +152,24 @@ GEM
109152
rspec-mocks (~> 3.9.0)
110153
rspec-support (~> 3.9.0)
111154
rspec-support (3.9.4)
112-
ruby2_keywords (0.0.5)
113-
thor (1.3.1)
155+
securerandom (0.4.1)
156+
stringio (3.1.5)
157+
thor (1.3.2)
114158
tzinfo (2.0.6)
115159
concurrent-ruby (~> 1.0)
116-
zeitwerk (2.6.18)
160+
uri (1.0.3)
161+
useragent (0.16.11)
162+
zeitwerk (2.7.2)
117163

118164
PLATFORMS
119165
ruby
120166

121167
DEPENDENCIES
122-
actionpack (>= 6.1)
168+
actionpack (>= 7.1)
123169
bundler (~> 2.0)
124170
byebug (~> 11.0)
125171
cognito_token_verifier!
126-
rake (>= 10.0, < 14.0)
172+
rake (>= 13.0, < 14.0)
127173
rspec-rails (~> 3.0)
128174

129175
BUNDLED WITH

cognito_token_verifier.gemspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ Gem::Specification.new do |spec|
3131
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
3232
spec.require_paths = ["lib"]
3333

34-
spec.add_runtime_dependency "activesupport", [">= 6.1"]
34+
spec.add_runtime_dependency "activesupport", [">= 7.1"]
3535
spec.add_runtime_dependency "json-jwt", "~> 1.11"
3636
spec.add_runtime_dependency "rest-client", "~> 2.0"
3737

3838
spec.add_development_dependency "byebug", "~> 11.0"
3939
spec.add_development_dependency "bundler", "~> 2.0"
40-
spec.add_development_dependency "rake", [">= 10.0", "< 14.0"]
40+
spec.add_development_dependency "rake", [">= 13.0", "< 14.0"]
4141
spec.add_development_dependency "rspec-rails", "~> 3.0"
42-
spec.add_development_dependency "actionpack", [">= 6.1"]
42+
spec.add_development_dependency "actionpack", [">= 7.1"]
4343
end

gemfiles/rails7.gemfile

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
source "https://rubygems.org"
22

3-
gem "activesupport", "~> 6.1.0"
3+
gem "activesupport", "~> 8.0.0"
44
gem "json-jwt", "~> 1.11"
55
gem "rest-client", "~> 2.0"
66

77
gem "byebug"
88
gem "bundler", "~> 2.0"
99
gem "rake", "~> 12.0"
1010
gem "rspec-rails", "~> 3.0"
11-
gem "actionpack", "~> 6.1.0"
11+
gem "actionpack", "~> 8.0.0"

0 commit comments

Comments
 (0)