Skip to content

Commit 634603b

Browse files
committed
Test against released Rails
1 parent 4f46ac2 commit 634603b

File tree

4 files changed

+116
-100
lines changed

4 files changed

+116
-100
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,15 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
os: [ubuntu-latest, macos-latest, windows-latest]
12+
gemfile:
13+
- Gemfile
14+
- gemfiles/Gemfile-rails-main
1215
ruby: ["3.0", "3.1", "3.2", "3.3", "head"]
1316
include:
1417
- ruby: "head"
1518
experimental: true
19+
- Gemfile: "gemfiles/Gemfile-rails-main"
20+
experimental: true
1621
runs-on: ${{ matrix.os }}
1722
continue-on-error: ${{ !!matrix.experimental }}
1823
name: Ruby ${{ matrix.ruby }} on ${{ matrix.os }}

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ gem "rdoc", require: false
1818
gem "sorbet-static-and-runtime", platforms: :ruby
1919
gem "tapioca", "~> 0.11", require: false, platforms: :ruby
2020
gem "psych", "~> 5.1", require: false
21-
gem "rails", github: "rails/rails", branch: "main"
21+
gem "rails"
2222
gem "tzinfo-data", platforms: :windows

Gemfile.lock

Lines changed: 88 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -1,120 +1,93 @@
1-
GIT
2-
remote: https://github.com/rails/rails.git
3-
revision: 757f4896417f86b58303e416f4040a2b434abdd6
4-
branch: main
1+
PATH
2+
remote: .
53
specs:
6-
actioncable (7.2.0.alpha)
7-
actionpack (= 7.2.0.alpha)
8-
activesupport (= 7.2.0.alpha)
4+
ruby-lsp-rails (0.2.8)
5+
actionpack (>= 6.0)
6+
activerecord (>= 6.0)
7+
railties (>= 6.0)
8+
ruby-lsp (>= 0.13.0, < 0.14.0)
9+
sorbet-runtime (>= 0.5.9897)
10+
11+
GEM
12+
remote: https://rubygems.org/
13+
specs:
14+
actioncable (7.1.2)
15+
actionpack (= 7.1.2)
16+
activesupport (= 7.1.2)
917
nio4r (~> 2.0)
1018
websocket-driver (>= 0.6.1)
1119
zeitwerk (~> 2.6)
12-
actionmailbox (7.2.0.alpha)
13-
actionpack (= 7.2.0.alpha)
14-
activejob (= 7.2.0.alpha)
15-
activerecord (= 7.2.0.alpha)
16-
activestorage (= 7.2.0.alpha)
17-
activesupport (= 7.2.0.alpha)
20+
actionmailbox (7.1.2)
21+
actionpack (= 7.1.2)
22+
activejob (= 7.1.2)
23+
activerecord (= 7.1.2)
24+
activestorage (= 7.1.2)
25+
activesupport (= 7.1.2)
1826
mail (>= 2.7.1)
1927
net-imap
2028
net-pop
2129
net-smtp
22-
actionmailer (7.2.0.alpha)
23-
actionpack (= 7.2.0.alpha)
24-
actionview (= 7.2.0.alpha)
25-
activejob (= 7.2.0.alpha)
26-
activesupport (= 7.2.0.alpha)
30+
actionmailer (7.1.2)
31+
actionpack (= 7.1.2)
32+
actionview (= 7.1.2)
33+
activejob (= 7.1.2)
34+
activesupport (= 7.1.2)
2735
mail (~> 2.5, >= 2.5.4)
2836
net-imap
2937
net-pop
3038
net-smtp
3139
rails-dom-testing (~> 2.2)
32-
actionpack (7.2.0.alpha)
33-
actionview (= 7.2.0.alpha)
34-
activesupport (= 7.2.0.alpha)
40+
actionpack (7.1.2)
41+
actionview (= 7.1.2)
42+
activesupport (= 7.1.2)
3543
nokogiri (>= 1.8.5)
3644
racc
3745
rack (>= 2.2.4)
3846
rack-session (>= 1.0.1)
3947
rack-test (>= 0.6.3)
4048
rails-dom-testing (~> 2.2)
4149
rails-html-sanitizer (~> 1.6)
42-
actiontext (7.2.0.alpha)
43-
actionpack (= 7.2.0.alpha)
44-
activerecord (= 7.2.0.alpha)
45-
activestorage (= 7.2.0.alpha)
46-
activesupport (= 7.2.0.alpha)
50+
actiontext (7.1.2)
51+
actionpack (= 7.1.2)
52+
activerecord (= 7.1.2)
53+
activestorage (= 7.1.2)
54+
activesupport (= 7.1.2)
4755
globalid (>= 0.6.0)
4856
nokogiri (>= 1.8.5)
49-
actionview (7.2.0.alpha)
50-
activesupport (= 7.2.0.alpha)
57+
actionview (7.1.2)
58+
activesupport (= 7.1.2)
5159
builder (~> 3.1)
5260
erubi (~> 1.11)
5361
rails-dom-testing (~> 2.2)
5462
rails-html-sanitizer (~> 1.6)
55-
activejob (7.2.0.alpha)
56-
activesupport (= 7.2.0.alpha)
63+
activejob (7.1.2)
64+
activesupport (= 7.1.2)
5765
globalid (>= 0.3.6)
58-
activemodel (7.2.0.alpha)
59-
activesupport (= 7.2.0.alpha)
60-
activerecord (7.2.0.alpha)
61-
activemodel (= 7.2.0.alpha)
62-
activesupport (= 7.2.0.alpha)
66+
activemodel (7.1.2)
67+
activesupport (= 7.1.2)
68+
activerecord (7.1.2)
69+
activemodel (= 7.1.2)
70+
activesupport (= 7.1.2)
6371
timeout (>= 0.4.0)
64-
activestorage (7.2.0.alpha)
65-
actionpack (= 7.2.0.alpha)
66-
activejob (= 7.2.0.alpha)
67-
activerecord (= 7.2.0.alpha)
68-
activesupport (= 7.2.0.alpha)
72+
activestorage (7.1.2)
73+
actionpack (= 7.1.2)
74+
activejob (= 7.1.2)
75+
activerecord (= 7.1.2)
76+
activesupport (= 7.1.2)
6977
marcel (~> 1.0)
70-
activesupport (7.2.0.alpha)
78+
activesupport (7.1.2)
7179
base64
7280
bigdecimal
7381
concurrent-ruby (~> 1.0, >= 1.0.2)
7482
connection_pool (>= 2.2.5)
7583
drb
7684
i18n (>= 1.6, < 2)
7785
minitest (>= 5.1)
78-
tzinfo (~> 2.0, >= 2.0.5)
79-
rails (7.2.0.alpha)
80-
actioncable (= 7.2.0.alpha)
81-
actionmailbox (= 7.2.0.alpha)
82-
actionmailer (= 7.2.0.alpha)
83-
actionpack (= 7.2.0.alpha)
84-
actiontext (= 7.2.0.alpha)
85-
actionview (= 7.2.0.alpha)
86-
activejob (= 7.2.0.alpha)
87-
activemodel (= 7.2.0.alpha)
88-
activerecord (= 7.2.0.alpha)
89-
activestorage (= 7.2.0.alpha)
90-
activesupport (= 7.2.0.alpha)
91-
bundler (>= 1.15.0)
92-
railties (= 7.2.0.alpha)
93-
railties (7.2.0.alpha)
94-
actionpack (= 7.2.0.alpha)
95-
activesupport (= 7.2.0.alpha)
96-
irb
97-
rackup (>= 1.0.0)
98-
rake (>= 12.2)
99-
thor (~> 1.0, >= 1.2.2)
100-
zeitwerk (~> 2.6)
101-
102-
PATH
103-
remote: .
104-
specs:
105-
ruby-lsp-rails (0.2.8)
106-
actionpack (>= 6.0)
107-
activerecord (>= 6.0)
108-
railties (>= 6.0)
109-
ruby-lsp (>= 0.13.0, < 0.14.0)
110-
sorbet-runtime (>= 0.5.9897)
111-
112-
GEM
113-
remote: https://rubygems.org/
114-
specs:
86+
mutex_m
87+
tzinfo (~> 2.0)
11588
ast (2.4.2)
11689
base64 (0.2.0)
117-
bigdecimal (3.1.4)
90+
bigdecimal (3.1.5)
11891
builder (3.2.4)
11992
concurrent-ruby (1.2.2)
12093
connection_pool (2.4.1)
@@ -131,12 +104,12 @@ GEM
131104
i18n (1.14.1)
132105
concurrent-ruby (~> 1.0)
133106
io-console (0.7.1)
134-
irb (1.11.0)
107+
irb (1.11.1)
135108
rdoc
136-
reline (>= 0.3.8)
109+
reline (>= 0.4.2)
137110
json (2.7.1)
138111
language_server-protocol (3.17.0.3)
139-
loofah (2.21.4)
112+
loofah (2.22.0)
140113
crass (~> 1.0.2)
141114
nokogiri (>= 1.12.0)
142115
mail (2.8.1)
@@ -146,27 +119,24 @@ GEM
146119
net-smtp
147120
marcel (1.0.2)
148121
mini_mime (1.1.5)
122+
mini_portile2 (2.8.5)
149123
minitest (5.20.0)
150124
mocha (2.1.0)
151125
ruby2_keywords (>= 0.0.5)
152-
net-imap (0.4.5)
126+
mutex_m (0.2.0)
127+
net-imap (0.4.9.1)
153128
date
154129
net-protocol
155130
net-pop (0.1.2)
156131
net-protocol
157132
net-protocol (0.2.2)
158133
timeout
159-
net-smtp (0.4.0)
134+
net-smtp (0.4.0.1)
160135
net-protocol
161136
netrc (0.11.0)
162-
nio4r (2.5.9)
163-
nokogiri (1.16.0-arm64-darwin)
164-
racc (~> 1.4)
165-
nokogiri (1.16.0-x64-mingw-ucrt)
166-
racc (~> 1.4)
167-
nokogiri (1.16.0-x86_64-darwin)
168-
racc (~> 1.4)
169-
nokogiri (1.16.0-x86_64-linux)
137+
nio4r (2.7.0)
138+
nokogiri (1.16.0)
139+
mini_portile2 (~> 2.8.2)
170140
racc (~> 1.4)
171141
parallel (1.24.0)
172142
parser (3.2.2.4)
@@ -187,13 +157,35 @@ GEM
187157
rackup (2.1.0)
188158
rack (>= 3)
189159
webrick (~> 1.8)
160+
rails (7.1.2)
161+
actioncable (= 7.1.2)
162+
actionmailbox (= 7.1.2)
163+
actionmailer (= 7.1.2)
164+
actionpack (= 7.1.2)
165+
actiontext (= 7.1.2)
166+
actionview (= 7.1.2)
167+
activejob (= 7.1.2)
168+
activemodel (= 7.1.2)
169+
activerecord (= 7.1.2)
170+
activestorage (= 7.1.2)
171+
activesupport (= 7.1.2)
172+
bundler (>= 1.15.0)
173+
railties (= 7.1.2)
190174
rails-dom-testing (2.2.0)
191175
activesupport (>= 5.0.0)
192176
minitest
193177
nokogiri (>= 1.6)
194178
rails-html-sanitizer (1.6.0)
195179
loofah (~> 2.21)
196180
nokogiri (~> 1.14)
181+
railties (7.1.2)
182+
actionpack (= 7.1.2)
183+
activesupport (= 7.1.2)
184+
irb
185+
rackup (>= 1.0.0)
186+
rake (>= 12.2)
187+
thor (~> 1.0, >= 1.2.2)
188+
zeitwerk (~> 2.6)
197189
rainbow (3.1.1)
198190
rake (13.1.0)
199191
rbi (0.1.6)
@@ -202,7 +194,7 @@ GEM
202194
rdoc (6.6.2)
203195
psych (>= 4.0.0)
204196
regexp_parser (2.8.3)
205-
reline (0.4.1)
197+
reline (0.4.2)
206198
io-console (~> 0.5)
207199
rexml (3.2.6)
208200
rubocop (1.59.0)
@@ -246,10 +238,8 @@ GEM
246238
sorbet-static-and-runtime (>= 0.5.10187)
247239
syntax_tree (>= 6.1.1)
248240
thor (>= 0.19.2)
249-
sqlite3 (1.7.0-arm64-darwin)
250-
sqlite3 (1.7.0-x64-mingw-ucrt)
251-
sqlite3 (1.7.0-x86_64-darwin)
252-
sqlite3 (1.7.0-x86_64-linux)
241+
sqlite3 (1.7.0)
242+
mini_portile2 (~> 2.8.0)
253243
stringio (3.1.0)
254244
syntax_tree (6.2.0)
255245
prettier_print (>= 1.2.0)
@@ -282,7 +272,6 @@ GEM
282272
PLATFORMS
283273
arm64-darwin
284274
x64-mingw32
285-
x64-mingw-ucrt
286275
x86_64-darwin
287276
x86_64-linux
288277

