stylus-source 0.31.0 → 0.32.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.
Files changed (143) hide show
  1. checksums.yaml +7 -0
  2. data/VERSION +1 -1
  3. data/vendor/lib/nodes/unit.js +1 -1
  4. data/vendor/lib/parser.js +0 -1
  5. data/vendor/lib/renderer.js +2 -0
  6. data/vendor/lib/visitor/compiler.js +6 -0
  7. data/vendor/node_modules/cssom/README.mdown +34 -0
  8. data/vendor/node_modules/cssom/package.json +2 -1
  9. data/vendor/node_modules/debug/History.md +15 -0
  10. data/vendor/node_modules/debug/Readme.md +3 -18
  11. data/vendor/node_modules/debug/component.json +9 -0
  12. data/vendor/node_modules/debug/debug.js +10 -2
  13. data/vendor/node_modules/debug/index.js +5 -2
  14. data/vendor/node_modules/debug/lib/debug.js +5 -6
  15. data/vendor/node_modules/debug/package.json +11 -6
  16. data/vendor/node_modules/mkdirp/package.json +6 -9
  17. data/vendor/node_modules/mkdirp/{README.markdown → readme.markdown} +26 -24
  18. data/vendor/node_modules/mocha/History.md +140 -58
  19. data/vendor/node_modules/mocha/LICENSE +2 -2
  20. data/vendor/node_modules/mocha/Makefile +20 -5
  21. data/vendor/node_modules/mocha/Readme.md +110 -22
  22. data/vendor/node_modules/mocha/_mocha.js +574 -182
  23. data/vendor/node_modules/mocha/bin/_mocha +39 -22
  24. data/vendor/node_modules/mocha/bin/mocha +6 -2
  25. data/vendor/node_modules/mocha/component.json +16 -0
  26. data/vendor/node_modules/mocha/lib/browser/debug.js +1 -2
  27. data/vendor/node_modules/mocha/lib/browser/diff.js +287 -0
  28. data/vendor/node_modules/mocha/lib/browser/tty.js +7 -2
  29. data/vendor/node_modules/mocha/lib/hook.js +0 -1
  30. data/vendor/node_modules/mocha/lib/interfaces/bdd.js +3 -3
  31. data/vendor/node_modules/mocha/lib/interfaces/exports.js +5 -5
  32. data/vendor/node_modules/mocha/lib/interfaces/qunit.js +38 -9
  33. data/vendor/node_modules/mocha/lib/interfaces/tdd.js +15 -2
  34. data/vendor/node_modules/mocha/lib/mocha.js +20 -4
  35. data/vendor/node_modules/mocha/lib/reporters/base.js +57 -37
  36. data/vendor/node_modules/mocha/lib/reporters/html.js +2 -4
  37. data/vendor/node_modules/mocha/lib/reporters/json-stream.js +4 -14
  38. data/vendor/node_modules/mocha/lib/reporters/json.js +9 -19
  39. data/vendor/node_modules/mocha/lib/reporters/markdown.js +0 -1
  40. data/vendor/node_modules/mocha/lib/reporters/min.js +2 -2
  41. data/vendor/node_modules/mocha/lib/reporters/nyan.js +33 -39
  42. data/vendor/node_modules/mocha/lib/reporters/tap.js +12 -2
  43. data/vendor/node_modules/mocha/lib/reporters/templates/coverage.jade +3 -3
  44. data/vendor/node_modules/mocha/lib/reporters/templates/menu.jade +1 -1
  45. data/vendor/node_modules/mocha/lib/reporters/xunit.js +4 -4
  46. data/vendor/node_modules/mocha/lib/runnable.js +7 -9
  47. data/vendor/node_modules/mocha/lib/runner.js +24 -9
  48. data/vendor/node_modules/mocha/lib/template.html +2 -1
  49. data/vendor/node_modules/mocha/lib/utils.js +3 -3
  50. data/vendor/node_modules/mocha/mocha.css +37 -13
  51. data/vendor/node_modules/mocha/mocha.js +661 -253
  52. data/vendor/node_modules/mocha/node_modules/commander/package.json +5 -1
  53. data/vendor/node_modules/mocha/node_modules/diff/package.json +5 -1
  54. data/vendor/node_modules/mocha/node_modules/glob/LICENSE +27 -0
  55. data/vendor/node_modules/mocha/node_modules/glob/README.md +250 -0
  56. data/vendor/node_modules/mocha/node_modules/glob/examples/g.js +9 -0
  57. data/vendor/node_modules/mocha/node_modules/glob/examples/usr-local.js +9 -0
  58. data/vendor/node_modules/mocha/node_modules/glob/glob.js +675 -0
  59. data/vendor/node_modules/mocha/node_modules/glob/node_modules/graceful-fs/LICENSE +27 -0
  60. data/vendor/node_modules/mocha/node_modules/glob/node_modules/graceful-fs/README.md +33 -0
  61. data/vendor/node_modules/mocha/node_modules/glob/node_modules/graceful-fs/graceful-fs.js +442 -0
  62. data/vendor/node_modules/mocha/node_modules/glob/node_modules/graceful-fs/package.json +49 -0
  63. data/vendor/node_modules/mocha/node_modules/glob/node_modules/graceful-fs/test/open.js +46 -0
  64. data/vendor/node_modules/mocha/node_modules/glob/node_modules/graceful-fs/test/ulimit.js +158 -0
  65. data/vendor/node_modules/mocha/node_modules/glob/node_modules/inherits/README.md +51 -0
  66. data/vendor/node_modules/mocha/node_modules/glob/node_modules/inherits/inherits.js +29 -0
  67. data/vendor/node_modules/mocha/node_modules/glob/node_modules/inherits/package.json +26 -0
  68. data/vendor/node_modules/mocha/node_modules/glob/node_modules/minimatch/LICENSE +23 -0
  69. data/vendor/node_modules/mocha/node_modules/glob/node_modules/minimatch/README.md +218 -0
  70. data/vendor/node_modules/mocha/node_modules/glob/node_modules/minimatch/minimatch.js +1079 -0
  71. data/vendor/node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/lru-cache/AUTHORS +8 -0
  72. data/vendor/node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/lru-cache/LICENSE +23 -0
  73. data/vendor/node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/lru-cache/README.md +97 -0
  74. data/vendor/node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/lru-cache/lib/lru-cache.js +257 -0
  75. data/vendor/node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/lru-cache/package.json +59 -0
  76. data/vendor/node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/lru-cache/s.js +25 -0
  77. data/vendor/node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/lru-cache/test/basic.js +329 -0
  78. data/vendor/node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/lru-cache/test/foreach.js +52 -0
  79. data/vendor/node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/lru-cache/test/memory-leak.js +50 -0
  80. data/vendor/node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/sigmund/LICENSE +27 -0
  81. data/vendor/node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/sigmund/README.md +53 -0
  82. data/vendor/node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/sigmund/bench.js +283 -0
  83. data/vendor/node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/sigmund/package.json +38 -0
  84. data/vendor/node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/sigmund/sigmund.js +39 -0
  85. data/vendor/node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/sigmund/test/basic.js +24 -0
  86. data/vendor/node_modules/mocha/node_modules/glob/node_modules/minimatch/package.json +36 -0
  87. data/vendor/node_modules/mocha/node_modules/glob/node_modules/minimatch/test/basic.js +399 -0
  88. data/vendor/node_modules/mocha/node_modules/glob/node_modules/minimatch/test/brace-expand.js +33 -0
  89. data/vendor/node_modules/mocha/node_modules/glob/node_modules/minimatch/test/caching.js +14 -0
  90. data/vendor/node_modules/mocha/node_modules/glob/node_modules/minimatch/test/defaults.js +274 -0
  91. data/vendor/node_modules/mocha/node_modules/glob/package.json +40 -0
  92. data/vendor/node_modules/mocha/node_modules/glob/test/00-setup.js +176 -0
  93. data/vendor/node_modules/mocha/node_modules/glob/test/bash-comparison.js +63 -0
  94. data/vendor/node_modules/mocha/node_modules/glob/test/bash-results.json +350 -0
  95. data/vendor/node_modules/mocha/node_modules/glob/test/cwd-test.js +55 -0
  96. data/vendor/node_modules/mocha/node_modules/glob/test/globstar-match.js +19 -0
  97. data/vendor/node_modules/mocha/node_modules/glob/test/mark.js +74 -0
  98. data/vendor/node_modules/mocha/node_modules/glob/test/nocase-nomagic.js +113 -0
  99. data/vendor/node_modules/mocha/node_modules/glob/test/pause-resume.js +73 -0
  100. data/vendor/node_modules/mocha/node_modules/glob/test/root-nomount.js +39 -0
  101. data/vendor/node_modules/mocha/node_modules/glob/test/root.js +46 -0
  102. data/vendor/node_modules/mocha/node_modules/glob/test/stat.js +32 -0
  103. data/vendor/node_modules/mocha/node_modules/glob/test/zz-cleanup.js +11 -0
  104. data/vendor/node_modules/mocha/node_modules/growl/History.md +5 -0
  105. data/vendor/node_modules/mocha/node_modules/growl/lib/growl.js +2 -0
  106. data/vendor/node_modules/mocha/node_modules/growl/package.json +7 -3
  107. data/vendor/node_modules/mocha/node_modules/jade/node_modules/mkdirp/package.json +5 -1
  108. data/vendor/node_modules/mocha/node_modules/jade/package.json +5 -1
  109. data/vendor/node_modules/mocha/node_modules/ms/package.json +5 -1
  110. data/vendor/node_modules/mocha/package.json +13 -7
  111. data/vendor/node_modules/mocha/test.js +10 -21
  112. data/vendor/node_modules/should/History.md +5 -0
  113. data/vendor/node_modules/should/Readme.md +172 -172
  114. data/vendor/node_modules/should/lib/eql.js +2 -0
  115. data/vendor/node_modules/should/lib/should.js +4 -3
  116. data/vendor/node_modules/should/package.json +8 -4
  117. data/vendor/node_modules/should/test/should.test.js +27 -0
  118. data/vendor/package.json +1 -1
  119. metadata +61 -35
  120. data/vendor/node_modules/debug/Makefile +0 -4
  121. data/vendor/node_modules/debug/debug.component.js +0 -120
  122. data/vendor/node_modules/debug/head.js +0 -1
  123. data/vendor/node_modules/debug/tail.js +0 -4
  124. data/vendor/node_modules/mocha/node_modules/mkdirp/LICENSE +0 -21
  125. data/vendor/node_modules/mocha/node_modules/mkdirp/README.markdown +0 -61
  126. data/vendor/node_modules/mocha/node_modules/mkdirp/examples/pow.js +0 -6
  127. data/vendor/node_modules/mocha/node_modules/mkdirp/examples/pow.js.orig +0 -6
  128. data/vendor/node_modules/mocha/node_modules/mkdirp/examples/pow.js.rej +0 -19
  129. data/vendor/node_modules/mocha/node_modules/mkdirp/index.js +0 -94
  130. data/vendor/node_modules/mocha/node_modules/mkdirp/package.json +0 -33
  131. data/vendor/node_modules/mocha/node_modules/mkdirp/test/chmod.js +0 -38
  132. data/vendor/node_modules/mocha/node_modules/mkdirp/test/clobber.js +0 -37
  133. data/vendor/node_modules/mocha/node_modules/mkdirp/test/mkdirp.js +0 -28
  134. data/vendor/node_modules/mocha/node_modules/mkdirp/test/perm.js +0 -32
  135. data/vendor/node_modules/mocha/node_modules/mkdirp/test/perm_sync.js +0 -39
  136. data/vendor/node_modules/mocha/node_modules/mkdirp/test/race.js +0 -41
  137. data/vendor/node_modules/mocha/node_modules/mkdirp/test/rel.js +0 -32
  138. data/vendor/node_modules/mocha/node_modules/mkdirp/test/return.js +0 -25
  139. data/vendor/node_modules/mocha/node_modules/mkdirp/test/return_sync.js +0 -24
  140. data/vendor/node_modules/mocha/node_modules/mkdirp/test/root.js +0 -18
  141. data/vendor/node_modules/mocha/node_modules/mkdirp/test/sync.js +0 -32
  142. data/vendor/node_modules/mocha/node_modules/mkdirp/test/umask.js +0 -28
  143. data/vendor/node_modules/mocha/node_modules/mkdirp/test/umask_sync.js +0 -32
