Skip to content

Commit 95a38a1

Browse files
authored
Merge pull request #255 from hlascelles/remove-ruby-3-2-tests
Remove ruby 3.2 specs
2 parents d7bdd96 + 86cb7f6 commit 95a38a1

12 files changed

Lines changed: 157 additions & 77 deletions

.github/workflows/specs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
os: [ ubuntu ]
14-
ruby: [ "3.2", "3.3", "3.4" ]
14+
ruby: [ "3.3", "3.4", "4.0" ]
1515
steps:
1616
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17-
- uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1.229.0
17+
- uses: ruby/setup-ruby@675dd7ba1b06c8786a1480d89c384f5620a42647 # v1.281.0
1818
with:
1919
ruby-version: ${{ matrix.ruby }}
2020
- run: ./specs.sh

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ inherit_from:
33
- .rubocop-project.yml
44

55
AllCops:
6-
TargetRubyVersion: 3.2
6+
TargetRubyVersion: 3.3

Gemfile.lock

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
figjam (3.0.0)
4+
figjam (3.0.1)
55
thor (>= 0.14.0, < 2)
66

77
GEM
@@ -149,7 +149,8 @@ GEM
149149
memoist3 (1.0.0)
150150
method_source (1.1.0)
151151
mini_mime (1.1.5)
152-
minitest (5.25.5)
152+
minitest (6.0.1)
153+
prism (~> 1.5)
153154
multi_test (1.1.0)
154155
mutex_m (0.3.0)
155156
net-imap (0.5.12)
@@ -161,8 +162,9 @@ GEM
161162
timeout
162163
net-smtp (0.5.1)
163164
net-protocol
164-
nokogiri (1.18.9-x86_64-linux-gnu)
165+
nokogiri (1.19.1-x86_64-linux-gnu)
165166
racc (~> 1.4)
167+
ostruct (0.6.3)
166168
parallel (1.27.0)
167169
parser (3.3.10.0)
168170
ast (~> 2.4.1)
@@ -211,6 +213,7 @@ GEM
211213
zeitwerk (~> 2.6)
212214
rainbow (3.1.1)
213215
rake (13.3.1)
216+
rb-readline (0.5.5)
214217
rdoc (6.14.0)
215218
erb
216219
psych (>= 4.0.0)
@@ -275,12 +278,12 @@ GEM
275278
rubocop (~> 1.72, >= 1.72.1)
276279
rubocop-ast (>= 1.44.0, < 2.0)
277280
ruby-progressbar (1.13.0)
278-
ruby_parser (3.21.1)
281+
ruby_parser (3.22.0)
279282
racc (~> 1.5)
280283
sexp_processor (~> 4.16)
281284
securerandom (0.4.1)
282-
sexp_processor (4.17.3)
283-
sqlite3 (2.8.1-x86_64-linux-gnu)
285+
sexp_processor (4.17.5)
286+
sqlite3 (2.9.0-x86_64-linux-gnu)
284287
stringio (3.1.7)
285288
sys-uname (1.4.1)
286289
ffi (~> 1.1)
@@ -310,9 +313,11 @@ DEPENDENCIES
310313
net-imap
311314
net-pop
312315
net-smtp
316+
ostruct
313317
pry-byebug
314318
rails
315319
rake
320+
rb-readline
316321
reek
317322
rspec
318323
rubocop

figjam.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,11 @@ Gem::Specification.new do |spec|
3434
spec.add_development_dependency "fasterer"
3535
# Ruby 3.4 needs this gem for specs, otherwise we see "cannot load such file -- mutex_m"
3636
spec.add_development_dependency "mutex_m"
37+
spec.add_development_dependency "ostruct" # Require for testing on ruby 4.0
3738
spec.add_development_dependency "pry-byebug"
3839
spec.add_development_dependency "rails"
3940
spec.add_development_dependency "rake"
41+
spec.add_development_dependency "rb-readline" # Require for testing on ruby 4.0
4042
spec.add_development_dependency "reek"
4143
spec.add_development_dependency "rspec"
4244
spec.add_development_dependency "rubocop"

gemfiles/psych_4.0.gemfile.lock

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: ..
33
specs:
4-
figjam (3.0.0)
4+
figjam (3.0.1)
55
thor (>= 0.14.0, < 2)
66