@@ -291,7 +280,7 @@ DEPENDENCIES
291280
mocha
292281
psych (~> 5.1)
293282
puma
294-
rails!
283+
rails
295284
rdoc
296285
rubocop-minitest (~> 0.34.3)
297286
rubocop-rake (~> 0.6.0)

gemfiles/Gemfile-rails-main

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# frozen_string_literal: true
2+
3+
source "https://rubygems.org"
4+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
5+
6+
# Specify your gem's dependencies in ruby_lsp_rails.gemspec.
7+
gemspec
8+
9+
gem "puma"
10+
gem "sqlite3"
11+
gem "debug", ">= 1.7.0"
12+
gem "mocha"
13+
gem "rubocop-shopify", "~> 2.14", require: false
14+
gem "rubocop-minitest", "~> 0.34.3", require: false
15+
gem "rubocop-rake", "~> 0.6.0", require: false
16+
gem "rubocop-sorbet", "~> 0.7", require: false
17+
gem "rdoc", require: false
18+
gem "sorbet-static-and-runtime", platforms: :ruby
19+
gem "tapioca", "~> 0.11", require: false, platforms: :ruby
20+
gem "psych", "~> 5.1", require: false
21+
gem "rails", github: "rails/rails", branch: "main"
22+
gem "tzinfo-data", platforms: :windows

0 commit comments

Comments
 (0)