@@ -1,11 +1,93 @@
1
1
 
2
- 1.7.1 / 2012-11-23
2
+ 1.12.0 / 2013-07-01
3
3
  ==================
4
4
 
5
- * add better checkmark
6
- * add `.error.{stack,message}` to json-stream and json reporters
5
+ * add: prevent diffs for differing types. Closes #900
6
+ * add `Mocha.process` hack for phantomjs
7
+ * fix: use compilers with requires
8
+ * fix regexps in diffs. Closes #890
9
+ * fix xunit NaN on failure. Closes #894
10
+ * fix: strip tab indentation in `clean` utility method
11
+ * fix: textmate bundle installation
7
12
 
8
- 1.7.0 / 2012-11-07
13
+ 1.11.0 / 2013-06-12
14
+ ==================
15
+
16
+ * add --prof support
17
+ * add --harmony support
18
+ * add --harmony-generators support
19
+ * add "Uncaught " prefix to uncaught exceptions
20
+ * add web workers support
21
+ * add `suite.skip()`
22
+ * change to output # of pending / passing even on failures. Closes #872
23
+ * fix: prevent hooks from being called if we are bailing
24
+ * fix `this.timeout(0)`
25
+
26
+ 1.10.0 / 2013-05-21
27
+ ==================
28
+
29
+ * add add better globbing support for windows via `glob` module
30
+ * add support to pass through flags such as --debug-brk=1234. Closes #852
31
+ * add test.only, test.skip to qunit interface
32
+ * change to always use word-based diffs for now. Closes #733
33
+ * change `mocha init` tests.html to index.html
34
+ * fix `process` global leak in the browser
35
+ * fix: use resolve() instead of join() for --require
36
+ * fix: filterLeaks() condition to not consider indices in global object as leaks
37
+ * fix: restrict mocha.css styling to #mocha id
38
+ * fix: save timer references to avoid Sinon interfering in the browser build.
39
+
40
+ 1.9.0 / 2013-04-03
41
+ ==================
42
+
43
+ * add improved setImmediate implementation
44
+ * replace --ignore-leaks with --check-leaks
45
+ * change default of ignoreLeaks to true. Closes #791
46
+ * remove scrolling for HTML reporter
47
+ * fix retina support
48
+ * fix tmbundle, restrict to js scope
49
+
50
+ 1.8.2 / 2013-03-11
51
+ ==================
52
+
53
+ * add `setImmediate` support for 0.10.x
54
+ * fix mocha -w spinner on windows
55
+
56
+ 1.8.1 / 2013-01-09
57
+ ==================
58
+
59
+ * fix .bail() arity check causing it to default to true
60
+
61
+ 1.8.0 / 2013-01-08
62
+ ==================
63
+
64
+ * add Mocha() options bail support
65
+ * add `Mocha#bail()` method
66
+ * add instanceof check back for inheriting from Error
67
+ * add component.json
68
+ * add diff.js to browser build
69
+ * update growl
70
+ * fix TAP reporter failures comment :D
71
+
72
+ 1.7.4 / 2012-12-06
73
+ ==================
74
+
75
+ * add total number of passes and failures to TAP
76
+ * remove .bind() calls. re #680
77
+ * fix indexOf. Closes #680
78
+
79
+ 1.7.3 / 2012-11-30
80
+ ==================
81
+
82
+ * fix uncaught error support for the browser
83
+ * revert uncaught "fix" which breaks node
84
+
85
+ 1.7.2 / 2012-11-28
86
+ ==================
87
+
88
+ * fix uncaught errors to expose the original error message
89
+
90
+ 1.7.0 / 2012-11-07
9
91
  ==================
