bashcov 3.1.3 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +22 -2
- data/CHANGELOG.md +28 -4
- data/Gemfile.nix.lock +169 -0
- data/Guardfile +1 -1
- data/HACKING.md +166 -0
- data/INSTALL.md +115 -0
- data/LICENSE.txt +1 -1
- data/README.md +6 -2
- data/bin/bashcov +2 -0
- data/compat.nix +26 -0
- data/default.nix +1 -0
- data/flake.lock +139 -0
- data/flake.nix +225 -0
- data/gemset.nix +656 -0
- data/lib/bashcov/detective.rb +3 -5
- data/lib/bashcov/field_stream.rb +2 -2
- data/lib/bashcov/lexer.rb +9 -11
- data/lib/bashcov/line.rb +2 -2
- data/lib/bashcov/runner.rb +3 -4
- data/lib/bashcov/version.rb +1 -1
- data/lib/bashcov/xtrace.rb +9 -10
- data/lib/bashcov.rb +16 -11
- data/shell.nix +1 -0
- data/test.sh +1 -1
- metadata +69 -7
data/gemset.nix
ADDED
|
@@ -0,0 +1,656 @@
|
|
|
1
|
+
{
|
|
2
|
+
aruba = {
|
|
3
|
+
dependencies = ["contracts" "cucumber" "rspec-expectations" "thor"];
|
|
4
|
+
groups = ["development"];
|
|
5
|
+
platforms = [];
|
|
6
|
+
source = {
|
|
7
|
+
remotes = ["https://rubygems.org"];
|
|
8
|
+
sha256 = "1m7ijdx5zz5mizymmwxkydyszfcafgljgqlvmlw5m9v86c12yyl3";
|
|
9
|
+
type = "gem";
|
|
10
|
+
};
|
|
11
|
+
version = "2.3.3";
|
|
12
|
+
};
|
|
13
|
+
ast = {
|
|
14
|
+
groups = ["default" "development"];
|
|
15
|
+
platforms = [];
|
|
16
|
+
source = {
|
|
17
|
+
remotes = ["https://rubygems.org"];
|
|
18
|
+
sha256 = "10yknjyn0728gjn6b5syynvrvrwm66bhssbxq8mkhshxghaiailm";
|
|
19
|
+
type = "gem";
|
|
20
|
+
};
|
|
21
|
+
version = "2.4.3";
|
|
22
|
+
};
|
|
23
|
+
base64 = {
|
|
24
|
+
groups = ["default" "development"];
|
|
25
|
+
platforms = [];
|
|
26
|
+
source = {
|
|
27
|
+
remotes = ["https://rubygems.org"];
|
|
28
|
+
sha256 = "0yx9yn47a8lkfcjmigk79fykxvr80r4m1i35q82sxzynpbm7lcr7";
|
|
29
|
+
type = "gem";
|
|
30
|
+
};
|
|
31
|
+
version = "0.3.0";
|
|
32
|
+
};
|
|
33
|
+
bashcov = {
|
|
34
|
+
dependencies = ["simplecov"];
|
|
35
|
+
groups = ["default"];
|
|
36
|
+
platforms = [];
|
|
37
|
+
source = {
|
|
38
|
+
path = ./.;
|
|
39
|
+
type = "path";
|
|
40
|
+
};
|
|
41
|
+
version = "3.2.0";
|
|
42
|
+
};
|
|
43
|
+
benchmark = {
|
|
44
|
+
groups = ["development"];
|
|
45
|
+
platforms = [];
|
|
46
|
+
source = {
|
|
47
|
+
remotes = ["https://rubygems.org"];
|
|
48
|
+
sha256 = "0v1337j39w1z7x9zs4q7ag0nfv4vs4xlsjx2la0wpv8s6hig2pa6";
|
|
49
|
+
type = "gem";
|
|
50
|
+
};
|
|
51
|
+
version = "0.5.0";
|
|
52
|
+
};
|
|
53
|
+
bigdecimal = {
|
|
54
|
+
groups = ["default" "development"];
|
|
55
|
+
platforms = [];
|
|
56
|
+
source = {
|
|
57
|
+
remotes = ["https://rubygems.org"];
|
|
58
|
+
sha256 = "19y406nx17arzsbc515mjmr6k5p59afprspa1k423yd9cp8d61wb";
|
|
59
|
+
type = "gem";
|
|
60
|
+
};
|
|
61
|
+
version = "4.0.1";
|
|
62
|
+
};
|
|
63
|
+
builder = {
|
|
64
|
+
groups = ["default" "development"];
|
|
65
|
+
platforms = [];
|
|
66
|
+
source = {
|
|
67
|
+
remotes = ["https://rubygems.org"];
|
|
68
|
+
sha256 = "0pw3r2lyagsxkm71bf44v5b74f7l9r7di22brbyji9fwz791hya9";
|
|
69
|
+
type = "gem";
|
|
70
|
+
};
|
|
71
|
+
version = "3.3.0";
|
|
72
|
+
};
|
|
73
|
+
bundler-audit = {
|
|
74
|
+
dependencies = ["thor"];
|
|
75
|
+
groups = ["development"];
|
|
76
|
+
platforms = [];
|
|
77
|
+
source = {
|
|
78
|
+
remotes = ["https://rubygems.org"];
|
|
79
|
+
sha256 = "1sdlr4rj7x5nbrl8zkd3dqdg4fc50bnpx37rl0l0szg4f5n7dj41";
|
|
80
|
+
type = "gem";
|
|
81
|
+
};
|
|
82
|
+
version = "0.9.3";
|
|
83
|
+
};
|
|
84
|
+
contracts = {
|
|
85
|
+
groups = ["default" "development"];
|
|
86
|
+
platforms = [];
|
|
87
|
+
source = {
|
|
88
|
+
remotes = ["https://rubygems.org"];
|
|
89
|
+
sha256 = "1mqlhfsf53r5r5assnwzqq1ajbhwxcxniddpxjdhjiza2dj64bp7";
|
|
90
|
+
type = "gem";
|
|
91
|
+
};
|
|
92
|
+
version = "0.17.3";
|
|
93
|
+
};
|
|
94
|
+
cucumber = {
|
|
95
|
+
dependencies = ["base64" "builder" "cucumber-ci-environment" "cucumber-core" "cucumber-cucumber-expressions" "cucumber-html-formatter" "diff-lcs" "logger" "mini_mime" "multi_test" "sys-uname"];
|
|
96
|
+
groups = ["development"];
|
|
97
|
+
platforms = [];
|
|
98
|
+
source = {
|
|
99
|
+
remotes = ["https://rubygems.org"];
|
|
100
|
+
sha256 = "0n41b80fg8bz49m9rhms1g1zai2wl4m3z1841yv5h27lxhqvvvgx";
|
|
101
|
+
type = "gem";
|
|
102
|
+
};
|
|
103
|
+
version = "10.2.0";
|
|
104
|
+
};
|
|
105
|
+
cucumber-ci-environment = {
|
|
106
|
+
groups = ["default" "development"];
|
|
107
|
+
platforms = [];
|
|
108
|
+
source = {
|
|
109
|
+
remotes = ["https://rubygems.org"];
|
|
110
|
+
sha256 = "1qnif57qqcvaz361jkbg43pnzn80jac0ys7gklymn08b3ng9mxqd";
|
|
111
|
+
type = "gem";
|
|
112
|
+
};
|
|
113
|
+
version = "11.0.0";
|
|
114
|
+
};
|
|
115
|
+
cucumber-core = {
|
|
116
|
+
dependencies = ["cucumber-gherkin" "cucumber-messages" "cucumber-tag-expressions"];
|
|
117
|
+
groups = ["default" "development"];
|
|
118
|
+
platforms = [];
|
|
119
|
+
source = {
|
|
120
|
+
remotes = ["https://rubygems.org"];
|
|
121
|
+
sha256 = "12bbwa5fzi08jspvk4wr17wmlrwz2abg87m2y5imz1p23q5aiank";
|
|
122
|
+
type = "gem";
|
|
123
|
+
};
|
|
124
|
+
version = "16.1.1";
|
|
125
|
+
};
|
|
126
|
+
cucumber-cucumber-expressions = {
|
|
127
|
+
dependencies = ["bigdecimal"];
|
|
128
|
+
groups = ["default" "development"];
|
|
129
|
+
platforms = [];
|
|
130
|
+
source = {
|
|
131
|
+
remotes = ["https://rubygems.org"];
|
|
132
|
+
sha256 = "1rg3dcg2mapay1xbs8cybds05swmj8q9li8ynvrkzwvacfzs1643";
|
|
133
|
+
type = "gem";
|
|
134
|
+
};
|
|
135
|
+
version = "18.0.1";
|
|
136
|
+
};
|
|
137
|
+
cucumber-gherkin = {
|
|
138
|
+
dependencies = ["cucumber-messages"];
|
|
139
|
+
groups = ["default" "development"];
|
|
140
|
+
platforms = [];
|
|
141
|
+
source = {
|
|
142
|
+
remotes = ["https://rubygems.org"];
|
|
143
|
+
sha256 = "1nankcfqfj3l4d3hkh4476fywjygjjk04n78jxzxnv59vjh7nhq6";
|
|
144
|
+
type = "gem";
|
|
145
|
+
};
|
|
146
|
+
version = "37.0.1";
|
|
147
|
+
};
|
|
148
|
+
cucumber-html-formatter = {
|
|
149
|
+
dependencies = ["cucumber-messages"];
|
|
150
|
+
groups = ["default" "development"];
|
|
151
|
+
platforms = [];
|
|
152
|
+
source = {
|
|
153
|
+
remotes = ["https://rubygems.org"];
|
|
154
|
+
sha256 = "0a873ll5305g8gbp4sbf4006pn4bck6c491qbwxdgnw8ap88wxpr";
|
|
155
|
+
type = "gem";
|
|
156
|
+
};
|
|
157
|
+
version = "22.3.0";
|
|
158
|
+
};
|
|
159
|
+
cucumber-messages = {
|
|
160
|
+
groups = ["default" "development"];
|
|
161
|
+
platforms = [];
|
|
162
|
+
source = {
|
|
163
|
+
remotes = ["https://rubygems.org"];
|
|
164
|
+
sha256 = "02jscha3irpflhl5aanjxgj6cqx198pl89zd162sdsc90f449r4i";
|
|
165
|
+
type = "gem";
|
|
166
|
+
};
|
|
167
|
+
version = "31.1.0";
|
|
168
|
+
};
|
|
169
|
+
cucumber-tag-expressions = {
|
|
170
|
+
groups = ["default" "development"];
|
|
171
|
+
platforms = [];
|
|
172
|
+
source = {
|
|
173
|
+
remotes = ["https://rubygems.org"];
|
|
174
|
+
sha256 = "089fynlhyzcjng7x8ffda1gafdi1yfv2k4y9m7r5p3jgcnvc9n4v";
|
|
175
|
+
type = "gem";
|
|
176
|
+
};
|
|
177
|
+
version = "8.1.0";
|
|
178
|
+
};
|
|
179
|
+
date = {
|
|
180
|
+
groups = ["default" "development"];
|
|
181
|
+
platforms = [];
|
|
182
|
+
source = {
|
|
183
|
+
remotes = ["https://rubygems.org"];
|
|
184
|
+
sha256 = "1h0db8r2v5llxdbzkzyllkfniqw9gm092qn7cbaib73v9lw0c3bm";
|
|
185
|
+
type = "gem";
|
|
186
|
+
};
|
|
187
|
+
version = "3.5.1";
|
|
188
|
+
};
|
|
189
|
+
diff-lcs = {
|
|
190
|
+
groups = ["default" "development"];
|
|
191
|
+
platforms = [];
|
|
192
|
+
source = {
|
|
193
|
+
remotes = ["https://rubygems.org"];
|
|
194
|
+
sha256 = "0qlrj2qyysc9avzlr4zs1py3x684hqm61n4czrsk1pyllz5x5q4s";
|
|
195
|
+
type = "gem";
|
|
196
|
+
};
|
|
197
|
+
version = "1.6.2";
|
|
198
|
+
};
|
|
199
|
+
docile = {
|
|
200
|
+
groups = ["default"];
|
|
201
|
+
platforms = [];
|
|
202
|
+
source = {
|
|
203
|
+
remotes = ["https://rubygems.org"];
|
|
204
|
+
sha256 = "07pj4z3h8wk4fgdn6s62vw1lwvhj0ac0x10vfbdkr9xzk7krn5cn";
|
|
205
|
+
type = "gem";
|
|
206
|
+
};
|
|
207
|
+
version = "1.4.1";
|
|
208
|
+
};
|
|
209
|
+
erb = {
|
|
210
|
+
groups = ["default" "development"];
|
|
211
|
+
platforms = [];
|
|
212
|
+
source = {
|
|
213
|
+
remotes = ["https://rubygems.org"];
|
|
214
|
+
sha256 = "1rcpq49pyaiclpjp3c3qjl25r95hqvin2q2dczaynaj7qncxvv18";
|
|
215
|
+
type = "gem";
|
|
216
|
+
};
|
|
217
|
+
version = "6.0.1";
|
|
218
|
+
};
|
|
219
|
+
ffi = {
|
|
220
|
+
groups = ["development"];
|
|
221
|
+
platforms = [];
|
|
222
|
+
source = {
|
|
223
|
+
remotes = ["https://rubygems.org"];
|
|
224
|
+
sha256 = "1yvii03hcgqj30maavddqamqy50h7y6xcn2wcyq72wn823zl4ckd";
|
|
225
|
+
type = "gem";
|
|
226
|
+
};
|
|
227
|
+
version = "1.16.3";
|
|
228
|
+
};
|
|
229
|
+
io-console = {
|
|
230
|
+
groups = ["default" "development"];
|
|
231
|
+
platforms = [];
|
|
232
|
+
source = {
|
|
233
|
+
remotes = ["https://rubygems.org"];
|
|
234
|
+
sha256 = "1k0lk3pwadm2myvpg893n8jshmrf2sigrd4ki15lymy7gixaxqyn";
|
|
235
|
+
type = "gem";
|
|
236
|
+
};
|
|
237
|
+
version = "0.8.2";
|
|
238
|
+
};
|
|
239
|
+
irb = {
|
|
240
|
+
dependencies = ["pp" "rdoc" "reline"];
|
|
241
|
+
groups = ["development"];
|
|
242
|
+
platforms = [];
|
|
243
|
+
source = {
|
|
244
|
+
remotes = ["https://rubygems.org"];
|
|
245
|
+
sha256 = "01h8bdksg0cr8bw5dhlhr29ix33rp822jmshy6rdqz4lmk4mdgia";
|
|
246
|
+
type = "gem";
|
|
247
|
+
};
|
|
248
|
+
version = "1.16.0";
|
|
249
|
+
};
|
|
250
|
+
json = {
|
|
251
|
+
groups = ["default" "development"];
|
|
252
|
+
platforms = [];
|
|
253
|
+
source = {
|
|
254
|
+
remotes = ["https://rubygems.org"];
|
|
255
|
+
sha256 = "01fmiz052cvnxgdnhb3qwcy88xbv7l3liz0fkvs5qgqqwjp0c1di";
|
|
256
|
+
type = "gem";
|
|
257
|
+
};
|
|
258
|
+
version = "2.18.0";
|
|
259
|
+
};
|
|
260
|
+
language_server-protocol = {
|
|
261
|
+
groups = ["default" "development"];
|
|
262
|
+
platforms = [];
|
|
263
|
+
source = {
|
|
264
|
+
remotes = ["https://rubygems.org"];
|
|
265
|
+
sha256 = "1k0311vah76kg5m6zr7wmkwyk5p2f9d9hyckjpn3xgr83ajkj7px";
|
|
266
|
+
type = "gem";
|
|
267
|
+
};
|
|
268
|
+
version = "3.17.0.5";
|
|
269
|
+
};
|
|
270
|
+
lint_roller = {
|
|
271
|
+
groups = ["default" "development"];
|
|
272
|
+
platforms = [];
|
|
273
|
+
source = {
|
|
274
|
+
remotes = ["https://rubygems.org"];
|
|
275
|
+
sha256 = "11yc0d84hsnlvx8cpk4cbj6a4dz9pk0r1k29p0n1fz9acddq831c";
|
|
276
|
+
type = "gem";
|
|
277
|
+
};
|
|
278
|
+
version = "1.1.0";
|
|
279
|
+
};
|
|
280
|
+
logger = {
|
|
281
|
+
groups = ["default" "development"];
|
|
282
|
+
platforms = [];
|
|
283
|
+
source = {
|
|
284
|
+
remotes = ["https://rubygems.org"];
|
|
285
|
+
sha256 = "00q2zznygpbls8asz5knjvvj2brr3ghmqxgr83xnrdj4rk3xwvhr";
|
|
286
|
+
type = "gem";
|
|
287
|
+
};
|
|
288
|
+
version = "1.7.0";
|
|
289
|
+
};
|
|
290
|
+
memoist3 = {
|
|
291
|
+
groups = ["default" "development"];
|
|
292
|
+
platforms = [];
|
|
293
|
+
source = {
|
|
294
|
+
remotes = ["https://rubygems.org"];
|
|
295
|
+
sha256 = "0vyma0mpjibqigzl6j9lij7zh3kvqlyi88qc0mia6l7i5i044vk8";
|
|
296
|
+
type = "gem";
|
|
297
|
+
};
|
|
298
|
+
version = "1.0.0";
|
|
299
|
+
};
|
|
300
|
+
mini_mime = {
|
|
301
|
+
groups = ["default" "development"];
|
|
302
|
+
platforms = [];
|
|
303
|
+
source = {
|
|
304
|
+
remotes = ["https://rubygems.org"];
|
|
305
|
+
sha256 = "1vycif7pjzkr29mfk4dlqv3disc5dn0va04lkwajlpr1wkibg0c6";
|
|
306
|
+
type = "gem";
|
|
307
|
+
};
|
|
308
|
+
version = "1.1.5";
|
|
309
|
+
};
|
|
310
|
+
multi_test = {
|
|
311
|
+
groups = ["default" "development"];
|
|
312
|
+
platforms = [];
|
|
313
|
+
source = {
|
|
314
|
+
remotes = ["https://rubygems.org"];
|
|
315
|
+
sha256 = "042d6a1416h3di57z107ygmjdgacrpyswi73ryz75yv3v36m1rg9";
|
|
316
|
+
type = "gem";
|
|
317
|
+
};
|
|
318
|
+
version = "1.1.0";
|
|
319
|
+
};
|
|
320
|
+
parallel = {
|
|
321
|
+
groups = ["default" "development"];
|
|
322
|
+
platforms = [];
|
|
323
|
+
source = {
|
|
324
|
+
remotes = ["https://rubygems.org"];
|
|
325
|
+
sha256 = "0c719bfgcszqvk9z47w2p8j2wkz5y35k48ywwas5yxbbh3hm3haa";
|
|
326
|
+
type = "gem";
|
|
327
|
+
};
|
|
328
|
+
version = "1.27.0";
|
|
329
|
+
};
|
|
330
|
+
parser = {
|
|
331
|
+
dependencies = ["ast" "racc"];
|
|
332
|
+
groups = ["default" "development"];
|
|
333
|
+
platforms = [];
|
|
334
|
+
source = {
|
|
335
|
+
remotes = ["https://rubygems.org"];
|
|
336
|
+
sha256 = "1mmb59323ldv6vxfmy98azgsla9k3di3fasvpb28hnn5bkx8fdff";
|
|
337
|
+
type = "gem";
|
|
338
|
+
};
|
|
339
|
+
version = "3.3.10.0";
|
|
340
|
+
};
|
|
341
|
+
pp = {
|
|
342
|
+
dependencies = ["prettyprint"];
|
|
343
|
+
groups = ["default" "development"];
|
|
344
|
+
platforms = [];
|
|
345
|
+
source = {
|
|
346
|
+
remotes = ["https://rubygems.org"];
|
|
347
|
+
sha256 = "1xlxmg86k5kifci1xvlmgw56x88dmqf04zfzn7zcr4qb8ladal99";
|
|
348
|
+
type = "gem";
|
|
349
|
+
};
|
|
350
|
+
version = "0.6.3";
|
|
351
|
+
};
|
|
352
|
+
prettyprint = {
|
|
353
|
+
groups = ["default" "development"];
|
|
354
|
+
platforms = [];
|
|
355
|
+
source = {
|
|
356
|
+
remotes = ["https://rubygems.org"];
|
|
357
|
+
sha256 = "14zicq3plqi217w6xahv7b8f7aj5kpxv1j1w98344ix9h5ay3j9b";
|
|
358
|
+
type = "gem";
|
|
359
|
+
};
|
|
360
|
+
version = "0.2.0";
|
|
361
|
+
};
|
|
362
|
+
prism = {
|
|
363
|
+
groups = ["default" "development"];
|
|
364
|
+
platforms = [];
|
|
365
|
+
source = {
|
|
366
|
+
remotes = ["https://rubygems.org"];
|
|
367
|
+
sha256 = "00silqnlzzm97gn21lm39q95hjn058waqky44j25r67p9drjy1hh";
|
|
368
|
+
type = "gem";
|
|
369
|
+
};
|
|
370
|
+
version = "1.7.0";
|
|
371
|
+
};
|
|
372
|
+
psych = {
|
|
373
|
+
dependencies = ["date" "stringio"];
|
|
374
|
+
groups = ["default" "development"];
|
|
375
|
+
platforms = [];
|
|
376
|
+
source = {
|
|
377
|
+
remotes = ["https://rubygems.org"];
|
|
378
|
+
sha256 = "0x0r3gc66abv8i4dw0x0370b5hrshjfp6kpp7wbp178cy775fypb";
|
|
379
|
+
type = "gem";
|
|
380
|
+
};
|
|
381
|
+
version = "5.3.1";
|
|
382
|
+
};
|
|
383
|
+
racc = {
|
|
384
|
+
groups = ["default" "development"];
|
|
385
|
+
platforms = [];
|
|
386
|
+
source = {
|
|
387
|
+
remotes = ["https://rubygems.org"];
|
|
388
|
+
sha256 = "0byn0c9nkahsl93y9ln5bysq4j31q8xkf2ws42swighxd4lnjzsa";
|
|
389
|
+
type = "gem";
|
|
390
|
+
};
|
|
391
|
+
version = "1.8.1";
|
|
392
|
+
};
|
|
393
|
+
rainbow = {
|
|
394
|
+
groups = ["default" "development"];
|
|
395
|
+
platforms = [];
|
|
396
|
+
source = {
|
|
397
|
+
remotes = ["https://rubygems.org"];
|
|
398
|
+
sha256 = "0smwg4mii0fm38pyb5fddbmrdpifwv22zv3d3px2xx497am93503";
|
|
399
|
+
type = "gem";
|
|
400
|
+
};
|
|
401
|
+
version = "3.1.1";
|
|
402
|
+
};
|
|
403
|
+
rake = {
|
|
404
|
+
groups = ["development"];
|
|
405
|
+
platforms = [];
|
|
406
|
+
source = {
|
|
407
|
+
remotes = ["https://rubygems.org"];
|
|
408
|
+
sha256 = "175iisqb211n0qbfyqd8jz2g01q6xj038zjf4q0nm8k6kz88k7lc";
|
|
409
|
+
type = "gem";
|
|
410
|
+
};
|
|
411
|
+
version = "13.3.1";
|
|
412
|
+
};
|
|
413
|
+
rdoc = {
|
|
414
|
+
dependencies = ["erb" "psych" "tsort"];
|
|
415
|
+
groups = ["development"];
|
|
416
|
+
platforms = [];
|
|
417
|
+
source = {
|
|
418
|
+
remotes = ["https://rubygems.org"];
|
|
419
|
+
sha256 = "1yc1xa3wckwwan518qii22jagqzlr5bypflx3nkvpdqr3ncd1qyz";
|
|
420
|
+
type = "gem";
|
|
421
|
+
};
|
|
422
|
+
version = "7.0.3";
|
|
423
|
+
};
|
|
424
|
+
regexp_parser = {
|
|
425
|
+
groups = ["default" "development"];
|
|
426
|
+
platforms = [];
|
|
427
|
+
source = {
|
|
428
|
+
remotes = ["https://rubygems.org"];
|
|
429
|
+
sha256 = "192mzi0wgwl024pwpbfa6c2a2xlvbh3mjd75a0sakdvkl60z64ya";
|
|
430
|
+
type = "gem";
|
|
431
|
+
};
|
|
432
|
+
version = "2.11.3";
|
|
433
|
+
};
|
|
434
|
+
reline = {
|
|
435
|
+
dependencies = ["io-console"];
|
|
436
|
+
groups = ["default" "development"];
|
|
437
|
+
platforms = [];
|
|
438
|
+
source = {
|
|
439
|
+
remotes = ["https://rubygems.org"];
|
|
440
|
+
sha256 = "0d8q5c4nh2g9pp758kizh8sfrvngynrjlm0i1zn3cnsnfd4v160i";
|
|
441
|
+
type = "gem";
|
|
442
|
+
};
|
|
443
|
+
version = "0.6.3";
|
|
444
|
+
};
|
|
445
|
+
rspec = {
|
|
446
|
+
dependencies = ["rspec-core" "rspec-expectations" "rspec-mocks"];
|
|
447
|
+
groups = ["development"];
|
|
448
|
+
platforms = [];
|
|
449
|
+
source = {
|
|
450
|
+
remotes = ["https://rubygems.org"];
|
|
451
|
+
sha256 = "11q5hagj6vr694innqj4r45jrm8qcwvkxjnphqgyd66piah88qi0";
|
|
452
|
+
type = "gem";
|
|
453
|
+
};
|
|
454
|
+
version = "3.13.2";
|
|
455
|
+
};
|
|
456
|
+
rspec-core = {
|
|
457
|
+
dependencies = ["rspec-support"];
|
|
458
|
+
groups = ["default" "development"];
|
|
459
|
+
platforms = [];
|
|
460
|
+
source = {
|
|
461
|
+
remotes = ["https://rubygems.org"];
|
|
462
|
+
sha256 = "0bcbh9yv6cs6pv299zs4bvalr8yxa51kcdd1pjl60yv625j3r0m8";
|
|
463
|
+
type = "gem";
|
|
464
|
+
};
|
|
465
|
+
version = "3.13.6";
|
|
466
|
+
};
|
|
467
|
+
rspec-expectations = {
|
|
468
|
+
dependencies = ["diff-lcs" "rspec-support"];
|
|
469
|
+
groups = ["default" "development"];
|
|
470
|
+
platforms = [];
|
|
471
|
+
source = {
|
|
472
|
+
remotes = ["https://rubygems.org"];
|
|
473
|
+
sha256 = "0dl8npj0jfpy31bxi6syc7jymyd861q277sfr6jawq2hv6hx791k";
|
|
474
|
+
type = "gem";
|
|
475
|
+
};
|
|
476
|
+
version = "3.13.5";
|
|
477
|
+
};
|
|
478
|
+
rspec-mocks = {
|
|
479
|
+
dependencies = ["diff-lcs" "rspec-support"];
|
|
480
|
+
groups = ["default" "development"];
|
|
481
|
+
platforms = [];
|
|
482
|
+
source = {
|
|
483
|
+
remotes = ["https://rubygems.org"];
|
|
484
|
+
sha256 = "071bqrk2rblk3zq3jk1xxx0dr92y0szi5pxdm8waimxici706y89";
|
|
485
|
+
type = "gem";
|
|
486
|
+
};
|
|
487
|
+
version = "3.13.7";
|
|
488
|
+
};
|
|
489
|
+
rspec-support = {
|
|
490
|
+
groups = ["default" "development"];
|
|
491
|
+
platforms = [];
|
|
492
|
+
source = {
|
|
493
|
+
remotes = ["https://rubygems.org"];
|
|
494
|
+
sha256 = "1cmgz34hwj5s3jwxhyl8mszs24nci12ffbrmr5jb1si74iqf739f";
|
|
495
|
+
type = "gem";
|
|
496
|
+
};
|
|
497
|
+
version = "3.13.6";
|
|
498
|
+
};
|
|
499
|
+
rubocop = {
|
|
500
|
+
dependencies = ["json" "language_server-protocol" "lint_roller" "parallel" "parser" "rainbow" "regexp_parser" "rubocop-ast" "ruby-progressbar" "unicode-display_width"];
|
|
501
|
+
groups = ["development"];
|
|
502
|
+
platforms = [];
|
|
503
|
+
source = {
|
|
504
|
+
remotes = ["https://rubygems.org"];
|
|
505
|
+
sha256 = "0wz2np5ck54vpwcz18y9x7w80c308wza7gmfcykysq59ajkadw89";
|
|
506
|
+
type = "gem";
|
|
507
|
+
};
|
|
508
|
+
version = "1.82.1";
|
|
509
|
+
};
|
|
510
|
+
rubocop-ast = {
|
|
511
|
+
dependencies = ["parser" "prism"];
|
|
512
|
+
groups = ["default" "development"];
|
|
513
|
+
platforms = [];
|
|
514
|
+
source = {
|
|
515
|
+
remotes = ["https://rubygems.org"];
|
|
516
|
+
sha256 = "1zbikzd6237fvlzjfxdlhwi2vbmavg1cc81y6cyr581365nnghs9";
|
|
517
|
+
type = "gem";
|
|
518
|
+
};
|
|
519
|
+
version = "1.49.0";
|
|
520
|
+
};
|
|
521
|
+
rubocop-rake = {
|
|
522
|
+
dependencies = ["lint_roller" "rubocop"];
|
|
523
|
+
groups = ["development"];
|
|
524
|
+
platforms = [];
|
|
525
|
+
source = {
|
|
526
|
+
remotes = ["https://rubygems.org"];
|
|
527
|
+
sha256 = "0kdfrckz1v32dy7c7bdiksjysx9l9zsda9kc6zvrsghch6vg55rp";
|
|
528
|
+
type = "gem";
|
|
529
|
+
};
|
|
530
|
+
version = "0.7.1";
|
|
531
|
+
};
|
|
532
|
+
rubocop-rspec = {
|
|
533
|
+
dependencies = ["lint_roller" "rubocop"];
|
|
534
|
+
groups = ["development"];
|
|
535
|
+
platforms = [];
|
|
536
|
+
source = {
|
|
537
|
+
remotes = ["https://rubygems.org"];
|
|
538
|
+
sha256 = "0cxb9i1brf1cks8anv8mdj65n9rq6jyldyd1ij9sj8zjng60si18";
|
|
539
|
+
type = "gem";
|
|
540
|
+
};
|
|
541
|
+
version = "3.8.0";
|
|
542
|
+
};
|
|
543
|
+
ruby-progressbar = {
|
|
544
|
+
groups = ["default" "development"];
|
|
545
|
+
platforms = [];
|
|
546
|
+
source = {
|
|
547
|
+
remotes = ["https://rubygems.org"];
|
|
548
|
+
sha256 = "0cwvyb7j47m7wihpfaq7rc47zwwx9k4v7iqd9s1xch5nm53rrz40";
|
|
549
|
+
type = "gem";
|
|
550
|
+
};
|
|
551
|
+
version = "1.13.0";
|
|
552
|
+
};
|
|
553
|
+
simplecov = {
|
|
554
|
+
dependencies = ["docile" "simplecov-html" "simplecov_json_formatter"];
|
|
555
|
+
groups = ["default"];
|
|
556
|
+
platforms = [];
|
|
557
|
+
source = {
|
|
558
|
+
remotes = ["https://rubygems.org"];
|
|
559
|
+
sha256 = "198kcbrjxhhzca19yrdcd6jjj9sb51aaic3b0sc3pwjghg3j49py";
|
|
560
|
+
type = "gem";
|
|
561
|
+
};
|
|
562
|
+
version = "0.22.0";
|
|
563
|
+
};
|
|
564
|
+
simplecov-html = {
|
|
565
|
+
groups = ["default"];
|
|
566
|
+
platforms = [];
|
|
567
|
+
source = {
|
|
568
|
+
remotes = ["https://rubygems.org"];
|
|
569
|
+
sha256 = "0ikjfwydgs08nm3xzc4cn4b6z6rmcrj2imp84xcnimy2wxa8w2xx";
|
|
570
|
+
type = "gem";
|
|
571
|
+
};
|
|
572
|
+
version = "0.13.2";
|
|
573
|
+
};
|
|
574
|
+
simplecov_json_formatter = {
|
|
575
|
+
groups = ["default"];
|
|
576
|
+
platforms = [];
|
|
577
|
+
source = {
|
|
578
|
+
remotes = ["https://rubygems.org"];
|
|
579
|
+
sha256 = "0a5l0733hj7sk51j81ykfmlk2vd5vaijlq9d5fn165yyx3xii52j";
|
|
580
|
+
type = "gem";
|
|
581
|
+
};
|
|
582
|
+
version = "0.1.4";
|
|
583
|
+
};
|
|
584
|
+
stringio = {
|
|
585
|
+
groups = ["default" "development"];
|
|
586
|
+
platforms = [];
|
|
587
|
+
source = {
|
|
588
|
+
remotes = ["https://rubygems.org"];
|
|
589
|
+
sha256 = "1q92y9627yisykyscv0bdsrrgyaajc2qr56dwlzx7ysgigjv4z63";
|
|
590
|
+
type = "gem";
|
|
591
|
+
};
|
|
592
|
+
version = "3.2.0";
|
|
593
|
+
};
|
|
594
|
+
sys-uname = {
|
|
595
|
+
dependencies = ["ffi" "memoist3"];
|
|
596
|
+
groups = ["default" "development"];
|
|
597
|
+
platforms = [];
|
|
598
|
+
source = {
|
|
599
|
+
remotes = ["https://rubygems.org"];
|
|
600
|
+
sha256 = "05lsffr3v6brqyvhs621c8ghb211wac3l3a2nmgazs0fczn7h8pd";
|
|
601
|
+
type = "gem";
|
|
602
|
+
};
|
|
603
|
+
version = "1.4.1";
|
|
604
|
+
};
|
|
605
|
+
thor = {
|
|
606
|
+
groups = ["default" "development"];
|
|
607
|
+
platforms = [];
|
|
608
|
+
source = {
|
|
609
|
+
remotes = ["https://rubygems.org"];
|
|
610
|
+
sha256 = "0gcarlmpfbmqnjvwfz44gdjhcmm634di7plcx2zdgwdhrhifhqw7";
|
|
611
|
+
type = "gem";
|
|
612
|
+
};
|
|
613
|
+
version = "1.4.0";
|
|
614
|
+
};
|
|
615
|
+
tsort = {
|
|
616
|
+
groups = ["default" "development"];
|
|
617
|
+
platforms = [];
|
|
618
|
+
source = {
|
|
619
|
+
remotes = ["https://rubygems.org"];
|
|
620
|
+
sha256 = "17q8h020dw73wjmql50lqw5ddsngg67jfw8ncjv476l5ys9sfl4n";
|
|
621
|
+
type = "gem";
|
|
622
|
+
};
|
|
623
|
+
version = "0.2.0";
|
|
624
|
+
};
|
|
625
|
+
unicode-display_width = {
|
|
626
|
+
dependencies = ["unicode-emoji"];
|
|
627
|
+
groups = ["default" "development"];
|
|
628
|
+
platforms = [];
|
|
629
|
+
source = {
|
|
630
|
+
remotes = ["https://rubygems.org"];
|
|
631
|
+
sha256 = "0hiwhnqpq271xqari6mg996fgjps42sffm9cpk6ljn8sd2srdp8c";
|
|
632
|
+
type = "gem";
|
|
633
|
+
};
|
|
634
|
+
version = "3.2.0";
|
|
635
|
+
};
|
|
636
|
+
unicode-emoji = {
|
|
637
|
+
groups = ["default" "development"];
|
|
638
|
+
platforms = [];
|
|
639
|
+
source = {
|
|
640
|
+
remotes = ["https://rubygems.org"];
|
|
641
|
+
sha256 = "03zqn207zypycbz5m9mn7ym763wgpk7hcqbkpx02wrbm1wank7ji";
|
|
642
|
+
type = "gem";
|
|
643
|
+
};
|
|
644
|
+
version = "4.2.0";
|
|
645
|
+
};
|
|
646
|
+
yard = {
|
|
647
|
+
groups = ["development"];
|
|
648
|
+
platforms = [];
|
|
649
|
+
source = {
|
|
650
|
+
remotes = ["https://rubygems.org"];
|
|
651
|
+
sha256 = "03q1hf12csqy5q2inafzi44179zaq9n5yrb0k2j2llqhzcmbh7vj";
|
|
652
|
+
type = "gem";
|
|
653
|
+
};
|
|
654
|
+
version = "0.9.38";
|
|
655
|
+
};
|
|
656
|
+
}
|
data/lib/bashcov/detective.rb
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
require "set"
|
|
4
|
-
|
|
5
3
|
module Bashcov
|
|
6
4
|
# Detect shell scripts
|
|
7
5
|
class Detective
|
|
@@ -43,7 +41,7 @@ module Bashcov
|
|
|
43
41
|
# shebang
|
|
44
42
|
# @note assumes that +filename+ is readable and refers to a regular file
|
|
45
43
|
def shellscript_shebang?(filename)
|
|
46
|
-
#
|
|
44
|
+
# handle empty files that cause an immediate EOFError
|
|
47
45
|
begin
|
|
48
46
|
shebang = File.open(filename) { |f| f.readline.chomp }
|
|
49
47
|
rescue EOFError
|
|
@@ -67,8 +65,8 @@ module Bashcov
|
|
|
67
65
|
|
|
68
66
|
args = scanner.skip(/\s+/).nil? ? [] : scanner.rest.split(/\s+/)
|
|
69
67
|
rescue ArgumentError
|
|
70
|
-
#
|
|
71
|
-
# happen when trying to read binary data (e.g. .
|
|
68
|
+
# handle "invalid byte sequence in UTF-8" from `StringScanner`, this can
|
|
69
|
+
# happen when trying to read binary data (e.g. .png)
|
|
72
70
|
return false
|
|
73
71
|
end
|
|
74
72
|
|
data/lib/bashcov/field_stream.rb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
module Bashcov
|
|
4
|
-
#
|
|
4
|
+
# Class for streaming token-delimited fields
|
|
5
5
|
class FieldStream
|
|
6
6
|
attr_accessor :read
|
|
7
7
|
|
|
@@ -43,7 +43,7 @@ module Bashcov
|
|
|
43
43
|
(field_count - chunk.size).times { yield "" }
|
|
44
44
|
end
|
|
45
45
|
|
|
46
|
-
#
|
|
46
|
+
# skip junk that might appear before the first start-of-fields match
|
|
47
47
|
begin
|
|
48
48
|
n, chunk = chunked.next
|
|
49
49
|
yield_fields.call([n, chunk]) unless n.zero?
|