Skip to content

Commit 686a4e9

Browse files
committed
additional upgrades
1 parent 7755d99 commit 686a4e9

4 files changed

Lines changed: 80 additions & 65 deletions

File tree

.rubocop.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins:
22
- rubocop-rspec
33
- rubocop-performance
4+
- rubocop-rspec_rails
45

56
AllCops:
67
NewCops: enable

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ gem "rspec-rails"
1717
gem "rubocop"
1818
gem "rubocop-performance"
1919
gem "rubocop-rspec"
20+
gem "rubocop-rspec_rails"
2021
gem "simplecov"
2122
gem "sqlite3", "~> 1.7"
2223
gem "standard"

Gemfile.lock

Lines changed: 77 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -9,40 +9,42 @@ PATH
99
GEM
1010
remote: https://rubygems.org/
1111
specs:
12-
actionmailer (7.2.2.2)
13-
actionpack (= 7.2.2.2)
14-
actionview (= 7.2.2.2)
15-
activejob (= 7.2.2.2)
16-
activesupport (= 7.2.2.2)
12+
actionmailer (7.2.3)
13+
actionpack (= 7.2.3)
14+
actionview (= 7.2.3)
15+
activejob (= 7.2.3)
16+
activesupport (= 7.2.3)
1717
mail (>= 2.8.0)
1818
rails-dom-testing (~> 2.2)
19-
actionpack (7.2.2.2)
20-
actionview (= 7.2.2.2)
21-
activesupport (= 7.2.2.2)
19+
actionpack (7.2.3)
20+
actionview (= 7.2.3)
21+
activesupport (= 7.2.3)
22+
cgi
2223
nokogiri (>= 1.8.5)
2324
racc
24-
rack (>= 2.2.4, < 3.2)
25+
rack (>= 2.2.4, < 3.3)
2526
rack-session (>= 1.0.1)
2627
rack-test (>= 0.6.3)
2728
rails-dom-testing (~> 2.2)
2829
rails-html-sanitizer (~> 1.6)
2930
useragent (~> 0.16)
30-
actionview (7.2.2.2)
31-
activesupport (= 7.2.2.2)
31+
actionview (7.2.3)
32+
activesupport (= 7.2.3)
3233
builder (~> 3.1)
34+
cgi
3335
erubi (~> 1.11)
3436
rails-dom-testing (~> 2.2)
3537
rails-html-sanitizer (~> 1.6)
36-
activejob (7.2.2.2)
37-
activesupport (= 7.2.2.2)
38+
activejob (7.2.3)
39+
activesupport (= 7.2.3)
3840
globalid (>= 0.3.6)
39-
activemodel (7.2.2.2)
40-
activesupport (= 7.2.2.2)
41-
activerecord (7.2.2.2)
42-
activemodel (= 7.2.2.2)
43-
activesupport (= 7.2.2.2)
41+
activemodel (7.2.3)
42+
activesupport (= 7.2.3)
43+
activerecord (7.2.3)
44+
activemodel (= 7.2.3)
45+
activesupport (= 7.2.3)
4446
timeout (>= 0.4.0)
45-
activesupport (7.2.2.2)
47+
activesupport (7.2.3)
4648
base64
4749
benchmark (>= 0.3)
4850
bigdecimal
@@ -63,18 +65,19 @@ GEM
6365
ast (2.4.3)
6466
base64 (0.3.0)
6567
bcrypt (3.1.20)
66-
benchmark (0.4.1)
67-
bigdecimal (3.2.3)
68+
benchmark (0.5.0)
69+
bigdecimal (3.3.1)
6870
builder (3.3.0)
6971
byebug (12.0.0)
7072
castle-rb (8.1.0)
73+
cgi (0.5.0)
7174
concurrent-ruby (1.3.5)
7275
connection_pool (2.5.4)
73-
crack (1.0.0)
76+
crack (1.0.1)
7477
bigdecimal
7578
rexml
7679
crass (1.0.6)
77-
date (3.4.1)
80+
date (3.5.0)
7881
devise (4.9.4)
7982
bcrypt (~> 3.0)
8083
orm_adapter (~> 0.1)
@@ -84,34 +87,35 @@ GEM
8487
diff-lcs (1.6.2)
8588
docile (1.4.1)
8689
drb (2.2.3)
87-
erb (5.0.1)
90+
erb (5.1.3)
8891
erubi (1.13.1)
89-
globalid (1.2.1)
92+
globalid (1.3.0)
9093
activesupport (>= 6.1)
91-
hashdiff (1.2.0)
94+
hashdiff (1.2.1)
9295
i18n (1.14.7)
9396
concurrent-ruby (~> 1.0)
94-
io-console (0.8.0)
95-
irb (1.15.2)
97+
io-console (0.8.1)
98+
irb (1.15.3)
9699
pp (>= 0.6.0)
97100
rdoc (>= 4.0.0)
98101
reline (>= 0.4.2)
99-
json (2.12.2)
102+
json (2.16.0)
100103
language_server-protocol (3.17.0.5)
101104
lint_roller (1.1.0)
102105
logger (1.7.0)
103106
loofah (2.24.1)
104107
crass (~> 1.0.2)
105108
nokogiri (>= 1.12.0)
106-
mail (2.8.1)
109+
mail (2.9.0)
110+
logger
107111
mini_mime (>= 0.1.1)
108112
net-imap
109113
net-pop
110114
net-smtp
111115
mini_mime (1.1.5)
112-
minitest (5.25.5)
116+
minitest (5.26.1)
113117
mutex_m (0.3.0)
114-
net-imap (0.5.8)
118+
net-imap (0.5.12)
115119
date
116120
net-protocol
117121
net-pop (0.1.2)
@@ -120,27 +124,27 @@ GEM
120124
timeout
121125
net-smtp (0.5.1)
122126
net-protocol
123-
nokogiri (1.18.8-aarch64-linux-gnu)
127+
nokogiri (1.18.10-aarch64-linux-gnu)
124128
racc (~> 1.4)
125-
nokogiri (1.18.8-arm64-darwin)
129+
nokogiri (1.18.10-arm64-darwin)
126130
racc (~> 1.4)
127-
nokogiri (1.18.8-x86_64-darwin)
131+
nokogiri (1.18.10-x86_64-darwin)
128132
racc (~> 1.4)
129133
orm_adapter (0.5.0)
130134
parallel (1.27.0)
131-
parser (3.3.8.0)
135+
parser (3.3.10.0)
132136
ast (~> 2.4.1)
133137
racc
134-
pp (0.6.2)
138+
pp (0.6.3)
135139
prettyprint
136140
prettyprint (0.2.0)
137-
prism (1.4.0)
141+
prism (1.6.0)
138142
psych (5.2.6)
139143
date
140144
stringio
141145
public_suffix (6.0.2)
142146
racc (1.8.1)
143-
rack (3.1.16)
147+
rack (3.2.4)
144148
rack-session (2.1.1)
145149
base64 (>= 0.1.0)
146150
rack (>= 3.0.0)
@@ -155,36 +159,39 @@ GEM
155159
rails-html-sanitizer (1.6.2)
156160
loofah (~> 2.21)
157161
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)
158-
railties (7.2.2.2)
159-
actionpack (= 7.2.2.2)
160-
activesupport (= 7.2.2.2)
162+
railties (7.2.3)
163+
actionpack (= 7.2.3)
164+
activesupport (= 7.2.3)
165+
cgi
161166
irb (~> 1.13)
162167
rackup (>= 1.0.0)
163168
rake (>= 12.2)
164169
thor (~> 1.0, >= 1.2.2)
170+
tsort (>= 0.2)
165171
zeitwerk (~> 2.6)
166172
rainbow (3.1.1)
167-
rake (13.3.0)
168-
rdoc (6.14.0)
173+
rake (13.3.1)
174+
rdoc (6.15.1)
169175
erb
170176
psych (>= 4.0.0)
171-
regexp_parser (2.10.0)
172-
reline (0.6.1)
177+
tsort
178+
regexp_parser (2.11.3)
179+
reline (0.6.3)
173180
io-console (~> 0.5)
174181
responders (3.1.1)
175182
actionpack (>= 5.2)
176183
railties (>= 5.2)
177-
rexml (3.4.1)
178-
rspec (3.13.1)
184+
rexml (3.4.4)
185+
rspec (3.13.2)
179186
rspec-core (~> 3.13.0)
180187
rspec-expectations (~> 3.13.0)
181188
rspec-mocks (~> 3.13.0)
182-
rspec-core (3.13.4)
189+
rspec-core (3.13.6)
183190
rspec-support (~> 3.13.0)
184191
rspec-expectations (3.13.5)
185192
diff-lcs (>= 1.2.0, < 2.0)
186193
rspec-support (~> 3.13.0)
187-
rspec-mocks (3.13.5)
194+
rspec-mocks (3.13.7)
188195
diff-lcs (>= 1.2.0, < 2.0)
189196
rspec-support (~> 3.13.0)
190197
rspec-rails (8.0.0)
@@ -195,19 +202,19 @@ GEM
195202
rspec-expectations (~> 3.13)
196203
rspec-mocks (~> 3.13)
197204
rspec-support (~> 3.13)
198-
rspec-support (3.13.4)
199-
rubocop (1.75.8)
205+
rspec-support (3.13.6)
206+
rubocop (1.80.2)
200207
json (~> 2.3)
201208
language_server-protocol (~> 3.17.0.2)
202209
lint_roller (~> 1.1.0)
203210
parallel (~> 1.10)
204211
parser (>= 3.3.0.2)
205212
rainbow (>= 2.2.2, < 4.0)
206213
regexp_parser (>= 2.9.3, < 3.0)
207-
rubocop-ast (>= 1.44.0, < 2.0)
214+
rubocop-ast (>= 1.46.0, < 2.0)
208215
ruby-progressbar (~> 1.7)
209216
unicode-display_width (>= 2.4.0, < 4.0)
210-
rubocop-ast (1.45.1)
217+
rubocop-ast (1.48.0)
211218
parser (>= 3.3.7.2)
212219
prism (~> 1.4)
213220
rubocop-performance (1.25.0)
@@ -217,21 +224,25 @@ GEM
217224
rubocop-rspec (3.7.0)
218225
lint_roller (~> 1.1)
219226
rubocop (~> 1.72, >= 1.72.1)
227+
rubocop-rspec_rails (2.32.0)
228+
lint_roller (~> 1.1)
229+
rubocop (~> 1.72, >= 1.72.1)
230+
rubocop-rspec (~> 3.5)
220231
ruby-progressbar (1.13.0)
221232
securerandom (0.4.1)
222233
simplecov (0.22.0)
223234
docile (~> 1.1)
224235
simplecov-html (~> 0.11)
225236
simplecov_json_formatter (~> 0.1)
226-
simplecov-html (0.13.1)
237+
simplecov-html (0.13.2)
227238
simplecov_json_formatter (0.1.4)
228239
sqlite3 (1.7.3-aarch64-linux)
229240
sqlite3 (1.7.3-arm64-darwin)
230241
sqlite3 (1.7.3-x86_64-darwin)
231-
standard (1.50.0)
242+
standard (1.51.1)
232243
language_server-protocol (~> 3.17.0.2)
233244
lint_roller (~> 1.0)
234-
rubocop (~> 1.75.5)
245+
rubocop (~> 1.80.2)
235246
standard-custom (~> 1.0.0)
236247
standard-performance (~> 1.8)
237248
standard-custom (1.0.2)
@@ -240,20 +251,21 @@ GEM
240251
standard-performance (1.8.0)
241252
lint_roller (~> 1.1)
242253
rubocop-performance (~> 1.25.0)
243-
stringio (3.1.7)
244-
thor (1.3.2)
245-
timeout (0.4.3)
254+
stringio (3.1.8)
255+
thor (1.4.0)
256+
timeout (0.4.4)
257+
tsort (0.2.0)
246258
tzinfo (2.0.6)
247259
concurrent-ruby (~> 1.0)
248-
unicode-display_width (3.1.4)
249-
unicode-emoji (~> 4.0, >= 4.0.4)
250-
unicode-emoji (4.0.4)
260+
unicode-display_width (3.2.0)
261+
unicode-emoji (~> 4.1)
262+
unicode-emoji (4.1.0)
251263
useragent (0.16.11)
252264
vcr (6.3.1)
253265
base64
254266
warden (1.2.9)
255267
rack (>= 2.0.9)
256-
webmock (3.25.1)
268+
webmock (3.26.1)
257269
addressable (>= 2.8.0)
258270
crack (>= 0.3.2)
259271
hashdiff (>= 0.4.0, < 2.0.0)
@@ -283,6 +295,7 @@ DEPENDENCIES
283295
rubocop
284296
rubocop-performance
285297
rubocop-rspec
298+
rubocop-rspec_rails
286299
simplecov
287300
sqlite3 (~> 1.7)
288301
standard

spec/castle_devise/integration/login_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def send_authenticated_request
7171
end
7272

7373
it "redirects" do
74-
expect(response.status).to eq(302)
74+
expect(response).to have_http_status(:found)
7575
end
7676
end
7777
end

0 commit comments

Comments
 (0)