10
92
 
11
93
  * add `--async-only` support to prevent false positives for missing `done()`
@@ -20,14 +102,14 @@
20
102
  * fix markdown reporter a tags
21
103
  * fix `this.timeout("5s")` support
22
104
 
23
- 1.6.0 / 2012-10-02
105
+ 1.6.0 / 2012-10-02
24
106
  ==================
25
107
 
26
108
  * add object diffs when `err.showDiff` is present
27
109
  * add hiding of empty suites when pass/failures are toggled
28
110
  * add faster `.length` checks to `checkGlobals()` before performing the filter
29
111
 
30
- 1.5.0 / 2012-09-21
112
+ 1.5.0 / 2012-09-21
31
113
  ==================
32
114
 
33
115
  * add `ms()` to `.slow()` and `.timeout()`
@@ -41,7 +123,7 @@
41
123
  * fix relaying of signals [TooTallNate]
42
124
  * fix TAP reporter grep number
43
125
 
44
- 1.4.2 / 2012-09-01
126
+ 1.4.2 / 2012-09-01
45
127
  ==================
46
128
 
47
129
  * add support to multiple `Mocha#globals()` calls, and strings
@@ -53,14 +135,14 @@
53
135
  * fix client-side API to match node-side [jfirebaugh]
54
136
  * fix mocha in iframe [joliss]
