Skip to content

Commit fcc6541

Browse files
committed
test: add coverage for connection_pool v3
1 parent 3966f7d commit fcc6541

File tree

4 files changed

+284
-3
lines changed

4 files changed

+284
-3
lines changed

.github/workflows/ruby.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ jobs:
7676
- propshaft
7777
- sprockets_3
7878
- sprockets_4
79+
include:
80+
- ruby: [3.2]
81+
gemfile: [connection_pool_3]
7982
runs-on: ubuntu-latest
8083
env:
8184
# $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps

Appraisals

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ appraise 'shakapacker' do
2020
gem 'shakapacker', '7.2.0'
2121
end
2222

23-
appraise 'connection_pool_2' do
24-
gem 'connection_pool', '~> 2'
23+
appraise 'connection_pool_3' do
24+
gem 'connection_pool', '~> 3'
2525
end

gemfiles/connection_pool_2.gemfile renamed to gemfiles/connection_pool_3.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
source "http://rubygems.org"
44

5-
gem "connection_pool", "~> 2"
5+
gem "connection_pool", "~> 3"
66

77
gemspec path: "../"
Lines changed: 278 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,278 @@
1+
PATH
2+
remote: ..
3+
specs:
4+
react-rails (3.2.1)
5+
babel-transpiler (>= 0.7.0)
6+
connection_pool
7+
execjs
8+
railties (>= 3.2)
9+
tilt
10+
11+
GEM
12+
remote: http://rubygems.org/
13+
specs:
14+
actioncable (7.0.8.1)
15+
actionpack (= 7.0.8.1)
16+
activesupport (= 7.0.8.1)
17+
nio4r (~> 2.0)
18+
websocket-driver (>= 0.6.1)
19+
actionmailbox (7.0.8.1)
20+
actionpack (= 7.0.8.1)
21+
activejob (= 7.0.8.1)
22+
activerecord (= 7.0.8.1)
23+
activestorage (= 7.0.8.1)
24+
activesupport (= 7.0.8.1)
25+
mail (>= 2.7.1)
26+
net-imap
27+
net-pop
28+
net-smtp
29+
actionmailer (7.0.8.1)
30+
actionpack (= 7.0.8.1)
31+
actionview (= 7.0.8.1)
32+
activejob (= 7.0.8.1)
33+
activesupport (= 7.0.8.1)
34+
mail (~> 2.5, >= 2.5.4)
35+
net-imap
36+
net-pop
37+
net-smtp
38+
rails-dom-testing (~> 2.0)
39+
actionpack (7.0.8.1)
40+
actionview (= 7.0.8.1)
41+
activesupport (= 7.0.8.1)
42+
rack (~> 2.0, >= 2.2.4)
43+
rack-test (>= 0.6.3)
44+
rails-dom-testing (~> 2.0)
45+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
46+
actiontext (7.0.8.1)
47+
actionpack (= 7.0.8.1)
48+
activerecord (= 7.0.8.1)
49+
activestorage (= 7.0.8.1)
50+
activesupport (= 7.0.8.1)
51+
globalid (>= 0.6.0)
52+
nokogiri (>= 1.8.5)
53+
actionview (7.0.8.1)
54+
activesupport (= 7.0.8.1)
55+
builder (~> 3.1)
56+
erubi (~> 1.4)
57+
rails-dom-testing (~> 2.0)
58+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
59+
activejob (7.0.8.1)
60+
activesupport (= 7.0.8.1)
61+
globalid (>= 0.3.6)
62+
activemodel (7.0.8.1)
63+
activesupport (= 7.0.8.1)
64+
activerecord (7.0.8.1)
65+
activemodel (= 7.0.8.1)
66+
activesupport (= 7.0.8.1)
67+
activestorage (7.0.8.1)
68+
actionpack (= 7.0.8.1)
69+
activejob (= 7.0.8.1)
70+
activerecord (= 7.0.8.1)
71+
activesupport (= 7.0.8.1)
72+
marcel (~> 1.0)
73+
mini_mime (>= 1.1.0)
74+
activesupport (7.0.8.1)
75+
concurrent-ruby (~> 1.0, >= 1.0.2)
76+
i18n (>= 1.6, < 2)
77+
minitest (>= 5.1)
78+
tzinfo (~> 2.0)
79+
addressable (2.8.0)
80+
public_suffix (>= 2.0.2, < 5.0)
81+
appraisal (2.4.1)
82+
bundler
83+
rake
84+
thor (>= 0.14.0)
85+
babel-source (5.8.35)
86+
babel-transpiler (0.7.0)
87+
babel-source (>= 4.0, < 6)
88+
execjs (~> 2.0)
89+
builder (3.2.4)
90+
byebug (11.0.1)
91+
capybara (3.37.1)
92+
addressable
93+
matrix
94+
mini_mime (>= 0.1.3)
95+
nokogiri (~> 1.8)
96+
rack (>= 1.6.0)
97+
rack-test (>= 0.6.3)
98+
regexp_parser (>= 1.5, < 3.0)
99+
xpath (~> 3.2)
100+
codeclimate-test-reporter (1.0.9)
101+
simplecov (<= 0.13)
102+
coderay (1.1.3)
103+
coffee-rails (5.0.0)
104+
coffee-script (>= 2.2.0)
105+
railties (>= 5.2.0)
106+
coffee-script (2.4.1)
107+
coffee-script-source
108+
execjs
109+
coffee-script-source (1.12.2)
110+
concurrent-ruby (1.1.10)
111+
connection_pool (3.0.2)
112+
crass (1.0.6)
113+
date (3.4.1)
114+
docile (1.1.5)
115+
erubi (1.9.0)
116+
es5-shim-rails (4.0.1)
117+
actionpack (>= 3.1)
118+
railties (>= 3.1)
119+
execjs (2.7.0)
120+
ffi (1.15.5)
121+
formatador (1.1.0)
122+
gem-release (2.2.2)
123+
globalid (1.2.1)
124+
activesupport (>= 6.1)
125+
guard (2.18.0)
126+
formatador (>= 0.2.4)
127+
listen (>= 2.7, < 4.0)
128+
lumberjack (>= 1.0.12, < 2.0)
129+
nenv (~> 0.1)
130+
notiffany (~> 0.0)
131+
pry (>= 0.13.0)
132+
shellany (~> 0.0)
133+
thor (>= 0.18.1)
134+
guard-compat (1.2.1)
135+
guard-minitest (2.4.6)
136+
guard-compat (~> 1.2)
137+
minitest (>= 3.0)
138+
i18n (1.12.0)
139+
concurrent-ruby (~> 1.0)
140+
jbuilder (2.11.5)
141+
actionview (>= 5.0.0)
142+
activesupport (>= 5.0.0)
143+
json (2.9.1)
144+
listen (3.0.8)
145+
rb-fsevent (~> 0.9, >= 0.9.4)
146+
rb-inotify (~> 0.9, >= 0.9.7)
147+
loofah (2.19.1)
148+
crass (~> 1.0.2)
149+
nokogiri (>= 1.5.9)
150+
lumberjack (1.2.8)
151+
mail (2.8.1)
152+
mini_mime (>= 0.1.1)
153+
net-imap
154+
net-pop
155+
net-smtp
156+
marcel (1.0.4)
157+
matrix (0.4.2)
158+
method_source (1.0.0)
159+
mini_mime (1.1.2)
160+
minitest (5.17.0)
161+
minitest-retry (0.2.2)
162+
minitest (>= 5.0)
163+
nenv (0.3.0)
164+
net-imap (0.4.11)
165+
date
166+
net-protocol
167+
net-pop (0.1.2)
168+
net-protocol
169+
net-protocol (0.2.2)
170+
timeout
171+
net-smtp (0.5.0)
172+
net-protocol
173+
nio4r (2.7.3)
174+
nokogiri (1.18.10-x86_64-linux-gnu)
175+
racc (~> 1.4)
176+
notiffany (0.1.3)
177+
nenv (~> 0.1)
178+
shellany (~> 0.0)
179+
package_json (0.1.0)
180+
pry (0.14.2)
181+
coderay (~> 1.1)
182+
method_source (~> 1.0)
183+
pry-byebug (3.8.0)
184+
byebug (~> 11.0)
185+
pry (~> 0.10)
186+
public_suffix (4.0.6)
187+
racc (1.6.2)
188+
rack (2.2.6.4)
189+
rack-test (2.0.2)
190+
rack (>= 1.3)
191+
rails (7.0.8.1)
192+
actioncable (= 7.0.8.1)
193+
actionmailbox (= 7.0.8.1)
194+
actionmailer (= 7.0.8.1)
195+
actionpack (= 7.0.8.1)
196+
actiontext (= 7.0.8.1)
197+
actionview (= 7.0.8.1)
198+
activejob (= 7.0.8.1)
199+
activemodel (= 7.0.8.1)
200+
activerecord (= 7.0.8.1)
201+
activestorage (= 7.0.8.1)
202+
activesupport (= 7.0.8.1)
203+
bundler (>= 1.15.0)
204+
railties (= 7.0.8.1)
205+
rails-dom-testing (2.0.3)
206+
activesupport (>= 4.2.0)
207+
nokogiri (>= 1.6)
208+
rails-html-sanitizer (1.4.4)
209+
loofah (~> 2.19, >= 2.19.1)
210+
railties (7.0.8.1)
211+
actionpack (= 7.0.8.1)
212+
activesupport (= 7.0.8.1)
213+
method_source
214+
rake (>= 12.2)
215+
thor (~> 1.0)
216+
zeitwerk (~> 2.5)
217+
rake (13.0.1)
218+
rb-fsevent (0.11.2)
219+
rb-inotify (0.10.1)
220+
ffi (~> 1.0)
221+
regexp_parser (2.6.0)
222+
rexml (3.2.5)
223+
rubyzip (2.3.2)
224+
selenium-webdriver (4.9.0)
225+
rexml (~> 3.2, >= 3.2.5)
226+
rubyzip (>= 1.2.2, < 3.0)
227+
websocket (~> 1.0)
228+
shellany (0.0.1)
229+
simplecov (0.13.0)
230+
docile (~> 1.1.0)
231+
json (>= 1.8, < 3)
232+
simplecov-html (~> 0.10.0)
233+
simplecov-html (0.10.2)
234+
test-unit (2.5.5)
235+
thor (1.2.1)
236+
tilt (2.1.0)
237+
timeout (0.4.3)
238+
turbo-rails (2.0.5)
239+
actionpack (>= 6.0.0)
240+
activejob (>= 6.0.0)
241+
railties (>= 6.0.0)
242+
tzinfo (2.0.6)
243+
concurrent-ruby (~> 1.0)
244+
websocket (1.2.9)
245+
websocket-driver (0.7.6)
246+
websocket-extensions (>= 0.1.0)
247+
websocket-extensions (0.1.5)
248+
xpath (3.2.0)
249+
nokogiri (~> 1.8)
250+
zeitwerk (2.6.6)
251+
252+
PLATFORMS
253+
x86_64-linux
254+
255+
DEPENDENCIES
256+
appraisal
257+
bundler (= 2.4.9)
258+
capybara
259+
codeclimate-test-reporter
260+
coffee-rails
261+
connection_pool (~> 3)
262+
es5-shim-rails (>= 2.0.5)
263+
gem-release
264+
guard
265+
guard-minitest
266+
jbuilder
267+
listen (~> 3.0.0)
268+
minitest-retry
269+
package_json
270+
pry-byebug
271+
rails (~> 7.0.7, >= 7.0.7.2)
272+
react-rails!
273+
selenium-webdriver
274+
test-unit (~> 2.5)
275+
turbo-rails
276+
277+
BUNDLED WITH
278+
2.4.9

0 commit comments

Comments
 (0)