Skip to content

Commit d140765

Browse files
github-actionsrazumau
authored andcommitted
Add tests with Ruby 4.0
1 parent 217650f commit d140765

7 files changed

Lines changed: 474 additions & 394 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
- '3.2'
1616
- '3.3'
1717
- '3.4'
18+
- '4.0'
1819
gemfile:
1920
- rails6.1
2021
- rails7.0

gemfiles/common.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
gem 'yard-tomdoc'
88
gem 'redcarpet'
99
gem 'github-markup'
10+
gem 'ostruct'
1011
gem 'rspec-rails', require: false
1112
gem 'benchmark-ips', require: false
1213
gem 'stackprof', require: false

gemfiles/rails6.1.gemfile.lock

Lines changed: 76 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -17,78 +17,78 @@ PATH
1717
GEM
1818
remote: https://rubygems.org/
1919
specs:
20-
actioncable (6.1.7.6)
21-
actionpack (= 6.1.7.6)
22-
activesupport (= 6.1.7.6)
20+
actioncable (6.1.7.10)
21+
actionpack (= 6.1.7.10)
22+
activesupport (= 6.1.7.10)
2323
nio4r (~> 2.0)
2424
websocket-driver (>= 0.6.1)
25-
actionmailbox (6.1.7.6)
26-
actionpack (= 6.1.7.6)
27-
activejob (= 6.1.7.6)
28-
activerecord (= 6.1.7.6)
29-
activestorage (= 6.1.7.6)
30-
activesupport (= 6.1.7.6)
25+
actionmailbox (6.1.7.10)
26+
actionpack (= 6.1.7.10)
27+
activejob (= 6.1.7.10)
28+
activerecord (= 6.1.7.10)
29+
activestorage (= 6.1.7.10)
30+
activesupport (= 6.1.7.10)
3131
mail (>= 2.7.1)
32-
actionmailer (6.1.7.6)
33-
actionpack (= 6.1.7.6)
34-
actionview (= 6.1.7.6)
35-
activejob (= 6.1.7.6)
36-
activesupport (= 6.1.7.6)
32+
actionmailer (6.1.7.10)
33+
actionpack (= 6.1.7.10)
34+
actionview (= 6.1.7.10)
35+
activejob (= 6.1.7.10)
36+
activesupport (= 6.1.7.10)
3737
mail (~> 2.5, >= 2.5.4)
3838
rails-dom-testing (~> 2.0)
39-
actionpack (6.1.7.6)
40-
actionview (= 6.1.7.6)
41-
activesupport (= 6.1.7.6)
39+
actionpack (6.1.7.10)
40+
actionview (= 6.1.7.10)
41+
activesupport (= 6.1.7.10)
4242
rack (~> 2.0, >= 2.0.9)
4343
rack-test (>= 0.6.3)
4444
rails-dom-testing (~> 2.0)
4545
rails-html-sanitizer (~> 1.0, >= 1.2.0)
46-
actiontext (6.1.7.6)
47-
actionpack (= 6.1.7.6)
48-
activerecord (= 6.1.7.6)
49-
activestorage (= 6.1.7.6)
50-
activesupport (= 6.1.7.6)
46+
actiontext (6.1.7.10)
47+
actionpack (= 6.1.7.10)
48+
activerecord (= 6.1.7.10)
49+
activestorage (= 6.1.7.10)
50+
activesupport (= 6.1.7.10)
5151
nokogiri (>= 1.8.5)
52-
actionview (6.1.7.6)
53-
activesupport (= 6.1.7.6)
52+
actionview (6.1.7.10)
53+
activesupport (= 6.1.7.10)
5454
builder (~> 3.1)
5555
erubi (~> 1.4)
5656
rails-dom-testing (~> 2.0)
5757
rails-html-sanitizer (~> 1.1, >= 1.2.0)
58-
activejob (6.1.7.6)
59-
activesupport (= 6.1.7.6)
58+
activejob (6.1.7.10)
59+
activesupport (= 6.1.7.10)
6060
globalid (>= 0.3.6)
61-
activemodel (6.1.7.6)
62-
activesupport (= 6.1.7.6)
63-
activerecord (6.1.7.6)
64-
activemodel (= 6.1.7.6)
65-
activesupport (= 6.1.7.6)
66-
activestorage (6.1.7.6)
67-
actionpack (= 6.1.7.6)
68-
activejob (= 6.1.7.6)
69-
activerecord (= 6.1.7.6)
70-
activesupport (= 6.1.7.6)
61+
activemodel (6.1.7.10)
62+
activesupport (= 6.1.7.10)
63+
activerecord (6.1.7.10)
64+
activemodel (= 6.1.7.10)
65+
activesupport (= 6.1.7.10)
66+
activestorage (6.1.7.10)
67+
actionpack (= 6.1.7.10)
68+
activejob (= 6.1.7.10)
69+
activerecord (= 6.1.7.10)
70+
activesupport (= 6.1.7.10)
7171
marcel (~> 1.0)
7272
mini_mime (>= 1.1.0)
73-
activesupport (6.1.7.6)
73+
activesupport (6.1.7.10)
7474
concurrent-ruby (~> 1.0, >= 1.0.2)
7575
i18n (>= 1.6, < 2)
7676
minitest (>= 5.1)
7777
tzinfo (~> 2.0)
7878
zeitwerk (~> 2.3)
7979
benchmark-ips (2.12.0)
80-
builder (3.2.4)
81-
concurrent-ruby (1.2.2)
80+
builder (3.3.0)
81+
concurrent-ruby (1.3.6)
8282
crass (1.0.6)
8383
date (3.3.4)
8484
diff-lcs (1.5.0)
85-
erubi (1.12.0)
85+
erubi (1.13.1)
8686
github-markup (4.0.2)
8787
globalid (1.2.1)
8888
activesupport (>= 6.1)
89-
i18n (1.14.1)
89+
i18n (1.14.8)
9090
concurrent-ruby (~> 1.0)
91-
loofah (2.21.4)
91+
loofah (2.25.0)
9292
crass (~> 1.0.2)
9393
nokogiri (>= 1.12.0)
9494
mail (2.8.1)
@@ -97,10 +97,11 @@ GEM
9797
net-pop
9898
net-smtp
9999
marcel (1.0.2)
100-
method_source (1.0.0)
100+
method_source (1.1.0)
101101
mini_mime (1.1.5)
102-
mini_portile2 (2.8.5)
103-
minitest (5.20.0)
102+
mini_portile2 (2.8.9)
103+
minitest (6.0.1)
104+
prism (~> 1.5)
104105
net-imap (0.4.5)
105106
date
106107
net-protocol
@@ -111,42 +112,44 @@ GEM
111112
net-smtp (0.4.0)
112113
net-protocol
113114
nio4r (2.5.9)
114-
nokogiri (1.15.4)
115+
nokogiri (1.19.0)
115116
mini_portile2 (~> 2.8.2)
116117
racc (~> 1.4)
117-
racc (1.7.3)
118-
rack (2.2.8)
119-
rack-test (2.1.0)
118+
ostruct (0.6.3)
119+
prism (1.7.0)
120+
racc (1.8.1)
121+
rack (2.2.21)
122+
rack-test (2.2.0)
120123
rack (>= 1.3)
121-
rails (6.1.7.6)
122-
actioncable (= 6.1.7.6)
123-
actionmailbox (= 6.1.7.6)
124-
actionmailer (= 6.1.7.6)
125-
actionpack (= 6.1.7.6)
126-
actiontext (= 6.1.7.6)
127-
actionview (= 6.1.7.6)
128-
activejob (= 6.1.7.6)
129-
activemodel (= 6.1.7.6)
130-
activerecord (= 6.1.7.6)
131-
activestorage (= 6.1.7.6)
132-
activesupport (= 6.1.7.6)
124+
rails (6.1.7.10)
125+
actioncable (= 6.1.7.10)
126+
actionmailbox (= 6.1.7.10)
127+
actionmailer (= 6.1.7.10)
128+
actionpack (= 6.1.7.10)
129+
actiontext (= 6.1.7.10)
130+
actionview (= 6.1.7.10)
131+
activejob (= 6.1.7.10)
132+
activemodel (= 6.1.7.10)
133+
activerecord (= 6.1.7.10)
134+
activestorage (= 6.1.7.10)
135+
activesupport (= 6.1.7.10)
133136
bundler (>= 1.15.0)
134-
railties (= 6.1.7.6)
137+
railties (= 6.1.7.10)
135138
sprockets-rails (>= 2.0.0)
136-
rails-dom-testing (2.2.0)
139+
rails-dom-testing (2.3.0)
137140
activesupport (>= 5.0.0)
138141
minitest
139142
nokogiri (>= 1.6)
140-
rails-html-sanitizer (1.6.0)
143+
rails-html-sanitizer (1.6.2)
141144
loofah (~> 2.21)
142-
nokogiri (~> 1.14)
143-
railties (6.1.7.6)
144-
actionpack (= 6.1.7.6)
145-
activesupport (= 6.1.7.6)
145+
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
146+
railties (6.1.7.10)
147+
actionpack (= 6.1.7.10)
148+
activesupport (= 6.1.7.10)
146149
method_source
147150
rake (>= 12.2)
148151
thor (~> 1.0)
149-
rake (13.1.0)
152+
rake (13.3.1)
150153
rbtree (0.4.6)
151154
redcarpet (3.6.0)
152155
rspec (3.12.0)
@@ -182,7 +185,7 @@ GEM
182185
activesupport (>= 5.2)
183186
sprockets (>= 3.0.0)
184187
stackprof (0.2.25)
185-
thor (1.3.0)
188+
thor (1.4.0)
186189
timeout (0.4.1)
187190
tomparse (0.4.2)
188191
tzinfo (2.0.6)
@@ -194,7 +197,7 @@ GEM
194197
yard-tomdoc (0.7.1)
195198
tomparse (>= 0.4.0)
196199
yard
197-
zeitwerk (2.6.12)
200+
zeitwerk (2.7.4)
198201

199202
PLATFORMS
200203
ruby
@@ -204,6 +207,7 @@ DEPENDENCIES
204207
curly-templates!
205208
genspec!
206209
github-markup
210+
ostruct
207211
rails (~> 6.1.0)
208212
rake
209213
redcarpet
@@ -214,4 +218,4 @@ DEPENDENCIES
214218
yard-tomdoc
215219

216220
BUNDLED WITH
217-
2.4.17
221+
4.0.3

0 commit comments

Comments
 (0)