55
137
 
56
- 1.4.1 / 2012-08-28
138
+ 1.4.1 / 2012-08-28
57
139
  ==================
58
140
 
59
141
  * add missing `Markdown` export
60
142
  * fix `Mocha#grep()`, escape regexp strings
61
143
  * fix reference error when `devicePixelRatio` is not defined. Closes #549
62
144
 
63
- 1.4.0 / 2012-08-22
145
+ 1.4.0 / 2012-08-22
64
146
  ==================
65
147
 
66
148
  * add mkdir -p to `mocha init`. Closes #539
@@ -70,12 +152,12 @@
70
152
  * fix HTML progress indicator retina display
71
153
  * fix url-encoding of click-to-grep HTML functionality
72
154
 
73
- 1.3.2 / 2012-08-01
155
+ 1.3.2 / 2012-08-01
74
156
  ==================
75
157
 
76
158
  * fix exports double-execution regression. Closes #531
77
159
 
78
- 1.3.1 / 2012-08-01
160
+ 1.3.1 / 2012-08-01
79
161
  ==================
80
162
 
81
163
  * add passes/failures toggling to HTML reporter
@@ -91,7 +173,7 @@
91
173
  * fix error when clicking pending test in HTML reporter
92
174
  * fix `make tm`
93
175
 
94
- 1.3.0 / 2012-07-05
176
+ 1.3.0 / 2012-07-05
95
177
  ==================
96
178
 
97
179
  * add window scrolling to `HTML` reporter
@@ -103,12 +185,12 @@
103
185
  * fix `done()` called multiple times with an error test
