wtt-core 0.1.15 → 0.1.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +16 -3
- data/coverage/.last_run.json +1 -1
- data/coverage/.resultset.json +94 -103
- data/coverage/index.html +590 -644
- data/lib/wtt/core/mapper.rb +5 -3
- data/lib/wtt/core/matchers/fuzzy_matcher.rb +1 -1
- data/lib/wtt/core/matchers.rb +1 -1
- data/lib/wtt/core/meta_data.rb +1 -1
- data/lib/wtt/core/selector.rb +7 -7
- data/lib/wtt/core/storage.rb +3 -6
- data/lib/wtt/core/trace_service.rb +4 -4
- data/lib/wtt/core/tracer.rb +7 -9
- data/lib/wtt/core/version.rb +1 -2
- data/lib/wtt/core.rb +2 -8
- data/lib/wtt.rb +12 -14
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dde8c78afc90ec60debffa4e14a4d1bb65ba0e68
|
4
|
+
data.tar.gz: 6e8ebdedaa12011fd85e5281dfdadda1b5e5c080
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 930c7ef3cbe2c96a9d58d64d6b9ae5db03fa73bb81f748430bbee2b88d390eb0c62e74febd9ade9c3db55019b0df84b1a1d1590dc9cbfc9a70b89c0bc43f3abf
|
7
|
+
data.tar.gz: 4f068c14bbf2a008c15e28f748cf24eca822eec0df0b1ad55b7eb011cb73870679fa3b21d4ac2c9a7433c06463edd4936f8c82e89d1a9c10a89624f6142e6800
|
data/.rubocop.yml
CHANGED
@@ -2,11 +2,15 @@
|
|
2
2
|
Metrics/AbcSize:
|
3
3
|
Max: 23
|
4
4
|
|
5
|
-
# Offense count:
|
5
|
+
# Offense count: 17
|
6
|
+
# Configuration parameters: AllowURI, URISchemes.
|
7
|
+
Metrics/LineLength:
|
8
|
+
Max: 114
|
9
|
+
|
10
|
+
# Offense count: 1
|
6
11
|
# Configuration parameters: CountComments.
|
7
12
|
Metrics/MethodLength:
|
8
|
-
Max:
|
9
|
-
|
13
|
+
Max: 19
|
10
14
|
# Offense count: 2
|
11
15
|
# Cop supports --auto-correct.
|
12
16
|
# Configuration parameters: IndentWhenRelativeTo, SupportedStyles, IndentOneStep.
|
@@ -17,3 +21,12 @@ Style/CaseIndentation:
|
|
17
21
|
Style/ClassVars:
|
18
22
|
Exclude:
|
19
23
|
- 'lib/wtt/core/paths.rb'
|
24
|
+
|
25
|
+
Style/RedundantBegin:
|
26
|
+
Exclude:
|
27
|
+
- 'lib/wtt/core.rb'
|
28
|
+
|
29
|
+
Lint/RescueException:
|
30
|
+
Exclude:
|
31
|
+
- 'lib/wtt/core.rb'
|
32
|
+
- 'lib/wtt/core/tracer.rb'
|
data/coverage/.last_run.json
CHANGED
data/coverage/.resultset.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"RSpec": {
|
3
3
|
"coverage": {
|
4
|
-
"/
|
4
|
+
"/Users/dstanley/code/wtt/gems/wtt/lib/wtt.rb": [
|
5
5
|
1,
|
6
6
|
1,
|
7
7
|
null,
|
@@ -28,7 +28,7 @@
|
|
28
28
|
null,
|
29
29
|
null,
|
30
30
|
1,
|
31
|
-
|
31
|
+
159694,
|
32
32
|
null,
|
33
33
|
null,
|
34
34
|
1,
|
@@ -54,7 +54,6 @@
|
|
54
54
|
null,
|
55
55
|
null,
|
56
56
|
null,
|
57
|
-
null,
|
58
57
|
1,
|
59
58
|
5,
|
60
59
|
null,
|
@@ -67,6 +66,7 @@
|
|
67
66
|
5,
|
68
67
|
null,
|
69
68
|
null,
|
69
|
+
null,
|
70
70
|
1,
|
71
71
|
1,
|
72
72
|
1,
|
@@ -90,17 +90,15 @@
|
|
90
90
|
3,
|
91
91
|
null,
|
92
92
|
null,
|
93
|
-
null,
|
94
93
|
1,
|
95
94
|
1,
|
96
95
|
null,
|
97
96
|
null,
|
98
97
|
null,
|
99
98
|
null,
|
100
|
-
null,
|
101
99
|
null
|
102
100
|
],
|
103
|
-
"/
|
101
|
+
"/Users/dstanley/code/wtt/gems/wtt/lib/wtt/core.rb": [
|
104
102
|
1,
|
105
103
|
1,
|
106
104
|
1,
|
@@ -114,7 +112,6 @@
|
|
114
112
|
1,
|
115
113
|
null,
|
116
114
|
null,
|
117
|
-
null,
|
118
115
|
1,
|
119
116
|
null,
|
120
117
|
1,
|
@@ -138,7 +135,6 @@
|
|
138
135
|
null,
|
139
136
|
null,
|
140
137
|
null,
|
141
|
-
null,
|
142
138
|
1,
|
143
139
|
0,
|
144
140
|
0,
|
@@ -153,13 +149,9 @@
|
|
153
149
|
null,
|
154
150
|
null,
|
155
151
|
null,
|
156
|
-
1,
|
157
|
-
null,
|
158
|
-
null,
|
159
|
-
null,
|
160
152
|
null
|
161
153
|
],
|
162
|
-
"/
|
154
|
+
"/Users/dstanley/code/wtt/gems/wtt/lib/wtt/core/paths.rb": [
|
163
155
|
1,
|
164
156
|
null,
|
165
157
|
null,
|
@@ -182,7 +174,7 @@
|
|
182
174
|
null,
|
183
175
|
null
|
184
176
|
],
|
185
|
-
"/
|
177
|
+
"/Users/dstanley/code/wtt/gems/wtt/lib/wtt/core/storage.rb": [
|
186
178
|
1,
|
187
179
|
null,
|
188
180
|
1,
|
@@ -215,7 +207,6 @@
|
|
215
207
|
null,
|
216
208
|
null,
|
217
209
|
null,
|
218
|
-
null,
|
219
210
|
1,
|
220
211
|
2,
|
221
212
|
1,
|
@@ -229,7 +220,6 @@
|
|
229
220
|
null,
|
230
221
|
null,
|
231
222
|
null,
|
232
|
-
null,
|
233
223
|
1,
|
234
224
|
null,
|
235
225
|
1,
|
@@ -260,7 +250,6 @@
|
|
260
250
|
0,
|
261
251
|
null,
|
262
252
|
null,
|
263
|
-
null,
|
264
253
|
1,
|
265
254
|
2,
|
266
255
|
0,
|
@@ -273,7 +262,7 @@
|
|
273
262
|
null,
|
274
263
|
null
|
275
264
|
],
|
276
|
-
"/
|
265
|
+
"/Users/dstanley/code/wtt/gems/wtt/lib/wtt/core/mapper.rb": [
|
277
266
|
1,
|
278
267
|
1,
|
279
268
|
1,
|
@@ -295,12 +284,12 @@
|
|
295
284
|
null,
|
296
285
|
null,
|
297
286
|
1,
|
298
|
-
|
299
|
-
|
287
|
+
25,
|
288
|
+
25,
|
300
289
|
null,
|
301
290
|
null,
|
302
291
|
1,
|
303
|
-
|
292
|
+
77,
|
304
293
|
null,
|
305
294
|
null,
|
306
295
|
null,
|
@@ -325,7 +314,7 @@
|
|
325
314
|
null,
|
326
315
|
null,
|
327
316
|
1,
|
328
|
-
|
317
|
+
25,
|
329
318
|
null,
|
330
319
|
null,
|
331
320
|
null,
|
@@ -339,14 +328,18 @@
|
|
339
328
|
null,
|
340
329
|
null,
|
341
330
|
1,
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
331
|
+
42,
|
332
|
+
42,
|
333
|
+
135,
|
334
|
+
135,
|
335
|
+
77,
|
347
336
|
null,
|
348
|
-
|
349
|
-
|
337
|
+
42,
|
338
|
+
42,
|
339
|
+
null,
|
340
|
+
null,
|
341
|
+
1,
|
342
|
+
26,
|
350
343
|
null,
|
351
344
|
null,
|
352
345
|
1,
|
@@ -384,7 +377,6 @@
|
|
384
377
|
1,
|
385
378
|
5,
|
386
379
|
1,
|
387
|
-
null,
|
388
380
|
4,
|
389
381
|
239,
|
390
382
|
55,
|
@@ -398,7 +390,6 @@
|
|
398
390
|
null,
|
399
391
|
null,
|
400
392
|
1,
|
401
|
-
null,
|
402
393
|
5,
|
403
394
|
1,
|
404
395
|
4,
|
@@ -413,7 +404,7 @@
|
|
413
404
|
null,
|
414
405
|
null
|
415
406
|
],
|
416
|
-
"/
|
407
|
+
"/Users/dstanley/code/wtt/gems/wtt/lib/wtt/core/selector.rb": [
|
417
408
|
1,
|
418
409
|
1,
|
419
410
|
1,
|
@@ -429,13 +420,12 @@
|
|
429
420
|
null,
|
430
421
|
null,
|
431
422
|
1,
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
null,
|
423
|
+
6,
|
424
|
+
6,
|
425
|
+
6,
|
426
|
+
6,
|
427
|
+
6,
|
428
|
+
6,
|
439
429
|
null,
|
440
430
|
null,
|
441
431
|
null,
|
@@ -445,43 +435,47 @@
|
|
445
435
|
1,
|
446
436
|
null,
|
447
437
|
null,
|
448
|
-
|
438
|
+
6,
|
449
439
|
null,
|
450
440
|
null,
|
451
|
-
|
441
|
+
6,
|
452
442
|
null,
|
453
|
-
|
443
|
+
6,
|
444
|
+
6,
|
454
445
|
null,
|
455
|
-
|
456
|
-
4,
|
457
|
-
12,
|
458
|
-
12,
|
459
|
-
12,
|
446
|
+
6,
|
460
447
|
2,
|
461
448
|
null,
|
462
|
-
10,
|
463
449
|
null,
|
450
|
+
6,
|
451
|
+
18,
|
452
|
+
18,
|
453
|
+
18,
|
454
|
+
3,
|
464
455
|
null,
|
465
|
-
|
466
|
-
|
467
|
-
|
456
|
+
15,
|
457
|
+
null,
|
458
|
+
null,
|
459
|
+
6,
|
460
|
+
6,
|
461
|
+
6,
|
468
462
|
null,
|
469
463
|
null,
|
470
464
|
1,
|
471
465
|
null,
|
472
466
|
1,
|
473
|
-
|
467
|
+
6,
|
474
468
|
null,
|
475
469
|
null,
|
476
470
|
null,
|
477
|
-
|
471
|
+
6,
|
478
472
|
null,
|
479
473
|
null,
|
480
474
|
1,
|
481
475
|
null,
|
482
476
|
0,
|
483
477
|
0,
|
484
|
-
|
478
|
+
33,
|
485
479
|
null,
|
486
480
|
null,
|
487
481
|
null,
|
@@ -489,16 +483,15 @@
|
|
489
483
|
null,
|
490
484
|
null,
|
491
485
|
1,
|
492
|
-
|
493
|
-
|
486
|
+
15,
|
487
|
+
15,
|
494
488
|
null,
|
495
|
-
|
496
|
-
|
497
|
-
14,
|
489
|
+
15,
|
490
|
+
21,
|
498
491
|
null,
|
499
492
|
null,
|
500
|
-
|
501
|
-
|
493
|
+
15,
|
494
|
+
27,
|
502
495
|
null,
|
503
496
|
null,
|
504
497
|
null,
|
@@ -507,14 +500,14 @@
|
|
507
500
|
null,
|
508
501
|
null,
|
509
502
|
1,
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
503
|
+
21,
|
504
|
+
21,
|
505
|
+
21,
|
506
|
+
75,
|
507
|
+
75,
|
508
|
+
75,
|
516
509
|
null,
|
517
|
-
|
510
|
+
21,
|
518
511
|
null,
|
519
512
|
null,
|
520
513
|
null,
|
@@ -524,46 +517,46 @@
|
|
524
517
|
null,
|
525
518
|
null,
|
526
519
|
1,
|
527
|
-
|
520
|
+
75,
|
528
521
|
null,
|
529
|
-
|
530
|
-
|
522
|
+
33,
|
523
|
+
24,
|
531
524
|
null,
|
532
|
-
|
525
|
+
9,
|
533
526
|
null,
|
534
527
|
null,
|
535
|
-
|
528
|
+
9,
|
536
529
|
null,
|
537
530
|
null,
|
538
531
|
null,
|
539
532
|
null,
|
540
533
|
null,
|
541
534
|
1,
|
542
|
-
|
535
|
+
12,
|
543
536
|
null,
|
544
537
|
null,
|
545
538
|
null,
|
546
539
|
1,
|
540
|
+
6,
|
541
|
+
4,
|
542
|
+
4,
|
547
543
|
4,
|
548
|
-
2,
|
549
|
-
2,
|
550
|
-
2,
|
551
544
|
0,
|
552
545
|
null,
|
553
|
-
|
546
|
+
4,
|
554
547
|
null,
|
555
548
|
null,
|
556
549
|
null,
|
557
550
|
null,
|
558
551
|
null,
|
559
552
|
1,
|
560
|
-
|
553
|
+
27,
|
561
554
|
null,
|
562
555
|
null,
|
563
556
|
null,
|
564
557
|
null
|
565
558
|
],
|
566
|
-
"/
|
559
|
+
"/Users/dstanley/code/wtt/gems/wtt/lib/wtt/core/meta_data.rb": [
|
567
560
|
1,
|
568
561
|
null,
|
569
562
|
null,
|
@@ -607,7 +600,7 @@
|
|
607
600
|
null,
|
608
601
|
null
|
609
602
|
],
|
610
|
-
"/
|
603
|
+
"/Users/dstanley/code/wtt/gems/wtt/lib/wtt/core/tracer.rb": [
|
611
604
|
1,
|
612
605
|
1,
|
613
606
|
null,
|
@@ -657,29 +650,27 @@
|
|
657
650
|
null,
|
658
651
|
null,
|
659
652
|
null,
|
660
|
-
null,
|
661
653
|
1,
|
662
|
-
|
654
|
+
4,
|
663
655
|
null,
|
664
656
|
null,
|
665
657
|
1,
|
666
|
-
|
658
|
+
4,
|
667
659
|
null,
|
668
660
|
null,
|
669
661
|
1,
|
670
|
-
|
662
|
+
12,
|
671
663
|
null,
|
672
664
|
null,
|
673
665
|
1,
|
674
|
-
|
666
|
+
791,
|
675
667
|
null,
|
676
668
|
null,
|
677
669
|
1,
|
678
670
|
null,
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
0,
|
671
|
+
160,
|
672
|
+
22,
|
673
|
+
22,
|
683
674
|
null,
|
684
675
|
8,
|
685
676
|
null,
|
@@ -704,7 +695,7 @@
|
|
704
695
|
null,
|
705
696
|
null
|
706
697
|
],
|
707
|
-
"/
|
698
|
+
"/Users/dstanley/code/wtt/gems/wtt/lib/wtt/core/trace_service.rb": [
|
708
699
|
null,
|
709
700
|
null,
|
710
701
|
1,
|
@@ -717,9 +708,9 @@
|
|
717
708
|
1,
|
718
709
|
2,
|
719
710
|
2,
|
720
|
-
|
721
|
-
|
722
|
-
|
711
|
+
159430,
|
712
|
+
4850,
|
713
|
+
4850,
|
723
714
|
null,
|
724
715
|
null,
|
725
716
|
null,
|
@@ -743,17 +734,17 @@
|
|
743
734
|
1,
|
744
735
|
null,
|
745
736
|
1,
|
746
|
-
|
737
|
+
23,
|
747
738
|
null,
|
748
739
|
null,
|
749
740
|
1,
|
750
|
-
|
741
|
+
585374,
|
751
742
|
null,
|
752
743
|
null,
|
753
744
|
null,
|
754
745
|
null
|
755
746
|
],
|
756
|
-
"/
|
747
|
+
"/Users/dstanley/code/wtt/gems/wtt/lib/wtt/core/anchor_task.rb": [
|
757
748
|
1,
|
758
749
|
1,
|
759
750
|
null,
|
@@ -785,12 +776,12 @@
|
|
785
776
|
null,
|
786
777
|
null
|
787
778
|
],
|
788
|
-
"/
|
779
|
+
"/Users/dstanley/code/wtt/gems/wtt/lib/wtt/core/matchers.rb": [
|
789
780
|
1,
|
790
781
|
1,
|
791
782
|
1
|
792
783
|
],
|
793
|
-
"/
|
784
|
+
"/Users/dstanley/code/wtt/gems/wtt/lib/wtt/core/matchers/exact_matcher.rb": [
|
794
785
|
1,
|
795
786
|
1,
|
796
787
|
null,
|
@@ -809,7 +800,7 @@
|
|
809
800
|
null,
|
810
801
|
null
|
811
802
|
],
|
812
|
-
"/
|
803
|
+
"/Users/dstanley/code/wtt/gems/wtt/lib/wtt/core/matchers/fuzzy_matcher.rb": [
|
813
804
|
1,
|
814
805
|
1,
|
815
806
|
null,
|
@@ -825,14 +816,14 @@
|
|
825
816
|
null,
|
826
817
|
null,
|
827
818
|
1,
|
828
|
-
|
819
|
+
146,
|
829
820
|
null,
|
830
821
|
null,
|
831
822
|
null,
|
832
823
|
null,
|
833
824
|
null
|
834
825
|
],
|
835
|
-
"/
|
826
|
+
"/Users/dstanley/code/wtt/gems/wtt/lib/wtt/core/matchers/touch_matcher.rb": [
|
836
827
|
1,
|
837
828
|
1,
|
838
829
|
null,
|
@@ -852,6 +843,6 @@
|
|
852
843
|
null
|
853
844
|
]
|
854
845
|
},
|
855
|
-
"timestamp":
|
846
|
+
"timestamp": 1453150118
|
856
847
|
}
|
857
848
|
}
|