Skip to content

Commit fe9a77e

Browse files
authored
Update all Bundler dependencies (2026-05-04) (#1509)
1 parent 7a7f798 commit fe9a77e

19 files changed

Lines changed: 78 additions & 79 deletions

.rubocop_todo.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# versions of RuboCop, may require this file to be generated again.
88

99
# Offense count: 3
10-
Capybara/NegationMatcherAfterVisit:
10+
Capybara/RSpec/NegationMatcherAfterVisit:
1111
Exclude:
1212
- 'spec/system/account_setup_spec.rb'
1313
- 'spec/system/stories_index_spec.rb'
@@ -328,12 +328,11 @@ Style/IfUnlessModifier:
328328
Exclude:
329329
- 'db/migrate/20240314031223_create_index_good_job_jobs_for_candidate_lookup.rb'
330330

331-
# Offense count: 2
331+
# Offense count: 1
332332
# Configuration parameters: AllowedClasses.
333333
Style/OneClassPerFile:
334334
Exclude:
335335
- 'config/application.rb'
336-
- 'spec/support/factory_bot.rb'
337336

338337
# Offense count: 1
339338
# This cop supports safe autocorrection (--autocorrect).

Gemfile.lock

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,12 @@ GEM
7878
addressable (2.9.0)
7979
public_suffix (>= 2.0.2, < 8.0)
8080
ast (2.4.3)
81-
axe-core-api (4.11.2)
81+
axe-core-api (4.11.3)
8282
dumb_delegator
8383
ostruct
8484
virtus
85-
axe-core-rspec (4.11.2)
86-
axe-core-api (= 4.11.2)
85+
axe-core-rspec (4.11.3)
86+
axe-core-api (= 4.11.3)
8787
dumb_delegator
8888
ostruct
8989
virtus
@@ -95,7 +95,7 @@ GEM
9595
bcrypt (3.1.22)
9696
bigdecimal (4.1.2)
9797
bindex (0.8.1)
98-
bootsnap (1.24.0)
98+
bootsnap (1.24.1)
9999
msgpack (~> 1.2)
100100
brakeman (8.0.4)
101101
racc
@@ -193,7 +193,7 @@ GEM
193193
reline (>= 0.4.2)
194194
jsbundling-rails (1.3.1)
195195
railties (>= 6.0.0)
196-
json (2.19.4)
196+
json (2.19.5)
197197
language_server-protocol (3.17.0.5)
198198
lint_roller (1.1.0)
199199
logger (1.7.0)
@@ -211,12 +211,12 @@ GEM
211211
method_source (1.1.0)
212212
mini_mime (1.1.5)
213213
mini_portile2 (2.8.9)
214-
minitest (6.0.5)
214+
minitest (6.0.6)
215215
drb (~> 2.0)
216216
prism (~> 1.5)
217217
mize (0.6.1)
218218
msgpack (1.8.0)
219-
multi_xml (0.8.1)
219+
multi_xml (0.9.0)
220220
bigdecimal (>= 3.1, < 5)
221221
net-imap (0.6.4)
222222
date
@@ -228,7 +228,7 @@ GEM
228228
net-smtp (0.5.1)
229229
net-protocol
230230
nio4r (2.7.5)
231-
nokogiri (1.19.2)
231+
nokogiri (1.19.3)
232232
mini_portile2 (~> 2.8.2)
233233
racc (~> 1.4)
234234
ostruct (0.6.3)
@@ -352,9 +352,9 @@ GEM
352352
rubocop-ast (1.49.1)
353353
parser (>= 3.3.7.2)
354354
prism (~> 1.7)
355-
rubocop-capybara (2.22.1)
355+
rubocop-capybara (2.23.0)
356356
lint_roller (~> 1.1)
357-
rubocop (~> 1.72, >= 1.72.1)
357+
rubocop (~> 1.81)
358358
rubocop-factory_bot (2.28.0)
359359
lint_roller (~> 1.1)
360360
rubocop (~> 1.72, >= 1.72.1)

spec/system/account_setup_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def fill_in_fields(username:, confirm: "my-password")
2121

2222
fill_in_fields(username: "my-username", confirm: "wrong-password")
2323

24-
expect(page).to have_content("doesn't match")
24+
expect(page).to have_text("doesn't match")
2525
end
2626

2727
it "allows a second user to sign up" do

spec/system/add_feed_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def submit_feed(url)
1919

2020
submit_feed("http://example.com/feed.xml")
2121

22-
expect(page).to have_content("We've added your new feed")
22+
expect(page).to have_text("We've added your new feed")
2323
end
2424

2525
it "shows an error when the feed is not found" do
@@ -28,7 +28,7 @@ def submit_feed(url)
2828

2929
submit_feed("http://example.com/bad")
3030

31-
expect(page).to have_content("We couldn't find that feed")
31+
expect(page).to have_text("We couldn't find that feed")
3232
end
3333

3434
it "shows an error when already subscribed" do
@@ -39,6 +39,6 @@ def submit_feed(url)
3939

4040
submit_feed(url)
4141

42-
expect(page).to have_content("You are already subscribed")
42+
expect(page).to have_text("You are already subscribed")
4343
end
4444
end

spec/system/application_settings_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
within("form", text: "User signups are disabled") { click_on("Enable") }
99

10-
expect(page).to have_content("User signups are enabled")
10+
expect(page).to have_text("User signups are enabled")
1111
end
1212

1313
it "allows disabling account creation" do
@@ -17,15 +17,15 @@
1717

1818
within("form", text: "User signups are enabled") { click_on("Disable") }
1919

20-
expect(page).to have_content("User signups are disabled")
20+
expect(page).to have_text("User signups are disabled")
2121
end
2222

2323
it "blocks non-admin users from settings" do
2424
login_as(default_user)
2525

2626
visit(settings_path)
2727

28-
expect(page).to have_content("No route matches")
28+
expect(page).to have_text("No route matches")
2929
end
3030

3131
it "prevents signup when signups are disabled" do

spec/system/archive_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ def create_read_stories(count)
1111

1212
visit(archive_path)
1313

14-
expect(page).to have_content("Old Story")
14+
expect(page).to have_text("Old Story")
1515
end
1616

1717
it "shows a message when no stories have been read" do
1818
login_as(default_user)
1919

2020
visit(archive_path)
2121

22-
expect(page).to have_content("you haven't read any stories")
22+
expect(page).to have_text("you haven't read any stories")
2323
end
2424

2525
it "paginates read stories" do
@@ -38,7 +38,7 @@ def create_read_stories(count)
3838

3939
click_on("Next")
4040

41-
expect(page).to have_content("2 of 2")
41+
expect(page).to have_text("2 of 2")
4242
expect(page).to have_link("Previous")
4343
end
4444

spec/system/debug_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,30 @@
66

77
visit("/admin/debug")
88

9-
expect(page).to have_content(RUBY_VERSION)
9+
expect(page).to have_text(RUBY_VERSION)
1010
end
1111

1212
it "shows None when there are no pending migrations" do
1313
login_as(create(:user, admin: true))
1414

1515
visit("/admin/debug")
1616

17-
expect(page).to have_content("None")
17+
expect(page).to have_text("None")
1818
end
1919

2020
it "shows the queued jobs count" do
2121
login_as(create(:user, admin: true))
2222

2323
visit("/admin/debug")
2424

25-
expect(page).to have_content("Queued Jobs")
25+
expect(page).to have_text("Queued Jobs")
2626
end
2727

2828
it "blocks non-admin users" do
2929
login_as(default_user)
3030

3131
visit("/admin/debug")
3232

33-
expect(page).to have_content("No route matches")
33+
expect(page).to have_text("No route matches")
3434
end
3535
end

spec/system/feed_edit_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def visit_edit_feed
2020
fill_in("Feed Name", with: "New Name")
2121
click_on("Save")
2222

23-
expect(page).to have_content("Updated the feed")
23+
expect(page).to have_text("Updated the feed")
2424
end
2525

2626
it "allows updating a feed URL" do
@@ -30,7 +30,7 @@ def visit_edit_feed
3030
fill_in("Feed URL", with: "http://new.example.com")
3131
click_on("Save")
3232

33-
expect(page).to have_content("Updated the feed")
33+
expect(page).to have_text("Updated the feed")
3434
end
3535

3636
it "pre-selects the feed's current group in the dropdown" do

spec/system/feed_show_spec.rb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ def create_and_visit_feed(story_title: nil)
1313

1414
feed = create_and_visit_feed
1515

16-
expect(page).to have_content(feed.name)
16+
expect(page).to have_text(feed.name)
1717
end
1818

1919
it "displays stories for the feed" do
2020
login_as(default_user)
2121

2222
create_and_visit_feed(story_title: "My Story")
2323

24-
expect(page).to have_content("My Story")
24+
expect(page).to have_text("My Story")
2525
end
2626

2727
it "marks all stories as read" do
@@ -30,7 +30,7 @@ def create_and_visit_feed(story_title: nil)
3030

3131
find_by_id("mark-all").click
3232

33-
expect(page).to have_content("You've reached RSS Zero")
33+
expect(page).to have_text("You've reached RSS Zero")
3434
end
3535

3636
it "refreshes the feed" do
@@ -40,7 +40,7 @@ def create_and_visit_feed(story_title: nil)
4040

4141
find_by_id("refresh").click
4242

43-
expect(page).to have_content("New Story")
43+
expect(page).to have_text("New Story")
4444
end
4545

4646
it "marks all stories as read with A hotkey" do
@@ -49,7 +49,7 @@ def create_and_visit_feed(story_title: nil)
4949

5050
send_keys("A")
5151

52-
expect(page).to have_content("You've reached RSS Zero")
52+
expect(page).to have_text("You've reached RSS Zero")
5353
end
5454

5555
it "refreshes the feed with r hotkey" do
@@ -59,7 +59,7 @@ def create_and_visit_feed(story_title: nil)
5959

6060
send_keys("r")
6161

62-
expect(page).to have_content("New Story")
62+
expect(page).to have_text("New Story")
6363
end
6464

6565
it "navigates to add feed with a hotkey" do
@@ -78,7 +78,7 @@ def create_and_visit_feed(story_title: nil)
7878

7979
visit("/feed/#{feed.id}")
8080

81-
expect(page).to have_content("Read Story")
81+
expect(page).to have_text("Read Story")
8282
end
8383

8484
it "navigates home with the home button" do
@@ -106,6 +106,6 @@ def create_and_visit_feed(story_title: nil)
106106
find_by_id("mark-all").click
107107
visit(news_path)
108108

109-
expect(page).to have_content("Other Story")
109+
expect(page).to have_text("Other Story")
110110
end
111111
end

spec/system/feeds_index_spec.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
visit "/feeds"
1717

18-
expect(page).to have_content("Hey, you should add some feeds")
18+
expect(page).to have_text("Hey, you should add some feeds")
1919
end
2020

2121
it "allows the user to delete a feed" do
@@ -25,7 +25,7 @@
2525
visit("/feeds")
2626
click_on "Delete"
2727

28-
expect(page).to have_content("Feed deleted")
28+
expect(page).to have_text("Feed deleted")
2929
end
3030

3131
it "removes stories from news when a feed is deleted" do
@@ -37,7 +37,7 @@
3737
click_on "Delete"
3838
visit(news_path)
3939

40-
expect(page).to have_content("You've reached RSS Zero")
40+
expect(page).to have_text("You've reached RSS Zero")
4141
end
4242

4343
it "allows the user to edit a feed" do
@@ -66,7 +66,7 @@
6666

6767
visit "/feeds"
6868

69-
expect(page).to have_content("Never")
69+
expect(page).to have_text("Never")
7070
end
7171

7272
it "displays the last fetched timestamp" do
@@ -75,7 +75,7 @@
7575

7676
visit "/feeds"
7777

78-
expect(page).to have_content("Jun 15, 10:30")
78+
expect(page).to have_text("Jun 15, 10:30")
7979
end
8080

8181
it "links to the feed" do

0 commit comments

Comments
 (0)