From 77a1357515e7fadfc49ce383168991e326b67311 Mon Sep 17 00:00:00 2001 From: "depfu[bot]" <23717796+depfu[bot]@users.noreply.github.com> Date: Mon, 4 May 2026 06:11:43 +0000 Subject: [PATCH] Update all Bundler dependencies (2026-05-04) --- .rubocop_todo.yml | 5 ++--- Gemfile.lock | 20 ++++++++++---------- spec/system/account_setup_spec.rb | 2 +- spec/system/add_feed_spec.rb | 6 +++--- spec/system/application_settings_spec.rb | 6 +++--- spec/system/archive_spec.rb | 6 +++--- spec/system/debug_spec.rb | 8 ++++---- spec/system/feed_edit_spec.rb | 4 ++-- spec/system/feed_show_spec.rb | 16 ++++++++-------- spec/system/feeds_index_spec.rb | 10 +++++----- spec/system/good_job_spec.rb | 2 +- spec/system/heroku_spec.rb | 4 ++-- spec/system/import_spec.rb | 6 +++--- spec/system/keyboard_shortcuts_spec.rb | 8 ++++---- spec/system/login_spec.rb | 6 +++--- spec/system/multi_user_isolation_spec.rb | 8 ++++---- spec/system/starred_spec.rb | 18 +++++++++--------- spec/system/stories_index_spec.rb | 18 +++++++++--------- spec/system/tutorial_spec.rb | 4 ++-- 19 files changed, 78 insertions(+), 79 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 7137babc7..ba54c83aa 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -7,7 +7,7 @@ # versions of RuboCop, may require this file to be generated again. # Offense count: 3 -Capybara/NegationMatcherAfterVisit: +Capybara/RSpec/NegationMatcherAfterVisit: Exclude: - 'spec/system/account_setup_spec.rb' - 'spec/system/stories_index_spec.rb' @@ -328,12 +328,11 @@ Style/IfUnlessModifier: Exclude: - 'db/migrate/20240314031223_create_index_good_job_jobs_for_candidate_lookup.rb' -# Offense count: 2 +# Offense count: 1 # Configuration parameters: AllowedClasses. Style/OneClassPerFile: Exclude: - 'config/application.rb' - - 'spec/support/factory_bot.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). diff --git a/Gemfile.lock b/Gemfile.lock index 3f82fb8bf..cfe0ea9c3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -78,12 +78,12 @@ GEM addressable (2.9.0) public_suffix (>= 2.0.2, < 8.0) ast (2.4.3) - axe-core-api (4.11.2) + axe-core-api (4.11.3) dumb_delegator ostruct virtus - axe-core-rspec (4.11.2) - axe-core-api (= 4.11.2) + axe-core-rspec (4.11.3) + axe-core-api (= 4.11.3) dumb_delegator ostruct virtus @@ -95,7 +95,7 @@ GEM bcrypt (3.1.22) bigdecimal (4.1.2) bindex (0.8.1) - bootsnap (1.24.0) + bootsnap (1.24.1) msgpack (~> 1.2) brakeman (8.0.4) racc @@ -193,7 +193,7 @@ GEM reline (>= 0.4.2) jsbundling-rails (1.3.1) railties (>= 6.0.0) - json (2.19.4) + json (2.19.5) language_server-protocol (3.17.0.5) lint_roller (1.1.0) logger (1.7.0) @@ -211,12 +211,12 @@ GEM method_source (1.1.0) mini_mime (1.1.5) mini_portile2 (2.8.9) - minitest (6.0.5) + minitest (6.0.6) drb (~> 2.0) prism (~> 1.5) mize (0.6.1) msgpack (1.8.0) - multi_xml (0.8.1) + multi_xml (0.9.0) bigdecimal (>= 3.1, < 5) net-imap (0.6.4) date @@ -228,7 +228,7 @@ GEM net-smtp (0.5.1) net-protocol nio4r (2.7.5) - nokogiri (1.19.2) + nokogiri (1.19.3) mini_portile2 (~> 2.8.2) racc (~> 1.4) ostruct (0.6.3) @@ -352,9 +352,9 @@ GEM rubocop-ast (1.49.1) parser (>= 3.3.7.2) prism (~> 1.7) - rubocop-capybara (2.22.1) + rubocop-capybara (2.23.0) lint_roller (~> 1.1) - rubocop (~> 1.72, >= 1.72.1) + rubocop (~> 1.81) rubocop-factory_bot (2.28.0) lint_roller (~> 1.1) rubocop (~> 1.72, >= 1.72.1) diff --git a/spec/system/account_setup_spec.rb b/spec/system/account_setup_spec.rb index 766e0cdfb..dea024514 100644 --- a/spec/system/account_setup_spec.rb +++ b/spec/system/account_setup_spec.rb @@ -21,7 +21,7 @@ def fill_in_fields(username:, confirm: "my-password") fill_in_fields(username: "my-username", confirm: "wrong-password") - expect(page).to have_content("doesn't match") + expect(page).to have_text("doesn't match") end it "allows a second user to sign up" do diff --git a/spec/system/add_feed_spec.rb b/spec/system/add_feed_spec.rb index e25bc660f..8e85ebe87 100644 --- a/spec/system/add_feed_spec.rb +++ b/spec/system/add_feed_spec.rb @@ -19,7 +19,7 @@ def submit_feed(url) submit_feed("http://example.com/feed.xml") - expect(page).to have_content("We've added your new feed") + expect(page).to have_text("We've added your new feed") end it "shows an error when the feed is not found" do @@ -28,7 +28,7 @@ def submit_feed(url) submit_feed("http://example.com/bad") - expect(page).to have_content("We couldn't find that feed") + expect(page).to have_text("We couldn't find that feed") end it "shows an error when already subscribed" do @@ -39,6 +39,6 @@ def submit_feed(url) submit_feed(url) - expect(page).to have_content("You are already subscribed") + expect(page).to have_text("You are already subscribed") end end diff --git a/spec/system/application_settings_spec.rb b/spec/system/application_settings_spec.rb index 23021d9eb..12c5432ca 100644 --- a/spec/system/application_settings_spec.rb +++ b/spec/system/application_settings_spec.rb @@ -7,7 +7,7 @@ within("form", text: "User signups are disabled") { click_on("Enable") } - expect(page).to have_content("User signups are enabled") + expect(page).to have_text("User signups are enabled") end it "allows disabling account creation" do @@ -17,7 +17,7 @@ within("form", text: "User signups are enabled") { click_on("Disable") } - expect(page).to have_content("User signups are disabled") + expect(page).to have_text("User signups are disabled") end it "blocks non-admin users from settings" do @@ -25,7 +25,7 @@ visit(settings_path) - expect(page).to have_content("No route matches") + expect(page).to have_text("No route matches") end it "prevents signup when signups are disabled" do diff --git a/spec/system/archive_spec.rb b/spec/system/archive_spec.rb index 188d3aa2d..ab29ab6f9 100644 --- a/spec/system/archive_spec.rb +++ b/spec/system/archive_spec.rb @@ -11,7 +11,7 @@ def create_read_stories(count) visit(archive_path) - expect(page).to have_content("Old Story") + expect(page).to have_text("Old Story") end it "shows a message when no stories have been read" do @@ -19,7 +19,7 @@ def create_read_stories(count) visit(archive_path) - expect(page).to have_content("you haven't read any stories") + expect(page).to have_text("you haven't read any stories") end it "paginates read stories" do @@ -38,7 +38,7 @@ def create_read_stories(count) click_on("Next") - expect(page).to have_content("2 of 2") + expect(page).to have_text("2 of 2") expect(page).to have_link("Previous") end diff --git a/spec/system/debug_spec.rb b/spec/system/debug_spec.rb index 2e38a4da3..897299069 100644 --- a/spec/system/debug_spec.rb +++ b/spec/system/debug_spec.rb @@ -6,7 +6,7 @@ visit("/admin/debug") - expect(page).to have_content(RUBY_VERSION) + expect(page).to have_text(RUBY_VERSION) end it "shows None when there are no pending migrations" do @@ -14,7 +14,7 @@ visit("/admin/debug") - expect(page).to have_content("None") + expect(page).to have_text("None") end it "shows the queued jobs count" do @@ -22,7 +22,7 @@ visit("/admin/debug") - expect(page).to have_content("Queued Jobs") + expect(page).to have_text("Queued Jobs") end it "blocks non-admin users" do @@ -30,6 +30,6 @@ visit("/admin/debug") - expect(page).to have_content("No route matches") + expect(page).to have_text("No route matches") end end diff --git a/spec/system/feed_edit_spec.rb b/spec/system/feed_edit_spec.rb index 7ff837ce8..756c37ac1 100644 --- a/spec/system/feed_edit_spec.rb +++ b/spec/system/feed_edit_spec.rb @@ -20,7 +20,7 @@ def visit_edit_feed fill_in("Feed Name", with: "New Name") click_on("Save") - expect(page).to have_content("Updated the feed") + expect(page).to have_text("Updated the feed") end it "allows updating a feed URL" do @@ -30,7 +30,7 @@ def visit_edit_feed fill_in("Feed URL", with: "http://new.example.com") click_on("Save") - expect(page).to have_content("Updated the feed") + expect(page).to have_text("Updated the feed") end it "pre-selects the feed's current group in the dropdown" do diff --git a/spec/system/feed_show_spec.rb b/spec/system/feed_show_spec.rb index 1673ae6b0..b541b1827 100644 --- a/spec/system/feed_show_spec.rb +++ b/spec/system/feed_show_spec.rb @@ -13,7 +13,7 @@ def create_and_visit_feed(story_title: nil) feed = create_and_visit_feed - expect(page).to have_content(feed.name) + expect(page).to have_text(feed.name) end it "displays stories for the feed" do @@ -21,7 +21,7 @@ def create_and_visit_feed(story_title: nil) create_and_visit_feed(story_title: "My Story") - expect(page).to have_content("My Story") + expect(page).to have_text("My Story") end it "marks all stories as read" do @@ -30,7 +30,7 @@ def create_and_visit_feed(story_title: nil) find_by_id("mark-all").click - expect(page).to have_content("You've reached RSS Zero") + expect(page).to have_text("You've reached RSS Zero") end it "refreshes the feed" do @@ -40,7 +40,7 @@ def create_and_visit_feed(story_title: nil) find_by_id("refresh").click - expect(page).to have_content("New Story") + expect(page).to have_text("New Story") end it "marks all stories as read with A hotkey" do @@ -49,7 +49,7 @@ def create_and_visit_feed(story_title: nil) send_keys("A") - expect(page).to have_content("You've reached RSS Zero") + expect(page).to have_text("You've reached RSS Zero") end it "refreshes the feed with r hotkey" do @@ -59,7 +59,7 @@ def create_and_visit_feed(story_title: nil) send_keys("r") - expect(page).to have_content("New Story") + expect(page).to have_text("New Story") end it "navigates to add feed with a hotkey" do @@ -78,7 +78,7 @@ def create_and_visit_feed(story_title: nil) visit("/feed/#{feed.id}") - expect(page).to have_content("Read Story") + expect(page).to have_text("Read Story") end it "navigates home with the home button" do @@ -106,6 +106,6 @@ def create_and_visit_feed(story_title: nil) find_by_id("mark-all").click visit(news_path) - expect(page).to have_content("Other Story") + expect(page).to have_text("Other Story") end end diff --git a/spec/system/feeds_index_spec.rb b/spec/system/feeds_index_spec.rb index bd0af1610..8c5aa8339 100644 --- a/spec/system/feeds_index_spec.rb +++ b/spec/system/feeds_index_spec.rb @@ -15,7 +15,7 @@ visit "/feeds" - expect(page).to have_content("Hey, you should add some feeds") + expect(page).to have_text("Hey, you should add some feeds") end it "allows the user to delete a feed" do @@ -25,7 +25,7 @@ visit("/feeds") click_on "Delete" - expect(page).to have_content("Feed deleted") + expect(page).to have_text("Feed deleted") end it "removes stories from news when a feed is deleted" do @@ -37,7 +37,7 @@ click_on "Delete" visit(news_path) - expect(page).to have_content("You've reached RSS Zero") + expect(page).to have_text("You've reached RSS Zero") end it "allows the user to edit a feed" do @@ -66,7 +66,7 @@ visit "/feeds" - expect(page).to have_content("Never") + expect(page).to have_text("Never") end it "displays the last fetched timestamp" do @@ -75,7 +75,7 @@ visit "/feeds" - expect(page).to have_content("Jun 15, 10:30") + expect(page).to have_text("Jun 15, 10:30") end it "links to the feed" do diff --git a/spec/system/good_job_spec.rb b/spec/system/good_job_spec.rb index 940427c73..983b01d66 100644 --- a/spec/system/good_job_spec.rb +++ b/spec/system/good_job_spec.rb @@ -22,6 +22,6 @@ visit(good_job_path) - expect(page).to have_content("No route matches") + expect(page).to have_text("No route matches") end end diff --git a/spec/system/heroku_spec.rb b/spec/system/heroku_spec.rb index 2a0a2e3d0..04e71c583 100644 --- a/spec/system/heroku_spec.rb +++ b/spec/system/heroku_spec.rb @@ -4,13 +4,13 @@ it "displays the heroku setup page without authentication" do visit("/heroku") - expect(page).to have_content("One more thing") + expect(page).to have_text("One more thing") end it "displays the scheduler task instructions" do visit("/heroku") - expect(page).to have_content("rake lazy_fetch") + expect(page).to have_text("rake lazy_fetch") end it "links to the home page" do diff --git a/spec/system/import_spec.rb b/spec/system/import_spec.rb index 39d65fc46..743fa584a 100644 --- a/spec/system/import_spec.rb +++ b/spec/system/import_spec.rb @@ -7,7 +7,7 @@ click_on("Not now") - expect(page).to have_content("We're getting you some stories to read") + expect(page).to have_text("We're getting you some stories to read") end it "allows importing feeds" do @@ -17,7 +17,7 @@ attach_file("opml_file", file_path, visible: false) - expect(page).to have_content("We're getting you some stories to read") + expect(page).to have_text("We're getting you some stories to read") end it "gracefully handles an invalid OPML file" do @@ -27,7 +27,7 @@ attach_file("opml_file", file_path, visible: false) - expect(page).to have_content("We're getting you some stories to read") + expect(page).to have_text("We're getting you some stories to read") end def import_grouped_opml diff --git a/spec/system/keyboard_shortcuts_spec.rb b/spec/system/keyboard_shortcuts_spec.rb index d071a09a5..9051acfb4 100644 --- a/spec/system/keyboard_shortcuts_spec.rb +++ b/spec/system/keyboard_shortcuts_spec.rb @@ -78,7 +78,7 @@ def create_story_and_visit(title:) visit(starred_path) - expect(page).to have_content("My Story") + expect(page).to have_text("My Story") end def open_story_and_send(key) @@ -93,7 +93,7 @@ def open_story_and_send(key) open_story_and_send("m") visit(news_path) - expect(page).to have_content("My Story") + expect(page).to have_text("My Story") end it "refreshes the page with r" do @@ -103,7 +103,7 @@ def open_story_and_send(key) send_keys("r") - expect(page).to have_content("My Story") + expect(page).to have_text("My Story") end it "marks all as read with A" do @@ -112,7 +112,7 @@ def open_story_and_send(key) send_keys("A") - expect(page).to have_content("You've reached RSS Zero") + expect(page).to have_text("You've reached RSS Zero") end it "navigates to feeds with f" do diff --git a/spec/system/login_spec.rb b/spec/system/login_spec.rb index 7fafce1a0..8ddc6d4b2 100644 --- a/spec/system/login_spec.rb +++ b/spec/system/login_spec.rb @@ -13,7 +13,7 @@ def submit_login(username:, password:) submit_login(username: user.username, password: user.password) - expect(page).to have_content("Logged in as #{user.username}") + expect(page).to have_text("Logged in as #{user.username}") end it "shows an error for wrong password" do @@ -21,7 +21,7 @@ def submit_login(username:, password:) submit_login(username: user.username, password: "wrong-password") - expect(page).to have_content("That's the wrong password") + expect(page).to have_text("That's the wrong password") end def login_from_current_page(user) @@ -44,6 +44,6 @@ def login_from_current_page(user) click_on("Logout") - expect(page).to have_content("You have been signed out!") + expect(page).to have_text("You have been signed out!") end end diff --git a/spec/system/multi_user_isolation_spec.rb b/spec/system/multi_user_isolation_spec.rb index f8670cff4..72edf1271 100644 --- a/spec/system/multi_user_isolation_spec.rb +++ b/spec/system/multi_user_isolation_spec.rb @@ -7,7 +7,7 @@ visit(news_path) - expect(page).to have_content("You've reached RSS Zero") + expect(page).to have_text("You've reached RSS Zero") end it "does not show another user's starred stories" do @@ -16,7 +16,7 @@ visit(starred_path) - expect(page).to have_content("you haven't starred any stories") + expect(page).to have_text("you haven't starred any stories") end it "does not show another user's read stories in the archive" do @@ -25,7 +25,7 @@ visit(archive_path) - expect(page).to have_content("you haven't read any stories") + expect(page).to have_text("you haven't read any stories") end it "does not show another user's feeds on the feeds page" do @@ -34,6 +34,6 @@ visit(feeds_path) - expect(page).to have_content("Hey, you should add some feeds") + expect(page).to have_text("Hey, you should add some feeds") end end diff --git a/spec/system/starred_spec.rb b/spec/system/starred_spec.rb index 3e0100240..0a753e950 100644 --- a/spec/system/starred_spec.rb +++ b/spec/system/starred_spec.rb @@ -7,7 +7,7 @@ visit(starred_path) - expect(page).to have_content("Fave Story") + expect(page).to have_text("Fave Story") end it "shows a message when no stories are starred" do @@ -15,7 +15,7 @@ visit(starred_path) - expect(page).to have_content("you haven't starred any stories") + expect(page).to have_text("you haven't starred any stories") end def unstar_story(story_title) @@ -31,7 +31,7 @@ def unstar_story(story_title) unstar_story("Starred Story") visit(starred_path) - expect(page).to have_content("you haven't starred any stories") + expect(page).to have_text("you haven't starred any stories") end def open_story_and_find_star_icon(story_title) @@ -63,7 +63,7 @@ def open_story_and_find_star_icon(story_title) find(".story-preview .story-starred", text: "").click visit(starred_path) - expect(page).to have_content("Preview Star Story") + expect(page).to have_text("Preview Star Story") end def create_starred_stories(count) @@ -86,7 +86,7 @@ def create_starred_stories(count) click_on("Next") - expect(page).to have_content("2 of 2") + expect(page).to have_text("2 of 2") end it "navigates to the next page with arrow keys" do @@ -96,7 +96,7 @@ def create_starred_stories(count) send_keys(:arrow_right) - expect(page).to have_content("2 of 2") + expect(page).to have_text("2 of 2") end it "navigates to the previous page" do @@ -107,7 +107,7 @@ def create_starred_stories(count) click_on("Previous") - expect(page).to have_content("1 of 2") + expect(page).to have_text("1 of 2") end it "navigates to the previous page with arrow keys" do @@ -115,10 +115,10 @@ def create_starred_stories(count) create_starred_stories(21) visit(starred_path) send_keys(:arrow_right) - expect(page).to have_content("2 of 2") + expect(page).to have_text("2 of 2") send_keys(:arrow_left) - expect(page).to have_content("1 of 2") + expect(page).to have_text("1 of 2") end end diff --git a/spec/system/stories_index_spec.rb b/spec/system/stories_index_spec.rb index bb9592e2e..5ebe167c7 100644 --- a/spec/system/stories_index_spec.rb +++ b/spec/system/stories_index_spec.rb @@ -7,7 +7,7 @@ visit news_path - expect(page).to have_content("My Story") + expect(page).to have_text("My Story") end it "does not display read stories" do @@ -16,7 +16,7 @@ visit news_path - expect(page).to have_no_content("My Story") + expect(page).to have_no_text("My Story") end it "marks all stories as read" do @@ -26,7 +26,7 @@ click_on "Mark all as read" - expect(page).to have_content("You've reached RSS Zero") + expect(page).to have_text("You've reached RSS Zero") end it "refreshes the page" do @@ -36,7 +36,7 @@ click_on "Refresh" - expect(page).to have_content("My Story") + expect(page).to have_text("My Story") end it "displays the story body when the row is clicked" do @@ -46,7 +46,7 @@ find(".story-preview", text: "My Story").click - expect(page).to have_content("My Body") + expect(page).to have_text("My Body") end def star_story(story_title) @@ -63,7 +63,7 @@ def star_story(story_title) star_story("My Story") visit(starred_path) - expect(page).to have_content("My Story") + expect(page).to have_text("My Story") end it "allows marking a story as unstarred" do @@ -73,7 +73,7 @@ def star_story(story_title) star_story("My Story") visit(starred_path) - expect(page).to have_no_content("My Story") + expect(page).to have_no_text("My Story") end def mark_story_unread(story_title) @@ -90,7 +90,7 @@ def mark_story_unread(story_title) visit(news_path) - expect(page).to have_content("My Story") + expect(page).to have_text("My Story") end def open_story_and_find_unread_icon(story_title) @@ -199,6 +199,6 @@ def open_story_and_find_unread_icon(story_title) send_keys("j") - expect(page).to have_content("My Body") + expect(page).to have_text("My Body") end end diff --git a/spec/system/tutorial_spec.rb b/spec/system/tutorial_spec.rb index d9d0fce7a..0b53537d4 100644 --- a/spec/system/tutorial_spec.rb +++ b/spec/system/tutorial_spec.rb @@ -11,7 +11,7 @@ def visit_tutorial visit_tutorial - expect(page).to have_content("Stringer is simple") + expect(page).to have_text("Stringer is simple") end it "displays sample stories" do @@ -19,6 +19,6 @@ def visit_tutorial visit_tutorial - expect(page).to have_content("Darin' Fireballs") + expect(page).to have_text("Darin' Fireballs") end end