104
186
  * change `--grep` - regexp escape the input
105
187
 
106
- 1.2.2 / 2012-06-28
188
+ 1.2.2 / 2012-06-28
107
189
  ==================
108
190
 
109
191
  * Added 0.8.0 support
110
192
 
111
- 1.2.1 / 2012-06-25
193
+ 1.2.1 / 2012-06-25
112
194
  ==================
113
195
 
114
196
  * Added `this.test.error(err)` support to after each hooks. Closes #287
@@ -119,7 +201,7 @@
119
201
  * Fixed chars in nyan when his head moves back
120
202
  * Remove `--growl` from test/mocha.opts. Closes #289
121
203
 
122
- 1.2.0 / 2012-06-17
204
+ 1.2.0 / 2012-06-17
123
205
  ==================
124
206
 
125
207
  * Added `nyan` reporter [Atsuya Takagi]
@@ -129,7 +211,7 @@
129
211
  * Fixed runner emitter leak. closes #432
130
212
  * Fixed omission of .js extension. Closes #454
131
213
 
132
- 1.1.0 / 2012-05-30
214
+ 1.1.0 / 2012-05-30
133
215
  ==================
134
216
 
135
217
  * Added: check each `mocha(1)` arg for directories to walk
@@ -143,13 +225,13 @@
143
225
  * Fixed issue #325 - add better grep support to js api
144
226
  * Fixed: save timer references to avoid Sinon interfering.
145
227
 
146
- 1.0.3 / 2012-04-30
228
+ 1.0.3 / 2012-04-30
147
229
  ==================
148
230
 
149
231
  * Fixed string diff newlines
150
232
  * Fixed: removed mocha.css target. Closes #401
151
233
 
152
- 1.0.2 / 2012-04-25
234
+ 1.0.2 / 2012-04-25
153
235
  ==================
154
236
 
155
237
  * Added HTML reporter duration. Closes #47
@@ -160,14 +242,14 @@
160
242
  * Fixed #166 - When grepping don't display the empty suites
161
243
  * Removed test/browser/style.css. Closes #385
162
244
 
163
- 1.0.1 / 2012-04-04
245
+ 1.0.1 / 2012-04-04
164
246
  ==================
165
247
 
166
248
  * Fixed `.timeout()` in hooks
167
249
  * Fixed: allow callback for `mocha.run()` in client version
168
250
  * Fixed browser hook error display. Closes #361
169
251
 
170
- 1.0.0 / 2012-03-24
252
+ 1.0.0 / 2012-03-24
171
253
  ==================
172
254
 
173
255
  * Added js API. Closes #265
@@ -182,7 +264,7 @@
182
264
  * Fixed chopping of first char in error reporting. Closes #334 [reported by topfunky]
183
265
  * Fixed terrible FF / Opera stack traces
184
266
 
185
- 0.14.1 / 2012-03-06
267
+ 0.14.1 / 2012-03-06
186
268
  ==================
187
269
 
188
270
  * Added lib-cov to _.npmignore_
@@ -191,30 +273,30 @@
191
273
  * Removed jQuery dependency
192
274
  * Fixed `--watch`: purge require cache. Closes #266
193
275
 
194
- 0.14.0 / 2012-03-01
276
+ 0.14.0 / 2012-03-01
195
277
  ==================
196
278
 
197
279
  * Added string diff support for terminal reporters
198
280
 
199
- 0.13.0 / 2012-02-23
281
+ 0.13.0 / 2012-02-23
200
282
  ==================
201
283
 
202
284
  * Added preliminary test coverage support. Closes #5
203
285
  * Added `HTMLCov` reporter
204
286
  * Added `JSONCov` reporter [kunklejr]
205
287
  * Added `xdescribe()` and `xit()` to the BDD interface. Closes #263 (docs * Changed: make json reporter output pretty json
206
- * Fixed node-inspector support, swapped `--debug` for `debug` to match node.
288
+ * Fixed node-inspector support, swapped `--debug` for `debug` to match node.
207
289
  needed)
208
290
  Closes #247
209
291
 
210
- 0.12.1 / 2012-02-14
292
+ 0.12.1 / 2012-02-14
211
293
  ==================
212
294
 
213
295
  * Added `npm docs mocha` support [TooTallNate]
214
296
  * Added a `Context` object used for hook and test-case this. Closes #253
215
297
  * Fixed `Suite#clone()` `.ctx` reference. Closes #262
216
298
 
217
- 0.12.0 / 2012-02-02
299
+ 0.12.0 / 2012-02-02
218
300
  ==================
219
301
 
220
302
  * Added .coffee `--watch` support. Closes #242
@@ -223,14 +305,14 @@ Closes #247
223
305
  * Changed: made HTML progress indicator smaller