77
GEM
@@ -213,6 +213,7 @@ GEM
213213
nio4r (2.7.4)
214214
nokogiri (1.18.9-x86_64-linux-gnu)
215215
racc (~> 1.4)
216+
ostruct (0.6.3)
216217
parallel (1.27.0)
217218
parser (3.3.9.0)
218219
ast (~> 2.4.1)
@@ -269,6 +270,7 @@ GEM
269270
zeitwerk (~> 2.6)
270271
rainbow (3.1.1)
271272
rake (13.3.0)
273+
rb-readline (0.5.5)
272274
rdoc (6.14.2)
273275
erb
274276
psych (>= 4.0.0)
@@ -374,10 +376,12 @@ DEPENDENCIES
374376
net-imap
375377
net-pop
376378
net-smtp
379+
ostruct
377380
pry-byebug
378381
psych (~> 4.0)
379382
rails (~> 7.0)
380383
rake
384+
rb-readline
381385
reek
382386
rspec
383387
rubocop

gemfiles/psych_5.0.gemfile.lock

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: ..
33
specs:
4-
figjam (3.0.0)
4+
figjam (3.0.1)
55
thor (>= 0.14.0, < 2)
66

77
GEM
@@ -213,6 +213,7 @@ GEM
213213
nio4r (2.7.4)
214214
nokogiri (1.18.9-x86_64-linux-gnu)
215215
racc (~> 1.4)
216+
ostruct (0.6.3)
216217
parallel (1.27.0)
217218
parser (3.3.9.0)
218219
ast (~> 2.4.1)
@@ -270,6 +271,7 @@ GEM
270271
zeitwerk (~> 2.6)
271272
rainbow (3.1.1)
272273
rake (13.3.0)
274+
rb-readline (0.5.5)
273275
rdoc (6.14.2)
274276
erb
275277
psych (>= 4.0.0)
@@ -375,10 +377,12 @@ DEPENDENCIES
375377
net-imap
376378
net-pop
377379
net-smtp
380+
ostruct
378381
pry-byebug
379382
psych (~> 5.0)
380383
rails (~> 7.0)
381384
rake
385+
rb-readline
382386
reek
383387
rspec
384388
rubocop

gemfiles/rails_6.gemfile.lock

Lines changed: 55 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: ..
33
specs:
4-
figjam (2.0.0)
4+
figjam (3.0.1)
55
thor (>= 0.14.0, < 2)
66

