Skip to content

Commit 1954a2e

Browse files
committed
Extract Gemfile commonality
1 parent a4bff73 commit 1954a2e

File tree

4 files changed

+310
-37
lines changed

4 files changed

+310
-37
lines changed

Gemfile

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,5 @@
11
# frozen_string_literal: true
22

3-
source "https://rubygems.org"
4-
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3+
eval_gemfile("Gemfile-common")
54

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
215
gem "rails"
22-
gem "tzinfo-data", platforms: :windows

Gemfile-common

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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 "tzinfo-data", platforms: :windows

gemfiles/Gemfile-rails-main

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,4 @@
11
# frozen_string_literal: true
22

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
3+
eval_gemfile("../Gemfile-common")
214
gem "rails", github: "rails/rails", branch: "main"
22-
gem "tzinfo-data", platforms: :windows

gemfiles/Gemfile-rails-main.lock

Lines changed: 287 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,287 @@
1+
GIT
2+
remote: https://github.com/rails/rails.git
3+
revision: 2d6b02bad6b02bf1d26c26461406bda710181244
4+
branch: main
5+
specs:
6+
actioncable (7.2.0.alpha)
7+
actionpack (= 7.2.0.alpha)
8+
activesupport (= 7.2.0.alpha)
9+
nio4r (~> 2.0)
10+
websocket-driver (>= 0.6.1)
11+
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)
18+
mail (>= 2.8.0)
19+
actionmailer (7.2.0.alpha)
20+
actionpack (= 7.2.0.alpha)
21+
actionview (= 7.2.0.alpha)
22+
activejob (= 7.2.0.alpha)
23+
activesupport (= 7.2.0.alpha)
24+
mail (~> 2.5, >= 2.8.0)
25+
rails-dom-testing (~> 2.2)
26+
actionpack (7.2.0.alpha)
27+
actionview (= 7.2.0.alpha)
28+
activesupport (= 7.2.0.alpha)
29+
nokogiri (>= 1.8.5)
30+
racc
31+
rack (>= 2.2.4)
32+
rack-session (>= 1.0.1)
33+
rack-test (>= 0.6.3)
34+
rails-dom-testing (~> 2.2)
35+
rails-html-sanitizer (~> 1.6)
36+
useragent (~> 0.16)
37+
actiontext (7.2.0.alpha)
38+
actionpack (= 7.2.0.alpha)
39+
activerecord (= 7.2.0.alpha)
40+
activestorage (= 7.2.0.alpha)
41+
activesupport (= 7.2.0.alpha)
42+
globalid (>= 0.6.0)
43+
nokogiri (>= 1.8.5)
44+
actionview (7.2.0.alpha)
45+
activesupport (= 7.2.0.alpha)
46+
builder (~> 3.1)
47+
erubi (~> 1.11)
48+
rails-dom-testing (~> 2.2)
49+
rails-html-sanitizer (~> 1.6)
50+
activejob (7.2.0.alpha)
51+
activesupport (= 7.2.0.alpha)
52+
globalid (>= 0.3.6)
53+
activemodel (7.2.0.alpha)
54+
activesupport (= 7.2.0.alpha)
55+
activerecord (7.2.0.alpha)
56+
activemodel (= 7.2.0.alpha)
57+
activesupport (= 7.2.0.alpha)
58+
timeout (>= 0.4.0)
59+
activestorage (7.2.0.alpha)
60+
actionpack (= 7.2.0.alpha)
61+
activejob (= 7.2.0.alpha)
62+
activerecord (= 7.2.0.alpha)
63+
activesupport (= 7.2.0.alpha)
64+
marcel (~> 1.0)
65+
activesupport (7.2.0.alpha)
66+
base64
67+
bigdecimal
68+
concurrent-ruby (~> 1.0, >= 1.0.2)
69+
connection_pool (>= 2.2.5)
70+
drb
71+
i18n (>= 1.6, < 2)
72+
minitest (>= 5.1)
73+
tzinfo (~> 2.0, >= 2.0.5)
74+
rails (7.2.0.alpha)
75+
actioncable (= 7.2.0.alpha)
76+
actionmailbox (= 7.2.0.alpha)
77+
actionmailer (= 7.2.0.alpha)
78+
actionpack (= 7.2.0.alpha)
79+
actiontext (= 7.2.0.alpha)
80+
actionview (= 7.2.0.alpha)
81+
activejob (= 7.2.0.alpha)
82+
activemodel (= 7.2.0.alpha)
83+
activerecord (= 7.2.0.alpha)
84+
activestorage (= 7.2.0.alpha)
85+
activesupport (= 7.2.0.alpha)
86+
bundler (>= 1.15.0)
87+
railties (= 7.2.0.alpha)
88+
railties (7.2.0.alpha)
89+
actionpack (= 7.2.0.alpha)
90+
activesupport (= 7.2.0.alpha)
91+
irb
92+
rackup (>= 1.0.0)
93+
rake (>= 12.2)
94+
thor (~> 1.0, >= 1.2.2)
95+
zeitwerk (~> 2.6)
96+
97+
PATH
98+
remote: ..
99+
specs:
100+
ruby-lsp-rails (0.2.8)
101+
actionpack (>= 6.0)
102+
activerecord (>= 6.0)
103+
railties (>= 6.0)
104+
ruby-lsp (>= 0.13.0, < 0.14.0)
105+
sorbet-runtime (>= 0.5.9897)
106+
107+
GEM
108+
remote: https://rubygems.org/
109+
specs:
110+
ast (2.4.2)
111+
base64 (0.2.0)
112+
bigdecimal (3.1.5)
113+
builder (3.2.4)
114+
concurrent-ruby (1.2.2)
115+
connection_pool (2.4.1)
116+
crass (1.0.6)
117+
date (3.3.4)
118+
debug (1.9.1)
119+
irb (~> 1.10)
120+
reline (>= 0.3.8)
121+
drb (2.2.0)
122+
ruby2_keywords
123+
erubi (1.12.0)
124+
globalid (1.2.1)
125+
activesupport (>= 6.1)
126+
i18n (1.14.1)
127+
concurrent-ruby (~> 1.0)
128+
io-console (0.7.1)
129+
irb (1.11.1)
130+
rdoc
131+
reline (>= 0.4.2)
132+
json (2.7.1)
133+
language_server-protocol (3.17.0.3)
134+
loofah (2.22.0)
135+
crass (~> 1.0.2)
136+
nokogiri (>= 1.12.0)
137+
mail (2.8.1)
138+
mini_mime (>= 0.1.1)
139+
net-imap
140+
net-pop
141+
net-smtp
142+
marcel (1.0.2)
143+
mini_mime (1.1.5)
144+
minitest (5.20.0)
145+
mocha (2.1.0)
146+
ruby2_keywords (>= 0.0.5)
147+
net-imap (0.4.9.1)
148+
date
149+
net-protocol
150+
net-pop (0.1.2)
151+
net-protocol
152+
net-protocol (0.2.2)
153+
timeout
154+
net-smtp (0.4.0.1)
155+
net-protocol
156+
netrc (0.11.0)
157+
nio4r (2.7.0)
158+
nokogiri (1.16.0-arm64-darwin)
159+
racc (~> 1.4)
160+
parallel (1.24.0)
161+
parser (3.3.0.2)
162+
ast (~> 2.4.1)
163+
racc
164+
prettier_print (1.2.1)
165+
prism (0.19.0)
166+
psych (5.1.2)
167+
stringio
168+
puma (6.4.2)
169+
nio4r (~> 2.0)
170+
racc (1.7.3)
171+
rack (3.0.8)
172+
rack-session (2.0.0)
173+
rack (>= 3.0.0)
174+
rack-test (2.1.0)
175+
rack (>= 1.3)
176+
rackup (2.1.0)
177+
rack (>= 3)
178+
webrick (~> 1.8)
179+
rails-dom-testing (2.2.0)
180+
activesupport (>= 5.0.0)
181+
minitest
182+
nokogiri (>= 1.6)
183+
rails-html-sanitizer (1.6.0)
184+
loofah (~> 2.21)
185+
nokogiri (~> 1.14)
186+
rainbow (3.1.1)
187+
rake (13.1.0)
188+
rbi (0.1.6)
189+
prism (>= 0.18.0, < 0.20)
190+
sorbet-runtime (>= 0.5.9204)
191+
rdoc (6.6.2)
192+
psych (>= 4.0.0)
193+
regexp_parser (2.9.0)
194+
reline (0.4.2)
195+
io-console (~> 0.5)
196+
rexml (3.2.6)
197+
rubocop (1.59.0)
198+
json (~> 2.3)
199+
language_server-protocol (>= 3.17.0)
200+
parallel (~> 1.10)
201+
parser (>= 3.2.2.4)
202+
rainbow (>= 2.2.2, < 4.0)
203+
regexp_parser (>= 1.8, < 3.0)
204+
rexml (>= 3.2.5, < 4.0)
205+
rubocop-ast (>= 1.30.0, < 2.0)
206+
ruby-progressbar (~> 1.7)
207+
unicode-display_width (>= 2.4.0, < 3.0)
208+
rubocop-ast (1.30.0)
209+
parser (>= 3.2.1.0)
210+
rubocop-minitest (0.34.4)
211+
rubocop (>= 1.39, < 2.0)
212+
rubocop-ast (>= 1.30.0, < 2.0)
213+
rubocop-rake (0.6.0)
214+
rubocop (~> 1.0)
215+
rubocop-shopify (2.14.0)
216+
rubocop (~> 1.51)
217+
rubocop-sorbet (0.7.6)
218+
rubocop (>= 0.90.0)
219+
ruby-lsp (0.13.2)
220+
language_server-protocol (~> 3.17.0)
221+
prism (>= 0.19.0, < 0.20)
222+
sorbet-runtime (>= 0.5.5685)
223+
ruby-progressbar (1.13.0)
224+
ruby2_keywords (0.0.5)
225+
sorbet (0.5.11180)
226+
sorbet-static (= 0.5.11180)
227+
sorbet-runtime (0.5.11180)
228+
sorbet-static (0.5.11180-universal-darwin)
229+
sorbet-static-and-runtime (0.5.11180)
230+
sorbet (= 0.5.11180)
231+
sorbet-runtime (= 0.5.11180)
232+
spoom (1.2.4)
233+
erubi (>= 1.10.0)
234+
sorbet-static-and-runtime (>= 0.5.10187)
235+
syntax_tree (>= 6.1.1)
236+
thor (>= 0.19.2)
237+
sqlite3 (1.7.0-arm64-darwin)
238+
stringio (3.1.0)
239+
syntax_tree (6.2.0)
240+
prettier_print (>= 1.2.0)
241+
tapioca (0.11.15)
242+
bundler (>= 2.2.25)
243+
netrc (>= 0.11.0)
244+
parallel (>= 1.21.0)
245+
rbi (>= 0.1.4, < 0.2)
246+
sorbet-static-and-runtime (>= 0.5.10820)
247+
spoom (~> 1.2.0, >= 1.2.0)
248+
thor (>= 1.2.0)
249+
yard-sorbet
250+
thor (1.3.0)
251+
timeout (0.4.1)
252+
tzinfo (2.0.6)
253+
concurrent-ruby (~> 1.0)
254+
unicode-display_width (2.5.0)
255+
useragent (0.16.10)
256+
webrick (1.8.1)
257+
websocket-driver (0.7.6)
258+
websocket-extensions (>= 0.1.0)
259+
websocket-extensions (0.1.5)
260+
yard (0.9.34)
261+
yard-sorbet (0.8.1)
262+
sorbet-runtime (>= 0.5)
263+
yard (>= 0.9)
264+
zeitwerk (2.6.12)
265+
266+
PLATFORMS
267+
arm64-darwin-22
268+
269+
DEPENDENCIES
270+
debug (>= 1.7.0)
271+
mocha
272+
psych (~> 5.1)
273+
puma
274+
rails!
275+
rdoc
276+
rubocop-minitest (~> 0.34.3)
277+
rubocop-rake (~> 0.6.0)
278+
rubocop-shopify (~> 2.14)
279+
rubocop-sorbet (~> 0.7)
280+
ruby-lsp-rails!
281+
sorbet-static-and-runtime
282+
sqlite3
283+
tapioca (~> 0.11)
284+
tzinfo-data
285+
286+
BUNDLED WITH
287+
2.4.22

0 commit comments

Comments
 (0)