guard-coffeescript 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +85 -40
- data/lib/guard/coffeescript.rb +4 -2
- data/lib/guard/coffeescript.rbc +79 -41
- data/lib/guard/coffeescript/formatter.rb +9 -3
- data/lib/guard/coffeescript/formatter.rbc +182 -55
- data/lib/guard/coffeescript/inspector.rbc +15 -10
- data/lib/guard/coffeescript/runner.rb +2 -1
- data/lib/guard/coffeescript/runner.rbc +153 -94
- data/lib/guard/coffeescript/version.rb +1 -1
- data/lib/guard/coffeescript/version.rbc +1 -1
- metadata +36 -2
@@ -10,7 +10,8 @@ module Guard
|
|
10
10
|
changed_files, errors = compile_files(files, options, watchers)
|
11
11
|
notify_result(changed_files, errors, options)
|
12
12
|
|
13
|
-
changed_files
|
13
|
+
[changed_files, errors.empty?]
|
14
|
+
|
14
15
|
rescue ExecJS::RuntimeError => e
|
15
16
|
Formatter.error("ExecJS engine error: " + e.message)
|
16
17
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
!RBIX
|
2
|
-
|
2
|
+
6235178746665710376
|
3
3
|
x
|
4
4
|
M
|
5
5
|
1
|
@@ -196,33 +196,35 @@ x
|
|
196
196
|
6
|
197
197
|
Runner
|
198
198
|
i
|
199
|
-
|
199
|
+
30
|
200
200
|
5
|
201
201
|
66
|
202
202
|
5
|
203
203
|
99
|
204
|
+
43
|
205
|
+
0
|
204
206
|
12
|
205
207
|
49
|
206
|
-
|
208
|
+
1
|
207
209
|
1
|
208
210
|
13
|
209
211
|
99
|
210
212
|
12
|
211
213
|
7
|
212
|
-
|
214
|
+
2
|
213
215
|
12
|
214
216
|
7
|
215
|
-
|
217
|
+
3
|
216
218
|
12
|
217
219
|
65
|
218
220
|
12
|
219
221
|
49
|
220
|
-
|
222
|
+
4
|
221
223
|
4
|
222
224
|
15
|
223
225
|
54
|
224
226
|
50
|
225
|
-
|
227
|
+
2
|
226
228
|
0
|
227
229
|
11
|
228
230
|
I
|
@@ -235,10 +237,13 @@ I
|
|
235
237
|
0
|
236
238
|
n
|
237
239
|
p
|
240
|
+
5
|
241
|
+
x
|
238
242
|
4
|
243
|
+
Type
|
239
244
|
x
|
240
|
-
|
241
|
-
|
245
|
+
22
|
246
|
+
object_singleton_class
|
242
247
|
x
|
243
248
|
18
|
244
249
|
__metaclass_init__
|
@@ -377,7 +382,7 @@ x
|
|
377
382
|
3
|
378
383
|
run
|
379
384
|
i
|
380
|
-
|
385
|
+
130
|
381
386
|
23
|
382
387
|
2
|
383
388
|
10
|
@@ -397,7 +402,7 @@ i
|
|
397
402
|
0
|
398
403
|
15
|
399
404
|
29
|
400
|
-
|
405
|
+
78
|
401
406
|
0
|
402
407
|
5
|
403
408
|
20
|
@@ -446,9 +451,16 @@ i
|
|
446
451
|
15
|
447
452
|
20
|
448
453
|
3
|
454
|
+
20
|
455
|
+
4
|
456
|
+
49
|
457
|
+
5
|
458
|
+
0
|
459
|
+
35
|
460
|
+
2
|
449
461
|
30
|
450
462
|
8
|
451
|
-
|
463
|
+
126
|
452
464
|
26
|
453
465
|
93
|
454
466
|
1
|
@@ -456,42 +468,42 @@ i
|
|
456
468
|
24
|
457
469
|
13
|
458
470
|
45
|
459
|
-
5
|
460
471
|
6
|
461
|
-
43
|
462
472
|
7
|
473
|
+
43
|
474
|
+
8
|
463
475
|
12
|
464
476
|
49
|
465
|
-
|
477
|
+
9
|
466
478
|
1
|
467
479
|
10
|
468
|
-
|
480
|
+
97
|
469
481
|
8
|
470
|
-
|
482
|
+
121
|
471
483
|
15
|
472
484
|
24
|
473
485
|
19
|
474
486
|
5
|
475
487
|
15
|
476
488
|
45
|
477
|
-
9
|
478
489
|
10
|
479
|
-
7
|
480
490
|
11
|
491
|
+
7
|
492
|
+
12
|
481
493
|
64
|
482
494
|
20
|
483
495
|
5
|
484
496
|
49
|
485
|
-
|
497
|
+
13
|
486
498
|
0
|
487
499
|
81
|
488
|
-
13
|
489
|
-
49
|
490
500
|
14
|
501
|
+
49
|
502
|
+
15
|
491
503
|
1
|
492
504
|
25
|
493
505
|
8
|
494
|
-
|
506
|
+
126
|
495
507
|
15
|
496
508
|
92
|
497
509
|
1
|
@@ -511,7 +523,7 @@ I
|
|
511
523
|
3
|
512
524
|
n
|
513
525
|
p
|
514
|
-
|
526
|
+
16
|
515
527
|
x
|
516
528
|
4
|
517
529
|
Hash
|
@@ -529,6 +541,9 @@ x
|
|
529
541
|
notify_result
|
530
542
|
x
|
531
543
|
6
|
544
|
+
empty?
|
545
|
+
x
|
546
|
+
6
|
532
547
|
ExecJS
|
533
548
|
n
|
534
549
|
x
|
@@ -554,7 +569,7 @@ x
|
|
554
569
|
5
|
555
570
|
error
|
556
571
|
p
|
557
|
-
|
572
|
+
23
|
558
573
|
I
|
559
574
|
-1
|
560
575
|
I
|
@@ -576,23 +591,31 @@ I
|
|
576
591
|
I
|
577
592
|
d
|
578
593
|
I
|
579
|
-
|
594
|
+
4e
|
580
595
|
I
|
581
|
-
|
596
|
+
0
|
582
597
|
I
|
583
|
-
|
598
|
+
53
|
584
599
|
I
|
585
|
-
|
600
|
+
f
|
586
601
|
I
|
587
|
-
|
602
|
+
62
|
588
603
|
I
|
589
|
-
|
604
|
+
11
|
590
605
|
I
|
591
|
-
|
606
|
+
63
|
592
607
|
I
|
593
608
|
f
|
594
609
|
I
|
595
|
-
|
610
|
+
66
|
611
|
+
I
|
612
|
+
10
|
613
|
+
I
|
614
|
+
7e
|
615
|
+
I
|
616
|
+
0
|
617
|
+
I
|
618
|
+
82
|
596
619
|
x
|
597
620
|
77
|
598
621
|
/Users/michi/Repositories/guard-coffeescript/lib/guard/coffeescript/runner.rb
|
@@ -743,15 +766,15 @@ p
|
|
743
766
|
I
|
744
767
|
-1
|
745
768
|
I
|
746
|
-
|
769
|
+
15
|
747
770
|
I
|
748
771
|
0
|
749
772
|
I
|
750
|
-
|
773
|
+
16
|
751
774
|
I
|
752
775
|
1d
|
753
776
|
I
|
754
|
-
|
777
|
+
17
|
755
778
|
I
|
756
779
|
35
|
757
780
|
x
|
@@ -1061,43 +1084,51 @@ x
|
|
1061
1084
|
5
|
1062
1085
|
error
|
1063
1086
|
p
|
1064
|
-
|
1087
|
+
23
|
1065
1088
|
I
|
1066
1089
|
0
|
1067
1090
|
I
|
1068
|
-
|
1091
|
+
20
|
1069
1092
|
I
|
1070
1093
|
4
|
1071
1094
|
I
|
1072
|
-
|
1095
|
+
22
|
1073
1096
|
I
|
1074
1097
|
18
|
1075
1098
|
I
|
1076
|
-
|
1099
|
+
23
|
1100
|
+
I
|
1101
|
+
2d
|
1102
|
+
I
|
1103
|
+
0
|
1077
1104
|
I
|
1078
1105
|
32
|
1079
1106
|
I
|
1080
|
-
|
1107
|
+
24
|
1081
1108
|
I
|
1082
1109
|
41
|
1083
1110
|
I
|
1084
|
-
|
1111
|
+
28
|
1085
1112
|
I
|
1086
1113
|
42
|
1087
1114
|
I
|
1088
|
-
|
1115
|
+
24
|
1089
1116
|
I
|
1090
1117
|
45
|
1091
1118
|
I
|
1092
|
-
|
1119
|
+
25
|
1093
1120
|
I
|
1094
1121
|
59
|
1095
1122
|
I
|
1096
|
-
|
1123
|
+
26
|
1097
1124
|
I
|
1098
1125
|
62
|
1099
1126
|
I
|
1100
|
-
|
1127
|
+
27
|
1128
|
+
I
|
1129
|
+
72
|
1130
|
+
I
|
1131
|
+
0
|
1101
1132
|
I
|
1102
1133
|
76
|
1103
1134
|
x
|
@@ -1125,11 +1156,11 @@ p
|
|
1125
1156
|
I
|
1126
1157
|
0
|
1127
1158
|
I
|
1128
|
-
|
1159
|
+
1f
|
1129
1160
|
I
|
1130
1161
|
a
|
1131
1162
|
I
|
1132
|
-
|
1163
|
+
20
|
1133
1164
|
I
|
1134
1165
|
12
|
1135
1166
|
x
|
@@ -1154,27 +1185,27 @@ p
|
|
1154
1185
|
I
|
1155
1186
|
-1
|
1156
1187
|
I
|
1157
|
-
|
1188
|
+
1a
|
1158
1189
|
I
|
1159
1190
|
0
|
1160
1191
|
I
|
1161
|
-
|
1192
|
+
1b
|
1162
1193
|
I
|
1163
1194
|
5
|
1164
1195
|
I
|
1165
|
-
|
1196
|
+
1c
|
1166
1197
|
I
|
1167
1198
|
a
|
1168
1199
|
I
|
1169
|
-
|
1200
|
+
1d
|
1170
1201
|
I
|
1171
1202
|
18
|
1172
1203
|
I
|
1173
|
-
|
1204
|
+
1f
|
1174
1205
|
I
|
1175
1206
|
20
|
1176
1207
|
I
|
1177
|
-
|
1208
|
+
2c
|
1178
1209
|
I
|
1179
1210
|
2a
|
1180
1211
|
x
|
@@ -1258,11 +1289,11 @@ p
|
|
1258
1289
|
I
|
1259
1290
|
-1
|
1260
1291
|
I
|
1261
|
-
|
1292
|
+
2f
|
1262
1293
|
I
|
1263
1294
|
0
|
1264
1295
|
I
|
1265
|
-
|
1296
|
+
30
|
1266
1297
|
I
|
1267
1298
|
11
|
1268
1299
|
x
|
@@ -1486,7 +1517,7 @@ p
|
|
1486
1517
|
I
|
1487
1518
|
0
|
1488
1519
|
I
|
1489
|
-
|
1520
|
+
36
|
1490
1521
|
I
|
1491
1522
|
d
|
1492
1523
|
x
|
@@ -1501,27 +1532,31 @@ x
|
|
1501
1532
|
4
|
1502
1533
|
open
|
1503
1534
|
p
|
1504
|
-
|
1535
|
+
13
|
1505
1536
|
I
|
1506
1537
|
-1
|
1507
1538
|
I
|
1508
|
-
|
1539
|
+
33
|
1509
1540
|
I
|
1510
1541
|
0
|
1511
1542
|
I
|
1512
|
-
|
1543
|
+
34
|
1544
|
+
I
|
1545
|
+
1b
|
1546
|
+
I
|
1547
|
+
0
|
1513
1548
|
I
|
1514
1549
|
1c
|
1515
1550
|
I
|
1516
|
-
|
1551
|
+
35
|
1517
1552
|
I
|
1518
1553
|
47
|
1519
1554
|
I
|
1520
|
-
|
1555
|
+
36
|
1521
1556
|
I
|
1522
1557
|
5b
|
1523
1558
|
I
|
1524
|
-
|
1559
|
+
38
|
1525
1560
|
I
|
1526
1561
|
5e
|
1527
1562
|
x
|
@@ -1857,35 +1892,47 @@ x
|
|
1857
1892
|
3
|
1858
1893
|
[]=
|
1859
1894
|
p
|
1860
|
-
|
1895
|
+
21
|
1861
1896
|
I
|
1862
1897
|
0
|
1863
1898
|
I
|
1864
|
-
|
1899
|
+
40
|
1865
1900
|
I
|
1866
1901
|
a
|
1867
1902
|
I
|
1868
|
-
|
1903
|
+
41
|
1869
1904
|
I
|
1870
1905
|
18
|
1871
1906
|
I
|
1872
|
-
|
1907
|
+
42
|
1873
1908
|
I
|
1874
|
-
|
1909
|
+
5c
|
1875
1910
|
I
|
1876
1911
|
42
|
1877
1912
|
I
|
1878
|
-
|
1913
|
+
5f
|
1879
1914
|
I
|
1880
1915
|
43
|
1881
1916
|
I
|
1917
|
+
69
|
1918
|
+
I
|
1919
|
+
44
|
1920
|
+
I
|
1882
1921
|
78
|
1883
1922
|
I
|
1884
|
-
|
1923
|
+
46
|
1924
|
+
I
|
1925
|
+
88
|
1926
|
+
I
|
1927
|
+
0
|
1885
1928
|
I
|
1886
1929
|
8a
|
1887
1930
|
I
|
1888
|
-
|
1931
|
+
41
|
1932
|
+
I
|
1933
|
+
8b
|
1934
|
+
I
|
1935
|
+
0
|
1889
1936
|
I
|
1890
1937
|
8c
|
1891
1938
|
x
|
@@ -1909,27 +1956,31 @@ x
|
|
1909
1956
|
4
|
1910
1957
|
each
|
1911
1958
|
p
|
1912
|
-
|
1959
|
+
13
|
1913
1960
|
I
|
1914
1961
|
-1
|
1915
1962
|
I
|
1916
|
-
|
1963
|
+
3b
|
1917
1964
|
I
|
1918
1965
|
0
|
1919
1966
|
I
|
1920
|
-
|
1967
|
+
3c
|
1968
|
+
I
|
1969
|
+
22
|
1970
|
+
I
|
1971
|
+
0
|
1921
1972
|
I
|
1922
1973
|
23
|
1923
1974
|
I
|
1924
|
-
|
1975
|
+
3e
|
1925
1976
|
I
|
1926
1977
|
2d
|
1927
1978
|
I
|
1928
|
-
|
1979
|
+
40
|
1929
1980
|
I
|
1930
1981
|
3a
|
1931
1982
|
I
|
1932
|
-
|
1983
|
+
4b
|
1933
1984
|
I
|
1934
1985
|
3d
|
1935
1986
|
x
|
@@ -2165,39 +2216,47 @@ x
|
|
2165
2216
|
6
|
2166
2217
|
failed
|
2167
2218
|
p
|
2168
|
-
|
2219
|
+
21
|
2169
2220
|
I
|
2170
2221
|
-1
|
2171
2222
|
I
|
2172
|
-
|
2223
|
+
4e
|
2173
2224
|
I
|
2174
2225
|
e
|
2175
2226
|
I
|
2176
|
-
|
2227
|
+
4f
|
2177
2228
|
I
|
2178
2229
|
15
|
2179
2230
|
I
|
2180
|
-
|
2231
|
+
51
|
2181
2232
|
I
|
2182
2233
|
24
|
2183
2234
|
I
|
2184
|
-
|
2235
|
+
52
|
2185
2236
|
I
|
2186
2237
|
36
|
2187
2238
|
I
|
2188
|
-
|
2239
|
+
53
|
2189
2240
|
I
|
2190
2241
|
3f
|
2191
2242
|
I
|
2192
|
-
|
2243
|
+
54
|
2193
2244
|
I
|
2194
2245
|
5a
|
2195
2246
|
I
|
2196
|
-
|
2247
|
+
51
|
2248
|
+
I
|
2249
|
+
5b
|
2250
|
+
I
|
2251
|
+
0
|
2197
2252
|
I
|
2198
2253
|
5d
|
2199
2254
|
I
|
2200
|
-
|
2255
|
+
50
|
2256
|
+
I
|
2257
|
+
85
|
2258
|
+
I
|
2259
|
+
0
|
2201
2260
|
I
|
2202
2261
|
86
|
2203
2262
|
x
|
@@ -2226,31 +2285,31 @@ I
|
|
2226
2285
|
I
|
2227
2286
|
10
|
2228
2287
|
I
|
2229
|
-
|
2288
|
+
13
|
2230
2289
|
I
|
2231
2290
|
14
|
2232
2291
|
I
|
2233
|
-
|
2292
|
+
15
|
2234
2293
|
I
|
2235
2294
|
22
|
2236
2295
|
I
|
2237
|
-
|
2296
|
+
1a
|
2238
2297
|
I
|
2239
2298
|
30
|
2240
2299
|
I
|
2241
|
-
|
2300
|
+
2f
|
2242
2301
|
I
|
2243
2302
|
3e
|
2244
2303
|
I
|
2245
|
-
|
2304
|
+
33
|
2246
2305
|
I
|
2247
2306
|
4c
|
2248
2307
|
I
|
2249
|
-
|
2308
|
+
3b
|
2250
2309
|
I
|
2251
2310
|
5a
|
2252
2311
|
I
|
2253
|
-
|
2312
|
+
4e
|
2254
2313
|
I
|
2255
2314
|
68
|
2256
2315
|
x
|
@@ -2268,7 +2327,7 @@ I
|
|
2268
2327
|
I
|
2269
2328
|
6
|
2270
2329
|
I
|
2271
|
-
|
2330
|
+
1e
|
2272
2331
|
x
|
2273
2332
|
77
|
2274
2333
|
/Users/michi/Repositories/guard-coffeescript/lib/guard/coffeescript/runner.rb
|