224
306
  * Fixed xunit errors attribute [dhendo]
225
307
 
226
- 0.10.2 / 2012-01-21
308
+ 0.10.2 / 2012-01-21
227
309
  ==================
228
310
 
229
311
  * Fixed suite count in reporter stats. Closes #222
230
312
  * Fixed `done()` after timeout error reporting [Phil Sung]
231
313
  * Changed the 0-based errors to 1
232
314
 
233
- 0.10.1 / 2012-01-17
315
+ 0.10.1 / 2012-01-17
234
316
  ==================
235
317
 
236
318
  * Added support for node 0.7.x
@@ -238,7 +320,7 @@ Closes #247
238
320
  * Fixed `--no-colors` option [Jussi Virtanen]
239
321
  * Fixed Arial CSS typo in the correct file
240
322
 
241
- 0.10.0 / 2012-01-13
323
+ 0.10.0 / 2012-01-13
242
324
  ==================
243
325
 
244
326
  * Added `-b, --bail` to exit on first exception [guillermo]
@@ -249,21 +331,21 @@ Closes #247
249
331
  * Fixed `self.test` reference in runner. Closes #189
250
332
  * Fixed double reporting of uncaught exceptions after timeout. Closes #195
251
333
 
252
- 0.8.2 / 2012-01-05
334
+ 0.8.2 / 2012-01-05
253
335
  ==================
254
336
 
255
337
  * Added test-case context support. Closes #113
256
338
  * Fixed exit status. Closes #187
257
339
  * Update commander. Closes #190
258
340
 
259
- 0.8.1 / 2011-12-30
341
+ 0.8.1 / 2011-12-30
260
342
  ==================
261
343
 
262
344
  * Fixed reporting of uncaught exceptions. Closes #183
263
345
  * Fixed error message defaulting [indutny]
264
346
  * Changed mocha(1) from bash to node for windows [Nathan Rajlich]
265
347
 
266
- 0.8.0 / 2011-12-28
348
+ 0.8.0 / 2011-12-28
267
349
  ==================
268
350
 
269
351
  * Added `XUnit` reporter [FeeFighters/visionmedia]
@@ -274,7 +356,7 @@ Closes #247
274
356
  * Fixed mocha(1) --help bin name
275
357
  * Fixed `-d` for `--debug` support
276
358
 
277
- 0.7.1 / 2011-12-22
359
+ 0.7.1 / 2011-12-22
278
360
  ==================
279
361
 
280
362
  * Removed `mocha-debug(1)`, use `mocha --debug`
@@ -283,13 +365,13 @@ Closes #247
283
365
  * Fixed: platform specific line endings [TooTallNate]
284
366
  * Fixed: escape strings in HTML reporter. Closes #164
285
367
 
286
- 0.7.0 / 2011-12-18
368
+ 0.7.0 / 2011-12-18
287
369
  ==================
288
370
 
289
371
  * Added support for IE{7,8} [guille]
290
372
  * Changed: better browser nextTick implementation [guille]
291
373
 
292
- 0.6.0 / 2011-12-18
374
+ 0.6.0 / 2011-12-18
293
375
  ==================
294
376
 
295
377
  * Added setZeroTimeout timeout for browser (nicer stack traces). Closes #153
@@ -298,7 +380,7 @@ Closes #247
298
380
  * Fixed duplicate reporting for HTML reporter. Closes #154
299
381
  * Fixed silent hook errors in the HTML reporter. Closes #150
300
382
 
301
- 0.5.0 / 2011-12-14
383
+ 0.5.0 / 2011-12-14
302
384
  ==================
303
385
 
304
386
  * Added: push node_modules directory onto module.paths for relative require Closes #93
@@ -306,7 +388,7 @@ Closes #247
306
388
  * Fixed: recover from uncaught exceptions for tests. Closes #94
307
389
  * Fixed: only emit "test end" for uncaught within test, not hook
308
390
 
309
- 0.4.0 / 2011-12-14
391
+ 0.4.0 / 2011-12-14
310
392
  ==================
311
393
 
312
394
  * Added support for test-specific timeouts via `this.timeout(0)`. Closes #134
@@ -316,12 +398,12 @@ Closes #247
316
398
  * Fixed "suite" color for light terminals
317
399
  * Fixed `require()` leak spotted by [guillermo]
318
400
 
319
- 0.3.6 / 2011-12-09
401
+ 0.3.6 / 2011-12-09
320
402
  ==================
321
403
 
322
404
  * Removed suite merging (for now)
323
405
 
324
- 0.3.5 / 2011-12-08
406
+ 0.3.5 / 2011-12-08
325
407
  ==================
326
408
 
327
409
  * Added support for `window.onerror` [guillermo]
@@ -329,7 +411,7 @@ Closes #247
329
411
  * Added `mocha.css` to PHONY list.
