fast_ci 1.0.9 → 1.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +38 -0
- data/.gitignore +1 -0
- data/Gemfile.lock +58 -95
- data/lib/fast_ci/version.rb +1 -1
- data/lib/fast_ci.rb +3 -4
- data/lib/minitest/reporters/fastci_reporter.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb41363c3f2f501d704a926f3f303a598511321587a29c11637da3c4c7575aae
|
4
|
+
data.tar.gz: c8f82f7ecdba6962cf364807ba92bfe7f0cc2725a903e9669e55477853db78a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d248e5e58f8437d7fac17568606bd0dde08ea502d0b6aab33affb57ea8e24575fc9a8e6e5324a02463c0f1886d10d05aa23918b5e890525add1da4364097fbd
|
7
|
+
data.tar.gz: 9d6913a04a6abf413b702baa7134fad68e65597d7a74857514c9e8ffc58a135373ff2b19730d93ba2dd36a407096b7c419f52c6a5d842acaff65dfdfe2c3529b
|
@@ -0,0 +1,38 @@
|
|
1
|
+
name: Test
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ master ]
|
6
|
+
pull_request:
|
7
|
+
branches: [ master ]
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
build:
|
11
|
+
|
12
|
+
runs-on: ubuntu-latest
|
13
|
+
|
14
|
+
strategy:
|
15
|
+
fail-fast: false
|
16
|
+
matrix:
|
17
|
+
ruby:
|
18
|
+
- 3.2
|
19
|
+
- 3.1
|
20
|
+
- '3.0'
|
21
|
+
- 2.7
|
22
|
+
- 2.6
|
23
|
+
|
24
|
+
env:
|
25
|
+
RAILS_ENV: test
|
26
|
+
|
27
|
+
steps:
|
28
|
+
- uses: actions/checkout@v4
|
29
|
+
|
30
|
+
- name: Set up Ruby
|
31
|
+
uses: ruby/setup-ruby@v1
|
32
|
+
with:
|
33
|
+
ruby-version: ${{ matrix.ruby }}
|
34
|
+
bundler-cache: true
|
35
|
+
|
36
|
+
- name: Build and test
|
37
|
+
run: |
|
38
|
+
bundle exec rspec spec
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
@@ -11,7 +11,7 @@ GIT
|
|
11
11
|
PATH
|
12
12
|
remote: .
|
13
13
|
specs:
|
14
|
-
fast_ci (1.0.
|
14
|
+
fast_ci (1.0.11)
|
15
15
|
async-websocket (<= 0.20.0)
|
16
16
|
brakeman (>= 5.4.1)
|
17
17
|
console (>= 1.10.0)
|
@@ -23,32 +23,25 @@ PATH
|
|
23
23
|
GEM
|
24
24
|
remote: https://rubygems.org/
|
25
25
|
specs:
|
26
|
-
actionpack (
|
27
|
-
actionview (=
|
28
|
-
activesupport (=
|
29
|
-
|
30
|
-
racc
|
31
|
-
rack (>= 2.2.4)
|
32
|
-
rack-session (>= 1.0.1)
|
26
|
+
actionpack (6.1.7.10)
|
27
|
+
actionview (= 6.1.7.10)
|
28
|
+
activesupport (= 6.1.7.10)
|
29
|
+
rack (~> 2.0, >= 2.0.9)
|
33
30
|
rack-test (>= 0.6.3)
|
34
|
-
rails-dom-testing (~> 2.
|
35
|
-
rails-html-sanitizer (~> 1.
|
36
|
-
actionview (
|
37
|
-
activesupport (=
|
31
|
+
rails-dom-testing (~> 2.0)
|
32
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
33
|
+
actionview (6.1.7.10)
|
34
|
+
activesupport (= 6.1.7.10)
|
38
35
|
builder (~> 3.1)
|
39
|
-
erubi (~> 1.
|
40
|
-
rails-dom-testing (~> 2.
|
41
|
-
rails-html-sanitizer (~> 1.
|
42
|
-
activesupport (
|
43
|
-
base64
|
44
|
-
bigdecimal
|
36
|
+
erubi (~> 1.4)
|
37
|
+
rails-dom-testing (~> 2.0)
|
38
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
39
|
+
activesupport (6.1.7.10)
|
45
40
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
46
|
-
connection_pool (>= 2.2.5)
|
47
|
-
drb
|
48
41
|
i18n (>= 1.6, < 2)
|
49
42
|
minitest (>= 5.1)
|
50
|
-
mutex_m
|
51
43
|
tzinfo (~> 2.0)
|
44
|
+
zeitwerk (~> 2.3)
|
52
45
|
addressable (2.8.7)
|
53
46
|
public_suffix (>= 2.0.2, < 7.0)
|
54
47
|
ast (2.4.2)
|
@@ -56,14 +49,13 @@ GEM
|
|
56
49
|
console (~> 1.10)
|
57
50
|
nio4r (~> 2.3)
|
58
51
|
timers (~> 4.1)
|
59
|
-
async-http (0.
|
60
|
-
async (
|
61
|
-
async-io (
|
62
|
-
async-pool (
|
63
|
-
protocol-http (~> 0.
|
64
|
-
protocol-http1 (~> 0.
|
65
|
-
protocol-http2 (~> 0.
|
66
|
-
traces (>= 0.10.0)
|
52
|
+
async-http (0.54.0)
|
53
|
+
async (~> 1.25)
|
54
|
+
async-io (~> 1.28)
|
55
|
+
async-pool (~> 0.2)
|
56
|
+
protocol-http (~> 0.21.0)
|
57
|
+
protocol-http1 (~> 0.13.0)
|
58
|
+
protocol-http2 (~> 0.14.0)
|
67
59
|
async-io (1.43.2)
|
68
60
|
async
|
69
61
|
async-pool (0.4.0)
|
@@ -72,10 +64,7 @@ GEM
|
|
72
64
|
descendants_tracker (~> 0.0.4)
|
73
65
|
ice_nine (~> 0.11.0)
|
74
66
|
thread_safe (~> 0.3, >= 0.3.1)
|
75
|
-
|
76
|
-
bigdecimal (3.1.8)
|
77
|
-
brakeman (6.2.2)
|
78
|
-
racc
|
67
|
+
brakeman (5.4.1)
|
79
68
|
builder (3.3.0)
|
80
69
|
childprocess (5.1.0)
|
81
70
|
logger (~> 1.5)
|
@@ -83,18 +72,15 @@ GEM
|
|
83
72
|
coercible (1.0.0)
|
84
73
|
descendants_tracker (~> 0.0.1)
|
85
74
|
concurrent-ruby (1.3.4)
|
86
|
-
|
87
|
-
console (1.21.0)
|
88
|
-
fiber-annotation
|
75
|
+
console (1.10.0)
|
89
76
|
fiber-local
|
90
77
|
crass (1.0.6)
|
91
78
|
descendants_tracker (0.0.4)
|
92
79
|
thread_safe (~> 0.3, >= 0.3.1)
|
93
80
|
diff-lcs (1.5.0)
|
94
81
|
docile (1.4.1)
|
95
|
-
|
82
|
+
equalizer (0.0.11)
|
96
83
|
erubi (1.13.0)
|
97
|
-
fiber-annotation (0.2.0)
|
98
84
|
fiber-local (1.0.0)
|
99
85
|
flay (2.13.3)
|
100
86
|
erubi (~> 1.10)
|
@@ -108,38 +94,33 @@ GEM
|
|
108
94
|
i18n (1.14.6)
|
109
95
|
concurrent-ruby (~> 1.0)
|
110
96
|
ice_nine (0.11.2)
|
111
|
-
io-console (0.7.2)
|
112
|
-
irb (1.14.1)
|
113
|
-
rdoc (>= 4.0.0)
|
114
|
-
reline (>= 0.4.2)
|
115
97
|
kwalify (0.7.2)
|
116
98
|
launchy (3.0.1)
|
117
99
|
addressable (~> 2.8)
|
118
100
|
childprocess (~> 5.0)
|
119
101
|
logger (1.6.1)
|
120
|
-
loofah (2.23.
|
102
|
+
loofah (2.23.1)
|
121
103
|
crass (~> 1.0.2)
|
122
104
|
nokogiri (>= 1.12.0)
|
123
105
|
method_source (1.0.0)
|
124
106
|
mini_portile2 (2.8.7)
|
125
107
|
minitest (5.25.1)
|
126
|
-
minitest-rails (
|
127
|
-
minitest (~> 5.
|
128
|
-
railties (
|
129
|
-
mutex_m (0.2.0)
|
108
|
+
minitest-rails (6.1.1)
|
109
|
+
minitest (~> 5.10)
|
110
|
+
railties (~> 6.1.0)
|
130
111
|
nio4r (2.7.3)
|
131
|
-
nokogiri (1.
|
132
|
-
mini_portile2 (~> 2.8.
|
112
|
+
nokogiri (1.13.10)
|
113
|
+
mini_portile2 (~> 2.8.0)
|
133
114
|
racc (~> 1.4)
|
134
115
|
parser (3.2.2.4)
|
135
116
|
ast (~> 2.4.1)
|
136
117
|
racc
|
137
118
|
path_expander (1.1.3)
|
138
|
-
protocol-hpack (1.4.
|
139
|
-
protocol-http (0.
|
140
|
-
protocol-http1 (0.
|
141
|
-
protocol-http (~> 0.
|
142
|
-
protocol-http2 (0.
|
119
|
+
protocol-hpack (1.4.2)
|
120
|
+
protocol-http (0.21.0)
|
121
|
+
protocol-http1 (0.13.2)
|
122
|
+
protocol-http (~> 0.19)
|
123
|
+
protocol-http2 (0.14.2)
|
143
124
|
protocol-hpack (~> 1.4)
|
144
125
|
protocol-http (~> 0.18)
|
145
126
|
protocol-websocket (0.7.5)
|
@@ -148,44 +129,29 @@ GEM
|
|
148
129
|
pry (0.14.1)
|
149
130
|
coderay (~> 1.1)
|
150
131
|
method_source (~> 1.0)
|
151
|
-
|
152
|
-
stringio
|
153
|
-
public_suffix (6.0.1)
|
132
|
+
public_suffix (5.1.1)
|
154
133
|
racc (1.8.1)
|
155
|
-
rack (
|
156
|
-
rack-session (2.0.0)
|
157
|
-
rack (>= 3.0.0)
|
134
|
+
rack (2.2.10)
|
158
135
|
rack-test (2.1.0)
|
159
136
|
rack (>= 1.3)
|
160
|
-
rackup (2.1.0)
|
161
|
-
rack (>= 3)
|
162
|
-
webrick (~> 1.8)
|
163
137
|
rails-dom-testing (2.2.0)
|
164
138
|
activesupport (>= 5.0.0)
|
165
139
|
minitest
|
166
140
|
nokogiri (>= 1.6)
|
167
|
-
rails-html-sanitizer (1.
|
168
|
-
loofah (~> 2.
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
irb
|
174
|
-
rackup (>= 1.0.0)
|
141
|
+
rails-html-sanitizer (1.5.0)
|
142
|
+
loofah (~> 2.19, >= 2.19.1)
|
143
|
+
railties (6.1.7.10)
|
144
|
+
actionpack (= 6.1.7.10)
|
145
|
+
activesupport (= 6.1.7.10)
|
146
|
+
method_source
|
175
147
|
rake (>= 12.2)
|
176
|
-
thor (~> 1.0
|
177
|
-
zeitwerk (~> 2.6)
|
148
|
+
thor (~> 1.0)
|
178
149
|
rainbow (3.1.1)
|
179
150
|
rake (13.0.6)
|
180
|
-
rdoc (6.7.0)
|
181
|
-
psych (>= 4.0.0)
|
182
151
|
reek (6.1.4)
|
183
152
|
kwalify (~> 0.7.0)
|
184
153
|
parser (~> 3.2.0)
|
185
154
|
rainbow (>= 2.0, < 4.0)
|
186
|
-
reline (0.5.10)
|
187
|
-
io-console (~> 0.5)
|
188
|
-
rexml (3.3.9)
|
189
155
|
rspec (3.11.0)
|
190
156
|
rspec-core (~> 3.11.0)
|
191
157
|
rspec-expectations (~> 3.11.0)
|
@@ -202,18 +168,17 @@ GEM
|
|
202
168
|
ruby_parser (3.21.1)
|
203
169
|
racc (~> 1.5)
|
204
170
|
sexp_processor (~> 4.16)
|
205
|
-
rubycritic (4.
|
206
|
-
flay (~> 2.
|
207
|
-
flog (~> 4.
|
208
|
-
launchy (>= 2.
|
209
|
-
parser (>=
|
210
|
-
rainbow (~> 3.
|
211
|
-
reek (~> 6.0, <
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
virtus (~> 2.0)
|
171
|
+
rubycritic (4.7.0)
|
172
|
+
flay (~> 2.8)
|
173
|
+
flog (~> 4.4)
|
174
|
+
launchy (>= 2.0.0)
|
175
|
+
parser (>= 2.6.0)
|
176
|
+
rainbow (~> 3.0)
|
177
|
+
reek (~> 6.0, < 7.0)
|
178
|
+
ruby_parser (~> 3.8)
|
179
|
+
simplecov (>= 0.17.0)
|
180
|
+
tty-which (~> 0.4.0)
|
181
|
+
virtus (~> 1.0)
|
217
182
|
sexp_processor (4.17.2)
|
218
183
|
simplecov (0.22.0)
|
219
184
|
docile (~> 1.1)
|
@@ -221,19 +186,17 @@ GEM
|
|
221
186
|
simplecov_json_formatter (~> 0.1)
|
222
187
|
simplecov-html (0.13.1)
|
223
188
|
simplecov_json_formatter (0.1.4)
|
224
|
-
stringio (3.1.1)
|
225
189
|
thor (1.3.2)
|
226
190
|
thread_safe (0.3.6)
|
227
191
|
timers (4.3.5)
|
228
|
-
|
229
|
-
tty-which (0.5.0)
|
192
|
+
tty-which (0.4.2)
|
230
193
|
tzinfo (2.0.6)
|
231
194
|
concurrent-ruby (~> 1.0)
|
232
|
-
virtus (
|
195
|
+
virtus (1.0.5)
|
233
196
|
axiom-types (~> 0.1)
|
234
197
|
coercible (~> 1.0)
|
235
198
|
descendants_tracker (~> 0.0, >= 0.0.3)
|
236
|
-
|
199
|
+
equalizer (~> 0.0, >= 0.0.9)
|
237
200
|
zeitwerk (2.6.18)
|
238
201
|
|
239
202
|
PLATFORMS
|
data/lib/fast_ci/version.rb
CHANGED
data/lib/fast_ci.rb
CHANGED
@@ -132,6 +132,8 @@ module FastCI
|
|
132
132
|
self.connection = connection
|
133
133
|
self.task = task
|
134
134
|
yield
|
135
|
+
|
136
|
+
leave
|
135
137
|
end
|
136
138
|
rescue Async::WebSocket::ProtocolError => e
|
137
139
|
case e.message
|
@@ -145,9 +147,6 @@ module FastCI
|
|
145
147
|
STDERR.puts "Failed to connect: General connection error!"
|
146
148
|
exit 2
|
147
149
|
end
|
148
|
-
ensure
|
149
|
-
|
150
|
-
leave
|
151
150
|
end
|
152
151
|
end
|
153
152
|
end
|
@@ -199,7 +198,7 @@ module FastCI
|
|
199
198
|
def leave
|
200
199
|
send_msg("leave")
|
201
200
|
connection.close
|
202
|
-
rescue
|
201
|
+
rescue
|
203
202
|
# noop
|
204
203
|
end
|
205
204
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fast_ci
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nesha Zoric
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: console
|
@@ -134,6 +134,7 @@ extra_rdoc_files: []
|
|
134
134
|
files:
|
135
135
|
- ".github/workflows/main.yml"
|
136
136
|
- ".github/workflows/release.yml"
|
137
|
+
- ".github/workflows/test.yml"
|
137
138
|
- ".gitignore"
|
138
139
|
- ".rspec"
|
139
140
|
- ".rubocop.yml"
|