Visitar URL original
Update all Bundler dependencies (2026-10-12) (#1639) · stringer-rss/stringer@8e25e9c · GitHub
Skip to content

Commit 8e25e9c

Browse files
authored
Update all Bundler dependencies (2026-10-12) (#1639)
1 parent f84f0ae commit 8e25e9c

6 files changed

Lines changed: 33 additions & 29 deletions

File tree

‎Gemfile.lock‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ GEM
120120
cssbundling-rails (1.4.3)
121121
railties (>= 6.0.0)
122122
csv (3.3.6)
123-
date (3.5.1)
123+
date (3.6.0)
124124
debug (1.11.1)
125125
irb (~> 1.10)
126126
reline (>= 0.3.8)
@@ -156,7 +156,7 @@ GEM
156156
goldiloader (6.0.0)
157157
activerecord (>= 7.2, < 8.3)
158158
activesupport (>= 7.2, < 8.3)
159-
good_job (4.20.0)
159+
good_job (4.22.0)
160160
activejob (>= 6.1.0)
161161
activerecord (>= 6.1.0)
162162
concurrent-ruby (>= 1.3.1)
@@ -223,7 +223,7 @@ GEM
223223
pg (1.7.0)
224224
pp (0.6.4)
225225
prettyprint
226-
prettyprint (0.2.0)
226+
prettyprint (0.2.1)
227227
prism (1.9.0)
228228
private_address_check (0.8.0)
229229
propshaft (1.3.2)
@@ -325,14 +325,14 @@ GEM
325325
rspec-support (3.13.7)
326326
rspec_junit_formatter (0.6.0)
327327
rspec-core (>= 2, < 4, != 2.12.0)
328-
rubocop (1.91.0)
328+
rubocop (1.92.0)
329329
json (>= 2.3)
330330
language_server-protocol (~> 3.17.0.2)
331331
lint_roller (~> 1.1.0)
332332
parallel (>= 1.10)
333333
parser (>= 3.3.0.2)
334334
rainbow (>= 2.2.2, < 4.0)
335-
regexp_parser (>= 2.9.3, < 3.0)
335+
regexp_parser (>= 2.11.3, < 3.0)
336336
rubocop-ast (>= 1.49.0, < 2.0)
337337
ruby-progressbar (~> 1.7)
338338
unicode-display_width (>= 2.4.0, < 4.0)
@@ -361,9 +361,9 @@ GEM
361361
lint_roller (~> 1.1)
362362
regexp_parser (>= 2.0)
363363
rubocop (~> 1.86, >= 1.86.2)
364-
rubocop-rspec_rails (2.32.0)
364+
rubocop-rspec_rails (2.33.0)
365365
lint_roller (~> 1.1)
366-
rubocop (~> 1.72, >= 1.72.1)
366+
rubocop (~> 1.89)
367367
rubocop-rspec (~> 3.5)
368368
ruby-progressbar (1.13.0)
369369
rubyzip (3.7.0)
@@ -376,7 +376,7 @@ GEM
376376
scout_apm (6.3.1)
377377
parser
378378
securerandom (0.4.1)
379-
selenium-webdriver (4.50.0)
379+
selenium-webdriver (4.51.0)
380380
base64 (~> 0.2)
381381
logger (~> 1.4)
382382
rubyzip (>= 1.2.2, < 4.0)
@@ -397,7 +397,7 @@ GEM
397397
thor (1.5.0)
398398
thread (0.2.2)
399399
timeout (0.6.1)
400-
tins (1.60.0)
400+
tins (1.61.0)
401401
bigdecimal
402402
irb
403403
mize (~> 0.6)
@@ -412,13 +412,13 @@ GEM
412412
unicode-display_width (3.3.0)
413413
unicode-emoji (~> 4.3)
414414
unicode-emoji (4.3.0)
415-
uri (1.1.1)
415+
uri (1.1.2)
416416
useragent (0.16.11)
417417
web-console (4.3.0)
418418
actionview (>= 8.0.0)
419419
bindex (>= 0.4.0)
420420
railties (>= 8.0.0)
421-
webmock (3.26.4)
421+
webmock (3.29.0)
422422
addressable (>= 2.8.0)
423423
crack (>= 0.3.2)
424424
hashdiff (>= 0.4.0, < 2.0.0)

‎spec/rails_helper.rb‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
RSpec.configure do |config|
2424
config.include(RequestHelpers, type: :request)
2525
config.include(SystemHelpers, type: :system)
26+
config.include(JobHelpers)
2627
config.include(ActiveSupport::Testing::TimeHelpers)
2728

2829
config.use_transactional_fixtures = true

‎spec/requests/feeds_controller_spec.rb‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -120,15 +120,6 @@ def params(feed, **overrides)
120120
end
121121
end
122122

123-
def with_test_adapter
124-
adapter = ActiveJob::Base.queue_adapter
125-
ActiveJob::Base.queue_adapter = :test
126-
127-
yield
128-
129-
ActiveJob::Base.queue_adapter = adapter
130-
end
131-
132123
describe "#create" do
133124
context "when the feed url is valid" do
134125
feed_url = "http://example.com/"

‎spec/support/job_helpers.rb‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# frozen_string_literal: true
2+
3+
module JobHelpers
4+
def with_test_adapter
5+
adapter = ActiveJob::Base.queue_adapter
6+
ActiveJob::Base.queue_adapter = :test
7+
8+
yield
9+
ensure
10+
ActiveJob::Base.queue_adapter = adapter
11+
end
12+
end

‎spec/system/add_feed_spec.rb‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@ def submit_feed(url)
1515
it "allows adding a new feed" do
1616
login_as(default_user)
1717
stub_discovery(url: "http://example.com/feed.xml")
18-
expect(CallableJob).to receive(:perform_later)
1918

20-
submit_feed("http://example.com/feed.xml")
19+
with_test_adapter do
20+
submit_feed("http://example.com/feed.xml")
2121

22-
expect(page).to have_text("We've added your new feed")
22+
expect(page).to have_text("We've added your new feed")
23+
expect(CallableJob).to have_been_enqueued
24+
end
2325
end
2426

2527
it "shows an error when the feed is not found" do

‎spec/system/tutorial_spec.rb‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
11
# frozen_string_literal: true
22

33
RSpec.describe "tutorial" do
4-
def visit_tutorial
5-
expect(CallableJob).to receive(:perform_later)
6-
visit(setup_tutorial_path)
7-
end
4+
around { |example| with_test_adapter(&example) }
85

96
it "displays the tutorial page" do
107
login_as(default_user)
118

12-
visit_tutorial
9+
visit(setup_tutorial_path)
1310

1411
expect(page).to have_text("Stringer is simple")
12+
expect(CallableJob).to have_been_enqueued
1513
end
1614

1715
it "displays sample stories" do
1816
login_as(default_user)
1917

20-
visit_tutorial
18+
visit(setup_tutorial_path)
2119

2220
expect(page).to have_text("Darin' Fireballs")
2321
end

0 commit comments

Comments
 (0)