330
412
  * Added `mocha.js` to PHONY list.
331
413
 
332
- 0.3.4 / 2011-12-08
414
+ 0.3.4 / 2011-12-08
333
415
  ==================
334
416
 
335
417
  * Added: allow `done()` to be called with non-Error
@@ -337,24 +419,24 @@ Closes #247
337
419
  * Fixed: run afterEach even on failures. Closes #125
338
420
  * Fixed clobbering of current runnable. Closes #121
339
421
 
340
- 0.3.3 / 2011-12-08
422
+ 0.3.3 / 2011-12-08
341
423
  ==================
342
424
 
343
425
  * Fixed hook timeouts. Closes #120
344
426
  * Fixed uncaught exceptions in hooks
345
427
 
346
- 0.3.2 / 2011-12-05
428
+ 0.3.2 / 2011-12-05
347
429
  ==================
348
430
 
349
431
  * Fixed weird reporting when `err.message` is not present
350
432
 
351
- 0.3.1 / 2011-12-04
433
+ 0.3.1 / 2011-12-04
352
434
  ==================
353
435
 
354
436
  * Fixed hook event emitter leak. Closes #117
355
437
  * Fixed: export `Spec` constructor. Closes #116
356
438
 
357
- 0.3.0 / 2011-12-04
439
+ 0.3.0 / 2011-12-04
358
440
  ==================
359
441
 
360
442
  * Added `-w, --watch`. Closes #72
@@ -364,7 +446,7 @@ Closes #247
364
446
  * Fixed `mocha-debug(1)` on some systems. Closes #232
365
447
  * Fixed growl total, use `runner.total`
366
448
 
367
- 0.2.0 / 2011-11-30
449
+ 0.2.0 / 2011-11-30
368
450
  ==================
369
451
 
370
452
  * Added `--globals <names>` to specify accepted globals. Closes #99
@@ -372,19 +454,19 @@ Closes #247
372
454
  * Fixed `mocha-debug(1)`. Closes #232
373
455
  * Fixed growl total, use runner.total
374
456
 
375
- 0.1.0 / 2011-11-29
457
+ 0.1.0 / 2011-11-29
376
458
  ==================
377
459
 
378
460
  * Added `suiteSetup` and `suiteTeardown` to TDD interface [David Henderson]
379
461
  * Added growl icons. Closes #84
380
462
  * Fixed coffee-script support
381
463
 
382
- 0.0.8 / 2011-11-25
464
+ 0.0.8 / 2011-11-25
383
465
  ==================
384
466
 
385
467
  * Fixed: use `Runner#total` for accurate reporting
386
468
 
387
- 0.0.7 / 2011-11-25
469
+ 0.0.7 / 2011-11-25
388
470
  ==================
389
471
 
390
472
  * Added `Hook`
@@ -394,17 +476,17 @@ Closes #247
394
476
  * Fixed: > 2 calls to done() only report the error once
395
477
  * Fixed: clear timer on failure. Closes #80
396
478
 
397
- 0.0.6 / 2011-11-25
479
+ 0.0.6 / 2011-11-25
398
480
  ==================
399
481
 
400
482
  * Fixed return on immediate async error. Closes #80
401
483
 
402
- 0.0.5 / 2011-11-24
484
+ 0.0.5 / 2011-11-24
403
485
  ==================
404
486
 
405
487
  * Fixed: make mocha.opts whitespace less picky [kkaefer]
406
488
 
407
- 0.0.4 / 2011-11-24
489
+ 0.0.4 / 2011-11-24
408
490
  ==================
409
491
 
410
492
  * Added `--interfaces`
@@ -412,13 +494,13 @@ Closes #247
412
494
  * Added `-c, --colors`. Closes #69
413
495
  * Fixed hook timeouts
414
496
 
415
- 0.0.3 / 2011-11-23
497
+ 0.0.3 / 2011-11-23
416
498
  ==================
417
499
 
418
500
  * Added `-C, --no-colors` to explicitly disable
419
501
  * Added coffee-script support
420
502
 
421
- 0.0.2 / 2011-11-22
503
+ 0.0.2 / 2011-11-22
422
504
  ==================
423
505
 
424
506
  * Fixed global leak detection due to Safari bind() change
@@ -426,13 +508,13 @@ Closes #247
426
508
  * Fixed: escape html entities in HTML reporter
427
509
  * Fixed pending test support for HTML reporter. Closes #66
428
510
 
429
- 0.0.1 / 2011-11-22
511
+ 0.0.1 / 2011-11-22
430
512
  ==================
431
513
 
432
514
  * Added `--timeout` second shorthand support, ex `--timeout 3s`.
433
515
  * Fixed "test end" event for uncaughtExceptions. Closes #61
434
516
 