77
GEM
@@ -77,6 +77,7 @@ GEM
7777
bigdecimal (3.1.7)
7878
builder (3.2.4)
7979
byebug (11.1.3)
80+
climate_control (1.2.0)
8081
coderay (1.1.3)
8182
combustion (1.4.0)
8283
activesupport (>= 3.0.0)
@@ -149,6 +150,8 @@ GEM
149150
concurrent-ruby (~> 1.0)
150151
json (2.7.1)
151152
language_server-protocol (3.17.0.3)
153+
lint_roller (1.1.0)
154+
logger (1.7.0)
152155
loofah (2.22.0)
153156
crass (~> 1.0.2)
154157
nokogiri (>= 1.12.0)
@@ -160,6 +163,7 @@ GEM
160163
marcel (1.0.4)
161164
method_source (1.0.0)
162165
mini_mime (1.1.5)
166+
mini_portile2 (2.8.9)
163167
minitest (5.22.3)
164168
multi_test (1.1.0)
165169
mutex_m (0.3.0)
@@ -175,10 +179,12 @@ GEM
175179
nio4r (2.7.0)
176180
nokogiri (1.18.7-x86_64-linux-gnu)
177181
racc (~> 1.4)
182+
ostruct (0.6.3)
178183
parallel (1.24.0)
179-
parser (3.3.0.5)
184+
parser (3.3.10.2)
180185
ast (~> 2.4.1)
181186
racc
187+
prism (1.9.0)
182188
pry (0.14.2)
183189
coderay (~> 1.1)
184190
method_source (~> 1.0)
@@ -221,12 +227,14 @@ GEM
221227
thor (>= 0.20.3, < 2.0)
222228
rainbow (3.1.1)
223229
rake (13.1.0)
224-
reek (6.3.0)
225-
dry-schema (~> 1.13.0)
230+
rb-readline (0.5.5)
231+
reek (6.5.0)
232+
dry-schema (~> 1.13)
233+
logger (~> 1.6)
226234
parser (~> 3.3.0)
227235
rainbow (>= 2.0, < 4.0)
228236
rexml (~> 3.1)
229-
regexp_parser (2.9.0)
237+
regexp_parser (2.11.3)
230238
rexml (3.2.6)
231239
rspec (3.13.0)
232240
rspec-core (~> 3.13.0)
@@ -241,32 +249,43 @@ GEM
241249
diff-lcs (>= 1.2.0, < 2.0)
242250
rspec-support (~> 3.13.0)
243251
rspec-support (3.13.1)
244-
rubocop (1.62.1)
252+
rubocop (1.84.2)
245253
json (~> 2.3)
246-
language_server-protocol (>= 3.17.0)
254+
language_server-protocol (~> 3.17.0.2)
255+
lint_roller (~> 1.1.0)
247256
parallel (~> 1.10)
248257
parser (>= 3.3.0.2)
249258
rainbow (>= 2.2.2, < 4.0)
250-
regexp_parser (>= 1.8, < 3.0)
251-
rexml (>= 3.2.5, < 4.0)
252-
rubocop-ast (>= 1.31.1, < 2.0)
259+
regexp_parser (>= 2.9.3, < 3.0)
260+
rubocop-ast (>= 1.49.0, < 2.0)
253261
ruby-progressbar (~> 1.7)
254-
unicode-display_width (>= 2.4.0, < 3.0)
255-
rubocop-ast (1.31.2)
256-
parser (>= 3.3.0.4)
257-
rubocop-capybara (2.20.0)
258-
rubocop (~> 1.41)
259-
rubocop-factory_bot (2.25.1)
260-
rubocop (~> 1.41)
261-
rubocop-performance (1.20.2)
262-
rubocop (>= 1.48.1, < 2.0)
263-
rubocop-ast (>= 1.30.0, < 2.0)
264-
rubocop-rake (0.6.0)
265-
rubocop (~> 1.0)
266-
rubocop-rspec (2.27.1)
267-
rubocop (~> 1.40)
268-
rubocop-capybara (~> 2.17)
269-
rubocop-factory_bot (~> 2.22)
262+
unicode-display_width (>= 2.4.0, < 4.0)
263+
rubocop-ast (1.49.0)
264+
parser (>= 3.3.7.2)
265+
prism (~> 1.7)
266+
rubocop-magic_numbers (0.5.0)
267+
parser
268+
rubocop
269+
rubocop-performance (1.26.1)
270+
lint_roller (~> 1.1)
271+
rubocop (>= 1.75.0, < 2.0)
272+
rubocop-ast (>= 1.47.1, < 2.0)
273+
rubocop-rails (2.34.3)
274+
activesupport (>= 4.2.0)
275+
lint_roller (~> 1.1)
276+
rack (>= 1.1)
277+
rubocop (>= 1.75.0, < 2.0)
278+
rubocop-ast (>= 1.44.0, < 2.0)
279+
rubocop-rake (0.7.1)
280+
lint_roller (~> 1.1)
281+
rubocop (>= 1.72.1)
282+
rubocop-rspec (3.9.0)
283+
lint_roller (~> 1.1)
284+
rubocop (~> 1.81)
285+
rubocop-thread_safety (0.7.3)
286+
lint_roller (~> 1.1)
287+
rubocop (~> 1.72, >= 1.72.1)
288+
rubocop-ast (>= 1.44.0, < 2.0)
270289
ruby-progressbar (1.13.0)
271290
ruby_parser (3.21.0)
272291
racc (~> 1.5)
@@ -279,7 +298,8 @@ GEM
279298
actionpack (>= 5.2)
280299
activesupport (>= 5.2)
281300
sprockets (>= 3.0.0)
282-
sqlite3 (1.7.3-x86_64-linux)
301+
sqlite3 (1.7.3)
302+
mini_portile2 (~> 2.8.0)
283303
stringio (3.1.6)
284304
sys-uname (1.2.3)
285305
ffi (~> 1.1)
@@ -302,23 +322,29 @@ DEPENDENCIES
302322
aruba
303323
base64
304324
bundler
325+
climate_control
305326
combustion
306327
fasterer
307328
figjam!
308329
mutex_m
309330
net-imap
310331
net-pop
311332
net-smtp
333+
ostruct
312334
pry-byebug
313335
psych (~> 4.0)
314336
rails (~> 6.0.3)
315337
rake
338+
rb-readline
316339
reek
317340
rspec
318341
rubocop
342+
rubocop-magic_numbers
319343
rubocop-performance
320-
rubocop-rake
321-
rubocop-rspec
344+
rubocop-rails
345+
rubocop-rake (> 0.7.0)
346+
rubocop-rspec (> 3.5.0)
347+
rubocop-thread_safety
322348
sqlite3 (~> 1.0)
323349

324350
BUNDLED WITH

0 commit comments

Comments
 (0)