Skip to content

Commit 3df95bd

Browse files
committed
Add CI test for Rails 7.1 and use as default.
1 parent 16bf546 commit 3df95bd

File tree

6 files changed

+163
-104
lines changed

6 files changed

+163
-104
lines changed

.github/workflows/build.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,12 @@ jobs:
88
fail-fast: false
99
matrix:
1010
include:
11-
- ruby: 3.0.0
11+
- ruby: 3.2
1212
gemfile: Gemfile
1313
postgres: 10
14+
- ruby: 3.2
15+
gemfile: gemfiles/Gemfile-7-0
16+
postgres: 10
1417
- ruby: 2.7
1518
gemfile: gemfiles/Gemfile-6-1
1619
postgres: 10
@@ -20,6 +23,7 @@ jobs:
2023
- ruby: 2.6
2124
gemfile: gemfiles/Gemfile-5-2
2225
postgres: 10
26+
2327
env:
2428
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
2529
USE_OFFICIAL_GEM_SOURCE: 1

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
New release please vitit GitHub Releases page.
2+
3+
https://github.com/rails-engine/action-store/releases
4+
15
## 1.1.1
26

37
- Update Table column limit for fix MySQL max key length error. (#17)

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
source "https://rubygems.org"
44

55
gemspec
6-
gem "rails", "~> 7.0.0"
6+
gem "rails", "~> 7.1.0"

Gemfile.lock

+147-93
Original file line numberDiff line numberDiff line change
@@ -7,137 +7,191 @@ PATH
77
GEM
88
remote: https://rubygems.org/
99
specs:
10-
actioncable (7.0.0)
11-
actionpack (= 7.0.0)
12-
activesupport (= 7.0.0)
10+
actioncable (7.1.0)
11+
actionpack (= 7.1.0)
12+
activesupport (= 7.1.0)
1313
nio4r (~> 2.0)
1414
websocket-driver (>= 0.6.1)
15-
actionmailbox (7.0.0)
16-
actionpack (= 7.0.0)
17-
activejob (= 7.0.0)
18-
activerecord (= 7.0.0)
19-
activestorage (= 7.0.0)
20-
activesupport (= 7.0.0)
15+
zeitwerk (~> 2.6)
16+
actionmailbox (7.1.0)
17+
actionpack (= 7.1.0)
18+
activejob (= 7.1.0)
19+
activerecord (= 7.1.0)
20+
activestorage (= 7.1.0)
21+
activesupport (= 7.1.0)
2122
mail (>= 2.7.1)
22-
actionmailer (7.0.0)
23-
actionpack (= 7.0.0)
24-
actionview (= 7.0.0)
25-
activejob (= 7.0.0)
26-
activesupport (= 7.0.0)
23+
net-imap
24+
net-pop
25+
net-smtp
26+
actionmailer (7.1.0)
27+
actionpack (= 7.1.0)
28+
actionview (= 7.1.0)
29+
activejob (= 7.1.0)
30+
activesupport (= 7.1.0)
2731
mail (~> 2.5, >= 2.5.4)
28-
rails-dom-testing (~> 2.0)
29-
actionpack (7.0.0)
30-
actionview (= 7.0.0)
31-
activesupport (= 7.0.0)
32-
rack (~> 2.0, >= 2.2.0)
32+
net-imap
33+
net-pop
34+
net-smtp
35+
rails-dom-testing (~> 2.2)
36+
actionpack (7.1.0)
37+
actionview (= 7.1.0)
38+
activesupport (= 7.1.0)
39+
nokogiri (>= 1.8.5)
40+
rack (>= 2.2.4)
41+
rack-session (>= 1.0.1)
3342
rack-test (>= 0.6.3)
34-
rails-dom-testing (~> 2.0)
35-
rails-html-sanitizer (~> 1.0, >= 1.2.0)
36-
actiontext (7.0.0)
37-
actionpack (= 7.0.0)
38-
activerecord (= 7.0.0)
39-
activestorage (= 7.0.0)
40-
activesupport (= 7.0.0)
43+
rails-dom-testing (~> 2.2)
44+
rails-html-sanitizer (~> 1.6)
45+
actiontext (7.1.0)
46+
actionpack (= 7.1.0)
47+
activerecord (= 7.1.0)
48+
activestorage (= 7.1.0)
49+
activesupport (= 7.1.0)
4150
globalid (>= 0.6.0)
4251
nokogiri (>= 1.8.5)
43-
actionview (7.0.0)
44-
activesupport (= 7.0.0)
52+
actionview (7.1.0)
53+
activesupport (= 7.1.0)
4554
builder (~> 3.1)
46-
erubi (~> 1.4)
47-
rails-dom-testing (~> 2.0)
48-
rails-html-sanitizer (~> 1.1, >= 1.2.0)
49-
activejob (7.0.0)
50-
activesupport (= 7.0.0)
55+
erubi (~> 1.11)
56+
rails-dom-testing (~> 2.2)
57+
rails-html-sanitizer (~> 1.6)
58+
activejob (7.1.0)
59+
activesupport (= 7.1.0)
5160
globalid (>= 0.3.6)
52-
activemodel (7.0.0)
53-
activesupport (= 7.0.0)
54-
activerecord (7.0.0)
55-
activemodel (= 7.0.0)
56-
activesupport (= 7.0.0)
57-
activestorage (7.0.0)
58-
actionpack (= 7.0.0)
59-
activejob (= 7.0.0)
60-
activerecord (= 7.0.0)
61-
activesupport (= 7.0.0)
61+
activemodel (7.1.0)
62+
activesupport (= 7.1.0)
63+
activerecord (7.1.0)
64+
activemodel (= 7.1.0)
65+
activesupport (= 7.1.0)
66+
timeout (>= 0.4.0)
67+
activestorage (7.1.0)
68+
actionpack (= 7.1.0)
69+
activejob (= 7.1.0)
70+
activerecord (= 7.1.0)
71+
activesupport (= 7.1.0)
6272
marcel (~> 1.0)
63-
mini_mime (>= 1.1.0)
64-
activesupport (7.0.0)
73+
activesupport (7.1.0)
74+
base64
75+
bigdecimal
6576
concurrent-ruby (~> 1.0, >= 1.0.2)
77+
connection_pool (>= 2.2.5)
78+
drb
6679
i18n (>= 1.6, < 2)
6780
minitest (>= 5.1)
81+
mutex_m
6882
tzinfo (~> 2.0)
83+
base64 (0.1.1)
84+
bigdecimal (3.1.4)
6985
builder (3.2.4)
7086
codecov (0.6.0)
7187
simplecov (>= 0.15, < 0.22)
72-
concurrent-ruby (1.1.9)
88+
concurrent-ruby (1.2.2)
89+
connection_pool (2.4.1)
7390
crass (1.0.6)
91+
date (3.3.3)
7492
docile (1.4.0)
75-
erubi (1.10.0)
93+
drb (2.1.1)
94+
ruby2_keywords
95+
erubi (1.12.0)
7696
factory_bot (6.2.0)
7797
activesupport (>= 5.0.0)
78-
globalid (1.0.0)
79-
activesupport (>= 5.0)
80-
i18n (1.8.11)
98+
globalid (1.2.1)
99+
activesupport (>= 6.1)
100+
i18n (1.14.1)
81101
concurrent-ruby (~> 1.0)
82-
loofah (2.13.0)
102+
io-console (0.6.0)
103+
irb (1.8.1)
104+
rdoc
105+
reline (>= 0.3.8)
106+
loofah (2.21.3)
83107
crass (~> 1.0.2)
84-
nokogiri (>= 1.5.9)
85-
mail (2.7.1)
108+
nokogiri (>= 1.12.0)
109+
mail (2.8.1)
86110
mini_mime (>= 0.1.1)
111+
net-imap
112+
net-pop
113+
net-smtp
87114
marcel (1.0.2)
88-
method_source (1.0.0)
89-
mini_mime (1.1.2)
90-
mini_portile2 (2.6.1)
91-
minitest (5.15.0)
92-
nio4r (2.5.8)
93-
nokogiri (1.12.5)
94-
mini_portile2 (~> 2.6.1)
115+
mini_mime (1.1.5)
116+
mini_portile2 (2.8.4)
117+
minitest (5.20.0)
118+
mutex_m (0.1.2)
119+
net-imap (0.4.0)
120+
date
121+
net-protocol
122+
net-pop (0.1.2)
123+
net-protocol
124+
net-protocol (0.2.1)
125+
timeout
126+
net-smtp (0.4.0)
127+
net-protocol
128+
nio4r (2.5.9)
129+
nokogiri (1.15.4)
130+
mini_portile2 (~> 2.8.2)
95131
racc (~> 1.4)
96-
pg (1.2.3)
97-
racc (1.6.0)
98-
rack (2.2.3)
99-
rack-test (1.1.0)
100-
rack (>= 1.0, < 3)
101-
rails (7.0.0)
102-
actioncable (= 7.0.0)
103-
actionmailbox (= 7.0.0)
104-
actionmailer (= 7.0.0)
105-
actionpack (= 7.0.0)
106-
actiontext (= 7.0.0)
107-
actionview (= 7.0.0)
108-
activejob (= 7.0.0)
109-
activemodel (= 7.0.0)
110-
activerecord (= 7.0.0)
111-
activestorage (= 7.0.0)
112-
activesupport (= 7.0.0)
132+
pg (1.5.4)
133+
psych (5.1.0)
134+
stringio
135+
racc (1.7.1)
136+
rack (3.0.8)
137+
rack-session (2.0.0)
138+
rack (>= 3.0.0)
139+
rack-test (2.1.0)
140+
rack (>= 1.3)
141+
rackup (2.1.0)
142+
rack (>= 3)
143+
webrick (~> 1.8)
144+
rails (7.1.0)
145+
actioncable (= 7.1.0)
146+
actionmailbox (= 7.1.0)
147+
actionmailer (= 7.1.0)
148+
actionpack (= 7.1.0)
149+
actiontext (= 7.1.0)
150+
actionview (= 7.1.0)
151+
activejob (= 7.1.0)
152+
activemodel (= 7.1.0)
153+
activerecord (= 7.1.0)
154+
activestorage (= 7.1.0)
155+
activesupport (= 7.1.0)
113156
bundler (>= 1.15.0)
114-
railties (= 7.0.0)
115-
rails-dom-testing (2.0.3)
116-
activesupport (>= 4.2.0)
157+
railties (= 7.1.0)
158+
rails-dom-testing (2.2.0)
159+
activesupport (>= 5.0.0)
160+
minitest
117161
nokogiri (>= 1.6)
118-
rails-html-sanitizer (1.4.2)
119-
loofah (~> 2.3)
120-
railties (7.0.0)
121-
actionpack (= 7.0.0)
122-
activesupport (= 7.0.0)
123-
method_source
162+
rails-html-sanitizer (1.6.0)
163+
loofah (~> 2.21)
164+
nokogiri (~> 1.14)
165+
railties (7.1.0)
166+
actionpack (= 7.1.0)
167+
activesupport (= 7.1.0)
168+
irb
169+
rackup (>= 1.0.0)
124170
rake (>= 12.2)
125-
thor (~> 1.0)
126-
zeitwerk (~> 2.5)
171+
thor (~> 1.0, >= 1.2.2)
172+
zeitwerk (~> 2.6)
127173
rake (13.0.6)
174+
rdoc (6.5.0)
175+
psych (>= 4.0.0)
176+
reline (0.3.9)
177+
io-console (~> 0.5)
178+
ruby2_keywords (0.0.5)
128179
simplecov (0.21.2)
129180
docile (~> 1.1)
130181
simplecov-html (~> 0.11)
131182
simplecov_json_formatter (~> 0.1)
132183
simplecov-html (0.12.3)
133184
simplecov_json_formatter (0.1.3)
134-
thor (1.1.0)
135-
tzinfo (2.0.4)
185+
stringio (3.0.8)
186+
thor (1.2.2)
187+
timeout (0.4.0)
188+
tzinfo (2.0.6)
136189
concurrent-ruby (~> 1.0)
137-
websocket-driver (0.7.5)
190+
webrick (1.8.1)
191+
websocket-driver (0.7.6)
138192
websocket-extensions (>= 0.1.0)
139193
websocket-extensions (0.1.5)
140-
zeitwerk (2.5.1)
194+
zeitwerk (2.6.12)
141195

142196
PLATFORMS
143197
ruby
@@ -147,7 +201,7 @@ DEPENDENCIES
147201
codecov
148202
factory_bot
149203
pg
150-
rails (~> 7.0.0)
204+
rails (~> 7.1.0)
151205
simplecov
152206

153207
BUNDLED WITH

gemfiles/Gemfile-7-0

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
source 'https://rubygems.org'
2+
3+
gemspec path: '..'
4+
5+
gem 'rails', '~> 7.0.0'

test/test_helper.rb

+1-9
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,4 @@
3131

3232
class ActiveSupport::TestCase
3333
include FactoryBot::Syntax::Methods
34-
end
35-
36-
# Load fixtures from the engine
37-
if ActiveSupport::TestCase.respond_to?(:fixture_path=)
38-
ActiveSupport::TestCase.fixture_path = File.expand_path("fixtures", __dir__)
39-
ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path
40-
ActiveSupport::TestCase.file_fixture_path = "#{ActiveSupport::TestCase.fixture_path}/files"
41-
ActiveSupport::TestCase.fixtures :all
42-
end
34+
end

0 commit comments

Comments
 (0)