guard-jasmine 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +68 -9
- data/lib/guard/jasmine.rb +6 -10
- data/lib/guard/jasmine.rbc +2232 -0
- data/lib/guard/jasmine/formatter.rbc +1271 -0
- data/lib/guard/jasmine/inspector.rb +5 -3
- data/lib/guard/jasmine/inspector.rbc +776 -0
- data/lib/guard/jasmine/runner.rb +3 -3
- data/lib/guard/jasmine/runner.rbc +4040 -0
- data/lib/guard/jasmine/version.rb +1 -1
- data/lib/guard/jasmine/version.rbc +203 -0
- metadata +12 -7
@@ -1,8 +1,10 @@
|
|
1
1
|
module Guard
|
2
2
|
class Jasmine
|
3
3
|
|
4
|
-
# The inspector verifies
|
5
|
-
# for Guard::Jasmine.
|
4
|
+
# The inspector verifies if the changed paths are valid
|
5
|
+
# for Guard::Jasmine. Please note that request to {#clean}
|
6
|
+
# paths keeps the current valid files cached until {#clear} is
|
7
|
+
# called.
|
6
8
|
#
|
7
9
|
module Inspector
|
8
10
|
class << self
|
@@ -47,7 +49,7 @@ module Guard
|
|
47
49
|
# JavaScript and CoffeeScript files in the `spec`
|
48
50
|
# directory.
|
49
51
|
#
|
50
|
-
# @see #
|
52
|
+
# @see #clear
|
51
53
|
# @return [Array<String>] the valid files
|
52
54
|
#
|
53
55
|
def jasmine_specs
|
@@ -0,0 +1,776 @@
|
|
1
|
+
!RBIX
|
2
|
+
16846133056282117387
|
3
|
+
x
|
4
|
+
M
|
5
|
+
1
|
6
|
+
n
|
7
|
+
n
|
8
|
+
x
|
9
|
+
10
|
10
|
+
__script__
|
11
|
+
i
|
12
|
+
28
|
13
|
+
99
|
14
|
+
7
|
15
|
+
0
|
16
|
+
65
|
17
|
+
49
|
18
|
+
1
|
19
|
+
2
|
20
|
+
13
|
21
|
+
99
|
22
|
+
12
|
23
|
+
7
|
24
|
+
2
|
25
|
+
12
|
26
|
+
7
|
27
|
+
3
|
28
|
+
12
|
29
|
+
65
|
30
|
+
12
|
31
|
+
49
|
32
|
+
4
|
33
|
+
4
|
34
|
+
15
|
35
|
+
49
|
36
|
+
2
|
37
|
+
0
|
38
|
+
15
|
39
|
+
2
|
40
|
+
11
|
41
|
+
I
|
42
|
+
6
|
43
|
+
I
|
44
|
+
0
|
45
|
+
I
|
46
|
+
0
|
47
|
+
I
|
48
|
+
0
|
49
|
+
n
|
50
|
+
p
|
51
|
+
5
|
52
|
+
x
|
53
|
+
5
|
54
|
+
Guard
|
55
|
+
x
|
56
|
+
11
|
57
|
+
open_module
|
58
|
+
x
|
59
|
+
15
|
60
|
+
__module_init__
|
61
|
+
M
|
62
|
+
1
|
63
|
+
n
|
64
|
+
n
|
65
|
+
x
|
66
|
+
5
|
67
|
+
Guard
|
68
|
+
i
|
69
|
+
29
|
70
|
+
5
|
71
|
+
66
|
72
|
+
99
|
73
|
+
7
|
74
|
+
0
|
75
|
+
1
|
76
|
+
65
|
77
|
+
49
|
78
|
+
1
|
79
|
+
3
|
80
|
+
13
|
81
|
+
99
|
82
|
+
12
|
83
|
+
7
|
84
|
+
2
|
85
|
+
12
|
86
|
+
7
|
87
|
+
3
|
88
|
+
12
|
89
|
+
65
|
90
|
+
12
|
91
|
+
49
|
92
|
+
4
|
93
|
+
4
|
94
|
+
15
|
95
|
+
49
|
96
|
+
2
|
97
|
+
0
|
98
|
+
11
|
99
|
+
I
|
100
|
+
6
|
101
|
+
I
|
102
|
+
0
|
103
|
+
I
|
104
|
+
0
|
105
|
+
I
|
106
|
+
0
|
107
|
+
n
|
108
|
+
p
|
109
|
+
5
|
110
|
+
x
|
111
|
+
7
|
112
|
+
Jasmine
|
113
|
+
x
|
114
|
+
10
|
115
|
+
open_class
|
116
|
+
x
|
117
|
+
14
|
118
|
+
__class_init__
|
119
|
+
M
|
120
|
+
1
|
121
|
+
n
|
122
|
+
n
|
123
|
+
x
|
124
|
+
7
|
125
|
+
Jasmine
|
126
|
+
i
|
127
|
+
28
|
128
|
+
5
|
129
|
+
66
|
130
|
+
99
|
131
|
+
7
|
132
|
+
0
|
133
|
+
65
|
134
|
+
49
|
135
|
+
1
|
136
|
+
2
|
137
|
+
13
|
138
|
+
99
|
139
|
+
12
|
140
|
+
7
|
141
|
+
2
|
142
|
+
12
|
143
|
+
7
|
144
|
+
3
|
145
|
+
12
|
146
|
+
65
|
147
|
+
12
|
148
|
+
49
|
149
|
+
4
|
150
|
+
4
|
151
|
+
15
|
152
|
+
49
|
153
|
+
2
|
154
|
+
0
|
155
|
+
11
|
156
|
+
I
|
157
|
+
6
|
158
|
+
I
|
159
|
+
0
|
160
|
+
I
|
161
|
+
0
|
162
|
+
I
|
163
|
+
0
|
164
|
+
n
|
165
|
+
p
|
166
|
+
5
|
167
|
+
x
|
168
|
+
9
|
169
|
+
Inspector
|
170
|
+
x
|
171
|
+
11
|
172
|
+
open_module
|
173
|
+
x
|
174
|
+
15
|
175
|
+
__module_init__
|
176
|
+
M
|
177
|
+
1
|
178
|
+
n
|
179
|
+
n
|
180
|
+
x
|
181
|
+
9
|
182
|
+
Inspector
|
183
|
+
i
|
184
|
+
30
|
185
|
+
5
|
186
|
+
66
|
187
|
+
5
|
188
|
+
99
|
189
|
+
43
|
190
|
+
0
|
191
|
+
12
|
192
|
+
49
|
193
|
+
1
|
194
|
+
1
|
195
|
+
13
|
196
|
+
99
|
197
|
+
12
|
198
|
+
7
|
199
|
+
2
|
200
|
+
12
|
201
|
+
7
|
202
|
+
3
|
203
|
+
12
|
204
|
+
65
|
205
|
+
12
|
206
|
+
49
|
207
|
+
4
|
208
|
+
4
|
209
|
+
15
|
210
|
+
54
|
211
|
+
50
|
212
|
+
2
|
213
|
+
0
|
214
|
+
11
|
215
|
+
I
|
216
|
+
6
|
217
|
+
I
|
218
|
+
0
|
219
|
+
I
|
220
|
+
0
|
221
|
+
I
|
222
|
+
0
|
223
|
+
n
|
224
|
+
p
|
225
|
+
5
|
226
|
+
x
|
227
|
+
4
|
228
|
+
Type
|
229
|
+
x
|
230
|
+
22
|
231
|
+
object_singleton_class
|
232
|
+
x
|
233
|
+
18
|
234
|
+
__metaclass_init__
|
235
|
+
M
|
236
|
+
1
|
237
|
+
n
|
238
|
+
n
|
239
|
+
x
|
240
|
+
18
|
241
|
+
__metaclass_init__
|
242
|
+
i
|
243
|
+
62
|
244
|
+
5
|
245
|
+
66
|
246
|
+
99
|
247
|
+
7
|
248
|
+
0
|
249
|
+
7
|
250
|
+
1
|
251
|
+
65
|
252
|
+
67
|
253
|
+
49
|
254
|
+
2
|
255
|
+
0
|
256
|
+
49
|
257
|
+
3
|
258
|
+
4
|
259
|
+
15
|
260
|
+
99
|
261
|
+
7
|
262
|
+
4
|
263
|
+
7
|
264
|
+
5
|
265
|
+
65
|
266
|
+
67
|
267
|
+
49
|
268
|
+
2
|
269
|
+
0
|
270
|
+
49
|
271
|
+
3
|
272
|
+
4
|
273
|
+
15
|
274
|
+
5
|
275
|
+
48
|
276
|
+
6
|
277
|
+
15
|
278
|
+
99
|
279
|
+
7
|
280
|
+
7
|
281
|
+
7
|
282
|
+
8
|
283
|
+
65
|
284
|
+
67
|
285
|
+
49
|
286
|
+
2
|
287
|
+
0
|
288
|
+
49
|
289
|
+
3
|
290
|
+
4
|
291
|
+
15
|
292
|
+
99
|
293
|
+
7
|
294
|
+
9
|
295
|
+
7
|
296
|
+
10
|
297
|
+
65
|
298
|
+
67
|
299
|
+
49
|
300
|
+
2
|
301
|
+
0
|
302
|
+
49
|
303
|
+
3
|
304
|
+
4
|
305
|
+
11
|
306
|
+
I
|
307
|
+
5
|
308
|
+
I
|
309
|
+
0
|
310
|
+
I
|
311
|
+
0
|
312
|
+
I
|
313
|
+
0
|
314
|
+
n
|
315
|
+
p
|
316
|
+
11
|
317
|
+
x
|
318
|
+
5
|
319
|
+
clean
|
320
|
+
M
|
321
|
+
1
|
322
|
+
n
|
323
|
+
n
|
324
|
+
x
|
325
|
+
5
|
326
|
+
clean
|
327
|
+
i
|
328
|
+
44
|
329
|
+
20
|
330
|
+
0
|
331
|
+
49
|
332
|
+
0
|
333
|
+
0
|
334
|
+
15
|
335
|
+
20
|
336
|
+
0
|
337
|
+
49
|
338
|
+
1
|
339
|
+
0
|
340
|
+
15
|
341
|
+
20
|
342
|
+
0
|
343
|
+
7
|
344
|
+
2
|
345
|
+
64
|
346
|
+
49
|
347
|
+
3
|
348
|
+
1
|
349
|
+
9
|
350
|
+
31
|
351
|
+
7
|
352
|
+
2
|
353
|
+
64
|
354
|
+
35
|
355
|
+
1
|
356
|
+
19
|
357
|
+
0
|
358
|
+
8
|
359
|
+
40
|
360
|
+
20
|
361
|
+
0
|
362
|
+
56
|
363
|
+
4
|
364
|
+
50
|
365
|
+
5
|
366
|
+
0
|
367
|
+
19
|
368
|
+
0
|
369
|
+
15
|
370
|
+
20
|
371
|
+
0
|
372
|
+
11
|
373
|
+
I
|
374
|
+
3
|
375
|
+
I
|
376
|
+
1
|
377
|
+
I
|
378
|
+
1
|
379
|
+
I
|
380
|
+
1
|
381
|
+
n
|
382
|
+
p
|
383
|
+
6
|
384
|
+
x
|
385
|
+
5
|
386
|
+
uniq!
|
387
|
+
x
|
388
|
+
8
|
389
|
+
compact!
|
390
|
+
s
|
391
|
+
16
|
392
|
+
spec/javascripts
|
393
|
+
x
|
394
|
+
8
|
395
|
+
include?
|
396
|
+
M
|
397
|
+
1
|
398
|
+
p
|
399
|
+
2
|
400
|
+
x
|
401
|
+
9
|
402
|
+
for_block
|
403
|
+
t
|
404
|
+
n
|
405
|
+
x
|
406
|
+
5
|
407
|
+
clean
|
408
|
+
i
|
409
|
+
12
|
410
|
+
57
|
411
|
+
19
|
412
|
+
0
|
413
|
+
15
|
414
|
+
5
|
415
|
+
20
|
416
|
+
0
|
417
|
+
47
|
418
|
+
49
|
419
|
+
0
|
420
|
+
1
|
421
|
+
11
|
422
|
+
I
|
423
|
+
4
|
424
|
+
I
|
425
|
+
1
|
426
|
+
I
|
427
|
+
1
|
428
|
+
I
|
429
|
+
1
|
430
|
+
n
|
431
|
+
p
|
432
|
+
1
|
433
|
+
x
|
434
|
+
13
|
435
|
+
jasmine_spec?
|
436
|
+
p
|
437
|
+
3
|
438
|
+
I
|
439
|
+
0
|
440
|
+
I
|
441
|
+
19
|
442
|
+
I
|
443
|
+
c
|
444
|
+
x
|
445
|
+
70
|
446
|
+
/Users/michi/Repositories/guard-jasmine/lib/guard/jasmine/inspector.rb
|
447
|
+
p
|
448
|
+
1
|
449
|
+
x
|
450
|
+
1
|
451
|
+
p
|
452
|
+
x
|
453
|
+
6
|
454
|
+
select
|
455
|
+
p
|
456
|
+
17
|
457
|
+
I
|
458
|
+
-1
|
459
|
+
I
|
460
|
+
12
|
461
|
+
I
|
462
|
+
0
|
463
|
+
I
|
464
|
+
13
|
465
|
+
I
|
466
|
+
6
|
467
|
+
I
|
468
|
+
14
|
469
|
+
I
|
470
|
+
c
|
471
|
+
I
|
472
|
+
16
|
473
|
+
I
|
474
|
+
16
|
475
|
+
I
|
476
|
+
17
|
477
|
+
I
|
478
|
+
1f
|
479
|
+
I
|
480
|
+
19
|
481
|
+
I
|
482
|
+
28
|
483
|
+
I
|
484
|
+
0
|
485
|
+
I
|
486
|
+
29
|
487
|
+
I
|
488
|
+
1c
|
489
|
+
I
|
490
|
+
2c
|
491
|
+
x
|
492
|
+
70
|
493
|
+
/Users/michi/Repositories/guard-jasmine/lib/guard/jasmine/inspector.rb
|
494
|
+
p
|
495
|
+
1
|
496
|
+
x
|
497
|
+
5
|
498
|
+
paths
|
499
|
+
x
|
500
|
+
17
|
501
|
+
method_visibility
|
502
|
+
x
|
503
|
+
15
|
504
|
+
add_defn_method
|
505
|
+
x
|
506
|
+
5
|
507
|
+
clear
|
508
|
+
M
|
509
|
+
1
|
510
|
+
n
|
511
|
+
n
|
512
|
+
x
|
513
|
+
5
|
514
|
+
clear
|
515
|
+
i
|
516
|
+
4
|
517
|
+
1
|
518
|
+
38
|
519
|
+
0
|
520
|
+
11
|
521
|
+
I
|
522
|
+
1
|
523
|
+
I
|
524
|
+
0
|
525
|
+
I
|
526
|
+
0
|
527
|
+
I
|
528
|
+
0
|
529
|
+
n
|
530
|
+
p
|
531
|
+
1
|
532
|
+
x
|
533
|
+
14
|
534
|
+
@jasmine_specs
|
535
|
+
p
|
536
|
+
5
|
537
|
+
I
|
538
|
+
-1
|
539
|
+
I
|
540
|
+
21
|
541
|
+
I
|
542
|
+
0
|
543
|
+
I
|
544
|
+
22
|
545
|
+
I
|
546
|
+
4
|
547
|
+
x
|
548
|
+
70
|
549
|
+
/Users/michi/Repositories/guard-jasmine/lib/guard/jasmine/inspector.rb
|
550
|
+
p
|
551
|
+
0
|
552
|
+
x
|
553
|
+
7
|
554
|
+
private
|
555
|
+
x
|
556
|
+
13
|
557
|
+
jasmine_spec?
|
558
|
+
M
|
559
|
+
1
|
560
|
+
n
|
561
|
+
n
|
562
|
+
x
|
563
|
+
13
|
564
|
+
jasmine_spec?
|
565
|
+
i
|
566
|
+
9
|
567
|
+
5
|
568
|
+
48
|
569
|
+
0
|
570
|
+
20
|
571
|
+
0
|
572
|
+
49
|
573
|
+
1
|
574
|
+
1
|
575
|
+
11
|
576
|
+
I
|
577
|
+
3
|
578
|
+
I
|
579
|
+
1
|
580
|
+
I
|
581
|
+
1
|
582
|
+
I
|
583
|
+
1
|
584
|
+
n
|
585
|
+
p
|
586
|
+
2
|
587
|
+
x
|
588
|
+
13
|
589
|
+
jasmine_specs
|
590
|
+
x
|
591
|
+
8
|
592
|
+
include?
|
593
|
+
p
|
594
|
+
5
|
595
|
+
I
|
596
|
+
-1
|
597
|
+
I
|
598
|
+
2c
|
599
|
+
I
|
600
|
+
0
|
601
|
+
I
|
602
|
+
2d
|
603
|
+
I
|
604
|
+
9
|
605
|
+
x
|
606
|
+
70
|
607
|
+
/Users/michi/Repositories/guard-jasmine/lib/guard/jasmine/inspector.rb
|
608
|
+
p
|
609
|
+
1
|
610
|
+
x
|
611
|
+
4
|
612
|
+
path
|
613
|
+
x
|
614
|
+
13
|
615
|
+
jasmine_specs
|
616
|
+
M
|
617
|
+
1
|
618
|
+
n
|
619
|
+
n
|
620
|
+
x
|
621
|
+
13
|
622
|
+
jasmine_specs
|
623
|
+
i
|
624
|
+
18
|
625
|
+
39
|
626
|
+
0
|
627
|
+
13
|
628
|
+
10
|
629
|
+
17
|
630
|
+
15
|
631
|
+
45
|
632
|
+
1
|
633
|
+
2
|
634
|
+
7
|
635
|
+
3
|
636
|
+
64
|
637
|
+
49
|
638
|
+
4
|
639
|
+
1
|
640
|
+
38
|
641
|
+
0
|
642
|
+
11
|
643
|
+
I
|
644
|
+
2
|
645
|
+
I
|
646
|
+
0
|
647
|
+
I
|
648
|
+
0
|
649
|
+
I
|
650
|
+
0
|
651
|
+
n
|
652
|
+
p
|
653
|
+
5
|
654
|
+
x
|
655
|
+
14
|
656
|
+
@jasmine_specs
|
657
|
+
x
|
658
|
+
3
|
659
|
+
Dir
|
660
|
+
n
|
661
|
+
s
|
662
|
+
29
|
663
|
+
spec/**/*_spec.{js,js.coffee}
|
664
|
+
x
|
665
|
+
4
|
666
|
+
glob
|
667
|
+
p
|
668
|
+
5
|
669
|
+
I
|
670
|
+
-1
|
671
|
+
I
|
672
|
+
37
|
673
|
+
I
|
674
|
+
0
|
675
|
+
I
|
676
|
+
38
|
677
|
+
I
|
678
|
+
12
|
679
|
+
x
|
680
|
+
70
|
681
|
+
/Users/michi/Repositories/guard-jasmine/lib/guard/jasmine/inspector.rb
|
682
|
+
p
|
683
|
+
0
|
684
|
+
p
|
685
|
+
11
|
686
|
+
I
|
687
|
+
2
|
688
|
+
I
|
689
|
+
12
|
690
|
+
I
|
691
|
+
10
|
692
|
+
I
|
693
|
+
21
|
694
|
+
I
|
695
|
+
1e
|
696
|
+
I
|
697
|
+
25
|
698
|
+
I
|
699
|
+
22
|
700
|
+
I
|
701
|
+
2c
|
702
|
+
I
|
703
|
+
30
|
704
|
+
I
|
705
|
+
37
|
706
|
+
I
|
707
|
+
3e
|
708
|
+
x
|
709
|
+
70
|
710
|
+
/Users/michi/Repositories/guard-jasmine/lib/guard/jasmine/inspector.rb
|
711
|
+
p
|
712
|
+
0
|
713
|
+
x
|
714
|
+
13
|
715
|
+
attach_method
|
716
|
+
p
|
717
|
+
3
|
718
|
+
I
|
719
|
+
2
|
720
|
+
I
|
721
|
+
a
|
722
|
+
I
|
723
|
+
1e
|
724
|
+
x
|
725
|
+
70
|
726
|
+
/Users/michi/Repositories/guard-jasmine/lib/guard/jasmine/inspector.rb
|
727
|
+
p
|
728
|
+
0
|
729
|
+
x
|
730
|
+
13
|
731
|
+
attach_method
|
732
|
+
p
|
733
|
+
3
|
734
|
+
I
|
735
|
+
2
|
736
|
+
I
|
737
|
+
9
|
738
|
+
I
|
739
|
+
1c
|
740
|
+
x
|
741
|
+
70
|
742
|
+
/Users/michi/Repositories/guard-jasmine/lib/guard/jasmine/inspector.rb
|
743
|
+
p
|
744
|
+
0
|
745
|
+
x
|
746
|
+
13
|
747
|
+
attach_method
|
748
|
+
p
|
749
|
+
3
|
750
|
+
I
|
751
|
+
2
|
752
|
+
I
|
753
|
+
2
|
754
|
+
I
|
755
|
+
1d
|
756
|
+
x
|
757
|
+
70
|
758
|
+
/Users/michi/Repositories/guard-jasmine/lib/guard/jasmine/inspector.rb
|
759
|
+
p
|
760
|
+
0
|
761
|
+
x
|
762
|
+
13
|
763
|
+
attach_method
|
764
|
+
p
|
765
|
+
3
|
766
|
+
I
|
767
|
+
0
|
768
|
+
I
|
769
|
+
1
|
770
|
+
I
|
771
|
+
1c
|
772
|
+
x
|
773
|
+
70
|
774
|
+
/Users/michi/Repositories/guard-jasmine/lib/guard/jasmine/inspector.rb
|
775
|
+
p
|
776
|
+
0
|