435
- 0.0.1-alpha6 / 2011-11-19
517
+ 0.0.1-alpha6 / 2011-11-19
436
518
  ==================
437
519
 
438
520
  * Added travis CI support (needs enabling when public)
@@ -445,7 +527,7 @@ Closes #247
445
527
  * Fixed errors thrown in sync test-cases due to nextTick
446
528
  * Fixed Base.window.width... again give precedence to 0.6.x
447
529
 
448
- 0.0.1-alpha5 / 2011-11-17
530
+ 0.0.1-alpha5 / 2011-11-17
449
531
  ==================
450
532
 
451
533
  * Added `doc` reporter. Closes #33
@@ -467,12 +549,12 @@ Closes #247
467
549
  * Added protection against multiple calls to `done()`. Closes #35
468
550
  * Changed: bright yellow for slow Dot reporter tests
469
551
 
470
- 0.0.1-alpha1 / 2011-11-08
552
+ 0.0.1-alpha1 / 2011-11-08
471
553
  ==================
472
554
 
473
555
  * Missed this one :)
474
556
 
475
- 0.0.1-alpha1 / 2011-11-08
557
+ 0.0.1-alpha1 / 2011-11-08
476
558
  ==================
477
559
 
478
560
  * Initial release
@@ -1,6 +1,6 @@
1
1
  (The MIT License)
2
2
 
3
- Copyright (c) 2011-2012 TJ Holowaychuk <tj@vision-media.ca>
3
+ Copyright (c) 2011-2013 TJ Holowaychuk <tj@vision-media.ca>
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining
6
6
  a copy of this software and associated documentation files (the
@@ -19,4 +19,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
19
  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
20
  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
21
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,13 +1,15 @@
1
1
 
2
2
  REPORTER ?= dot
3
- TM_DEST = ~/Library/Application\ Support/TextMate/Bundles
4
3
  TM_BUNDLE = JavaScript\ mocha.tmbundle
5
4
  SRC = $(shell find lib -name "*.js" -type f | sort)
6
5
  SUPPORT = $(wildcard support/*.js)
7
6
 
8
7
  all: mocha.js
9
8
 
10
- mocha.js: $(SRC) $(SUPPORT)
9
+ lib/browser/diff.js: node_modules/diff/diff.js
10
+ cp node_modules/diff/diff.js lib/browser/diff.js
11
+
12
+ mocha.js: $(SRC) $(SUPPORT) lib/browser/diff.js
11
13
  @node support/compile $(SRC)
12
14
  @cat \
13
15
  support/head.js \
@@ -30,7 +32,7 @@ lib-cov:
30
32
 
31
33
  test: test-unit
32
34
 
33
- test-all: test-bdd test-tdd test-qunit test-exports test-unit test-grep test-jsapi test-compilers
35
+ test-all: test-bdd test-tdd test-qunit test-exports test-unit test-grep test-jsapi test-compilers test-glob test-requires
34
36
 
35
37
  test-jsapi:
36
38
  @node test/jsapi
@@ -39,6 +41,7 @@ test-unit:
39
41
  @./bin/mocha \
40
42
  --reporter $(REPORTER) \
41
43
  test/acceptance/*.js \
44
+ --growl \
42
45
  test/*.js
43
46
 
44
47
  test-compilers:
@@ -48,6 +51,16 @@ test-compilers:
48
51
  test/acceptance/test.coffee \
49
52
  test/acceptance/test.foo
50
53
 
54
+ test-requires:
55
+ @./bin/mocha \
56
+ --reporter $(REPORTER) \
57
+ --compilers coffee:coffee-script \
58
+ --require test/acceptance/require/a.js \
59
+ --require test/acceptance/require/b.coffee \
60
+ --require test/acceptance/require/c.js \
61
+ --require test/acceptance/require/d.coffee \
62
+ test/acceptance/require/require.js
63
+
51
64
  test-bdd:
52
65
  @./bin/mocha \
53
66
  --reporter $(REPORTER) \
@@ -97,6 +110,9 @@ test-async-only:
97
110
  --async-only \
98
111
  test/acceptance/misc/asyncOnly
99
112
 
113
+ test-glob:
114
+ @./test/acceptance/glob/glob.sh
115
+
100
116
  non-tty:
101
117
  @./bin/mocha \
102
118
  --reporter dot \
@@ -120,7 +136,6 @@ non-tty:
120
136
  @cat /tmp/spec.out
121
137
 
122
138
  tm:
123
- mkdir -p $(TM_DEST)
124
- cp -fr editors/$(TM_BUNDLE) $(TM_DEST)
139
+ @open editors/$(TM_BUNDLE)
125
140
 
126
141
  .PHONY: test-cov test-jsapi test-compilers watch test test-all test-bdd test-tdd test-qunit test-exports test-unit non-tty test-grep tm clean