Skip to content

Commit 9744aa8

Browse files
authored
chore(deps): update ruby deps & rubocop corrections (#287)
* chore(deps): update ruby deps * style: apply rubocop corrections
1 parent 5bdf635 commit 9744aa8

4 files changed

Lines changed: 102 additions & 61 deletions

File tree

Gemfile.lock

Lines changed: 94 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ GIT
1212

1313
GIT
1414
remote: https://github.com/html2rss/html2rss
15-
revision: 528ba933f7bdbb94372c0286c87082b456aa01c8
15+
revision: 762a09c15e5def5897b2d08f0e3c11c023cc9b35
1616
branch: master
1717
specs:
1818
html2rss (0.17.0)
@@ -47,36 +47,64 @@ GEM
4747
addressable (2.8.9)
4848
public_suffix (>= 2.0.2, < 8.0)
4949
ast (2.4.3)
50+
async (2.38.0)
51+
console (~> 1.29)
52+
fiber-annotation
53+
io-event (~> 1.11)
54+
metrics (~> 0.12)
55+
traces (~> 0.18)
56+
async-http (0.94.2)
57+
async (>= 2.10.2)
58+
async-pool (~> 0.11)
59+
io-endpoint (~> 0.14)
60+
io-stream (~> 0.6)
61+
metrics (~> 0.12)
62+
protocol-http (~> 0.58)
63+
protocol-http1 (~> 0.36)
64+
protocol-http2 (~> 0.22)
65+
protocol-url (~> 0.2)
66+
traces (~> 0.10)
67+
async-pool (0.11.2)
68+
async (>= 2.0)
69+
async-websocket (0.30.0)
70+
async-http (~> 0.76)
71+
protocol-http (~> 0.34)
72+
protocol-rack (~> 0.7)
73+
protocol-websocket (~> 0.17)
5074
base64 (0.3.0)
51-
bigdecimal (3.3.1)
75+
bigdecimal (4.0.1)
5276
brotli (0.8.0)
5377
concurrent-ruby (1.3.6)
78+
console (1.34.3)
79+
fiber-annotation
80+
fiber-local (~> 1.1)
81+
json
5482
crass (1.0.6)
5583
diff-lcs (1.6.2)
5684
dry-configurable (1.3.0)
5785
dry-core (~> 1.1)
5886
zeitwerk (~> 2.6)
59-
dry-core (1.1.0)
87+
dry-core (1.2.0)
6088
concurrent-ruby (~> 1.0)
6189
logger
6290
zeitwerk (~> 2.6)
63-
dry-inflector (1.2.0)
91+
dry-inflector (1.3.1)
6492
dry-initializer (3.2.0)
6593
dry-logic (1.6.0)
6694
bigdecimal
6795
concurrent-ruby (~> 1.0)
6896
dry-core (~> 1.1)
6997
zeitwerk (~> 2.6)
70-
dry-schema (1.14.1)
98+
dry-schema (1.16.0)
7199
concurrent-ruby (~> 1.0)
72100
dry-configurable (~> 1.0, >= 1.0.1)
73101
dry-core (~> 1.1)
74102
dry-initializer (~> 3.2)
75-
dry-logic (~> 1.5)
76-
dry-types (~> 1.8)
103+
dry-logic (~> 1.6)
104+
dry-types (~> 1.9, >= 1.9.1)
77105
zeitwerk (~> 2.6)
78-
dry-types (1.8.3)
79-
bigdecimal (~> 3.0)
106+
dry-types (1.9.1)
107+
bigdecimal (>= 3.0)
80108
concurrent-ruby (~> 1.0)
81109
dry-core (~> 1.0)
82110
dry-inflector (~> 1.0)
@@ -99,81 +127,113 @@ GEM
99127
zlib (~> 3.0)
100128
faraday-net_http (3.4.2)
101129
net-http (~> 0.5)
102-
hashie (5.0.0)
130+
fiber-annotation (0.2.0)
131+
fiber-local (1.1.0)
132+
fiber-storage
133+
fiber-storage (1.0.1)
134+
hashie (5.1.0)
135+
logger
103136
htmlbeautifier (1.4.3)
137+
io-endpoint (0.17.2)
138+
io-event (1.14.4)
139+
io-stream (0.11.1)
104140
json (2.19.1)
141+
json-schema (6.2.0)
142+
addressable (~> 2.8)
143+
bigdecimal (>= 3.1, < 5)
105144
kramdown (2.5.2)
106145
rexml (>= 3.4.4)
107146
language_server-protocol (3.17.0.5)
108147
lint_roller (1.1.0)
109148
logger (1.7.0)
149+
mcp (0.8.0)
150+
json-schema (>= 4.1)
151+
metrics (0.15.0)
110152
mime-types (3.7.0)
111153
logger
112154
mime-types-data (~> 3.2025, >= 3.2025.0507)
113155
mime-types-data (3.2026.0303)
114156
net-http (0.9.1)
115157
uri (>= 0.11.1)
116-
nokogiri (1.18.8-arm64-darwin)
158+
nokogiri (1.19.1-arm64-darwin)
117159
racc (~> 1.4)
118-
nokogiri (1.18.8-x86_64-darwin)
160+
nokogiri (1.19.1-x86_64-darwin)
119161
racc (~> 1.4)
120-
nokogiri (1.18.8-x86_64-linux-gnu)
162+
nokogiri (1.19.1-x86_64-linux-gnu)
121163
racc (~> 1.4)
122164
parallel (1.27.0)
123-
parser (3.3.8.0)
165+
parser (3.3.10.2)
124166
ast (~> 2.4.1)
125167
racc
126168
pastel (0.8.0)
127169
tty-color (~> 0.5)
128-
prism (1.4.0)
129-
public_suffix (6.0.2)
130-
puppeteer-ruby (0.45.6)
131-
concurrent-ruby (>= 1.1, < 1.4)
170+
prism (1.9.0)
171+
protocol-hpack (1.5.1)
172+
protocol-http (0.60.0)
173+
protocol-http1 (0.37.0)
174+
protocol-http (~> 0.58)
175+
protocol-http2 (0.24.0)
176+
protocol-hpack (~> 1.4)
177+
protocol-http (~> 0.47)
178+
protocol-rack (0.21.1)
179+
io-stream (>= 0.10)
180+
protocol-http (~> 0.58)
181+
rack (>= 1.0)
182+
protocol-url (0.4.0)
183+
protocol-websocket (0.20.2)
184+
protocol-http (~> 0.2)
185+
public_suffix (7.0.5)
186+
puppeteer-ruby (0.51.0)
187+
async (>= 2.35.1, < 3.0)
188+
async-http (>= 0.60, < 1.0)
189+
async-websocket (>= 0.27, < 1.0)
190+
base64
132191
mime-types (>= 3.0)
133-
websocket-driver (>= 0.6.0)
134192
racc (1.8.1)
193+
rack (3.2.5)
135194
rainbow (3.1.1)
136195
regexp_parser (2.11.3)
137196
reverse_markdown (3.0.2)
138197
nokogiri
139198
rexml (3.4.4)
140-
rouge (4.5.2)
141-
rspec (3.13.1)
199+
rouge (4.7.0)
200+
rspec (3.13.2)
142201
rspec-core (~> 3.13.0)
143202
rspec-expectations (~> 3.13.0)
144203
rspec-mocks (~> 3.13.0)
145-
rspec-core (3.13.4)
204+
rspec-core (3.13.6)
146205
rspec-support (~> 3.13.0)
147206
rspec-expectations (3.13.5)
148207
diff-lcs (>= 1.2.0, < 2.0)
149208
rspec-support (~> 3.13.0)
150-
rspec-mocks (3.13.5)
209+
rspec-mocks (3.13.8)
151210
diff-lcs (>= 1.2.0, < 2.0)
152211
rspec-support (~> 3.13.0)
153-
rspec-support (3.13.4)
212+
rspec-support (3.13.7)
154213
rss (0.3.2)
155214
rexml
156-
rubocop (1.75.8)
215+
rubocop (1.85.1)
157216
json (~> 2.3)
158217
language_server-protocol (~> 3.17.0.2)
159218
lint_roller (~> 1.1.0)
219+
mcp (~> 0.6)
160220
parallel (~> 1.10)
161221
parser (>= 3.3.0.2)
162222
rainbow (>= 2.2.2, < 4.0)
163223
regexp_parser (>= 2.9.3, < 3.0)
164-
rubocop-ast (>= 1.44.0, < 2.0)
224+
rubocop-ast (>= 1.49.0, < 2.0)
165225
ruby-progressbar (~> 1.7)
166226
unicode-display_width (>= 2.4.0, < 4.0)
167-
rubocop-ast (1.44.1)
227+
rubocop-ast (1.49.0)
168228
parser (>= 3.3.7.2)
169-
prism (~> 1.4)
170-
rubocop-performance (1.25.0)
229+
prism (~> 1.7)
230+
rubocop-performance (1.26.1)
171231
lint_roller (~> 1.1)
172232
rubocop (>= 1.75.0, < 2.0)
173-
rubocop-ast (>= 1.38.0, < 2.0)
174-
rubocop-rspec (3.6.0)
233+
rubocop-ast (>= 1.47.1, < 2.0)
234+
rubocop-rspec (3.9.0)
175235
lint_roller (~> 1.1)
176-
rubocop (~> 1.72, >= 1.72.1)
236+
rubocop (~> 1.81)
177237
ruby-progressbar (1.13.0)
178238
sanitize (7.0.0)
179239
crass (~> 1.0.2)
@@ -184,6 +244,7 @@ GEM
184244
unicode_utils (~> 1.4)
185245
strings-ansi (0.2.0)
186246
thor (1.5.0)
247+
traces (0.18.2)
187248
tty-color (0.6.0)
188249
tty-cursor (0.7.1)
189250
tty-markdown (0.7.2)
@@ -206,12 +267,8 @@ GEM
206267
unicode-display_width (2.6.0)
207268
unicode_utils (1.4.0)
208269
uri (1.1.1)
209-
websocket-driver (0.8.0)
210-
base64
211-
websocket-extensions (>= 0.1.0)
212-
websocket-extensions (0.1.5)
213270
wisper (2.0.1)
214-
zeitwerk (2.6.18)
271+
zeitwerk (2.7.5)
215272
zlib (3.2.3)
216273

217274
PLATFORMS

Makefile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,6 @@ test-domain:
3232
fi
3333
bundle exec rspec --example "$(DOMAIN)" spec/html2rss/configs_dynamic_spec.rb
3434

35-
test-debug:
36-
@if [ -z "$(CONFIG)" ]; then \
37-
echo "Usage: make test-debug CONFIG=github.com/releases.yml"; \
38-
exit 1; \
39-
fi
40-
DEBUG_CONFIG=$(CONFIG) bundle exec rspec spec/html2rss/configs_dynamic_spec.rb
41-
4235
# Migration commands
4336
migrate-tests:
4437
bin/migrate_to_dynamic_tests

bin/rspec_changed_configs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
changed_files = `git diff --name-only origin/master | grep 'lib/html2rss/configs/.*/.*.yml'`.split("\n")
55

6-
if changed_files.count.positive?
6+
if changed_files.any?
77
# Use dynamic test file with environment variable to filter changed configs
88
config_names = changed_files.map { |file| file.sub('lib/html2rss/configs/', '') }
99

spec/html2rss/configs_dynamic_spec.rb

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,14 @@
1414
end
1515

1616
config_files.each do |config_file|
17-
relative_path = config_file.sub('lib/html2rss/configs/', '')
18-
config_name = relative_path.tr('/', '_').gsub('.yml', '')
19-
domain = relative_path.split('/').first
17+
config_name = config_file.sub('lib/html2rss/configs/', '').tr('/', '_').gsub('.yml', '')
18+
domain = config_file.sub('lib/html2rss/configs/', '').split('/').first
2019

21-
describe "#{relative_path} (#{config_name})", config: config_name, domain: domain do
22-
it_behaves_like 'config.yml', relative_path
23-
24-
# Add debugging hook for specific configs
25-
if ENV['DEBUG_CONFIG'] == relative_path
26-
it 'debugs the config' do
27-
puts "Debugging config: #{relative_path}"
28-
puts "File path: #{config_file}"
29-
puts "Config name: #{config_name}"
30-
puts "Domain: #{domain}"
31-
expect(relative_path).to be_a(String) # Add meaningful expectation
32-
end
33-
end
20+
describe "#{config_file.sub('lib/html2rss/configs/', '')} (#{config_name})",
21+
config: config_name,
22+
domain: domain,
23+
relative_path: config_file.sub('lib/html2rss/configs/', '') do
24+
it_behaves_like 'config.yml', config_file.sub('lib/html2rss/configs/', '')
3425
end
3526
end
3627
end

0 commit comments

Comments
 (0)