Skip to content

Commit b812711

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

File tree

4 files changed

+112
-90
lines changed

4 files changed

+112
-90
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,18 @@ 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 }}
18-
name: Ruby ${{ matrix.ruby }} on ${{ matrix.os }}
23+
name: Ruby ${{ matrix.ruby }} on ${{ matrix.os }} with ${{matrix.gemfile}}
1924
steps:
2025
- uses: actions/checkout@v3
2126

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: 83 additions & 88 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: .
3+
specs:
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/
513
specs:
6-
actioncable (7.2.0.alpha)
7-
actionpack (= 7.2.0.alpha)
8-
activesupport (= 7.2.0.alpha)
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)
@@ -149,17 +122,18 @@ GEM
149122
minitest (5.20.0)
150123
mocha (2.1.0)
151124
ruby2_keywords (>= 0.0.5)
152-
net-imap (0.4.5)
125+
mutex_m (0.2.0)
126+
net-imap (0.4.9.1)
153127
date
154128
net-protocol
155129
net-pop (0.1.2)
156130
net-protocol
157131
net-protocol (0.2.2)
158132
timeout
159-
net-smtp (0.4.0)
133+
net-smtp (0.4.0.1)
160134
net-protocol
161135
netrc (0.11.0)
162-
nio4r (2.5.9)
136+
nio4r (2.7.0)
163137
nokogiri (1.16.0-arm64-darwin)
164138
racc (~> 1.4)
165139
nokogiri (1.16.0-x64-mingw-ucrt)
@@ -187,13 +161,35 @@ GEM
187161
rackup (2.1.0)
188162
rack (>= 3)
189163
webrick (~> 1.8)
164+
rails (7.1.2)
165+
actioncable (= 7.1.2)
166+
actionmailbox (= 7.1.2)
167+
actionmailer (= 7.1.2)
168+
actionpack (= 7.1.2)
169+
actiontext (= 7.1.2)
170+
actionview (= 7.1.2)
171+
activejob (= 7.1.2)
172+
activemodel (= 7.1.2)
173+
activerecord (= 7.1.2)
174+
activestorage (= 7.1.2)
175+
activesupport (= 7.1.2)
176+
bundler (>= 1.15.0)
177+
railties (= 7.1.2)
190178
rails-dom-testing (2.2.0)
191179
activesupport (>= 5.0.0)
192180
minitest
193181
nokogiri (>= 1.6)
194182
rails-html-sanitizer (1.6.0)
195183
loofah (~> 2.21)
196184
nokogiri (~> 1.14)
185+
railties (7.1.2)
186+
actionpack (= 7.1.2)
187+
activesupport (= 7.1.2)
188+
irb
189+
rackup (>= 1.0.0)
190+
rake (>= 12.2)
191+
thor (~> 1.0, >= 1.2.2)
192+
zeitwerk (~> 2.6)
197193
rainbow (3.1.1)
198194
rake (13.1.0)
199195
rbi (0.1.6)
@@ -202,7 +198,7 @@ GEM
202198
rdoc (6.6.2)
203199
psych (>= 4.0.0)
204200
regexp_parser (2.8.3)
205-
reline (0.4.1)
201+
reline (0.4.2)
206202
io-console (~> 0.5)
207203
rexml (3.2.6)
208204
rubocop (1.59.0)
@@ -281,7 +277,6 @@ GEM
281277

282278
PLATFORMS
283279
arm64-darwin
284-
x64-mingw32
285280
x64-mingw-ucrt
286281
x86_64-darwin
287282
x86_64-linux
@@ -291,7 +286,7 @@ DEPENDENCIES
291286
mocha
292287
psych (~> 5.1)
293288
puma
294-
rails!
289+
rails
295290
rdoc
296291
rubocop-minitest (~> 0.34.3)
297292
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)