gentooboontoo-jspec 4.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. data/History.md +840 -0
  2. data/Manifest +81 -0
  3. data/README.md +1039 -0
  4. data/Rakefile +28 -0
  5. data/bin/jspec +182 -0
  6. data/jspec.gemspec +44 -0
  7. data/lib/images/bg.png +0 -0
  8. data/lib/images/hr.png +0 -0
  9. data/lib/images/loading.gif +0 -0
  10. data/lib/images/sprites.bg.png +0 -0
  11. data/lib/images/sprites.png +0 -0
  12. data/lib/images/vr.png +0 -0
  13. data/lib/jspec.css +149 -0
  14. data/lib/jspec.growl.js +115 -0
  15. data/lib/jspec.jquery.js +88 -0
  16. data/lib/jspec.js +1908 -0
  17. data/lib/jspec.nodejs.js +18 -0
  18. data/lib/jspec.shell.js +39 -0
  19. data/lib/jspec.timers.js +154 -0
  20. data/lib/jspec.xhr.js +210 -0
  21. data/spec/commands/example_command.rb +19 -0
  22. data/spec/dom.html +33 -0
  23. data/spec/fixtures/test.html +1 -0
  24. data/spec/fixtures/test.json +1 -0
  25. data/spec/fixtures/test.xml +5 -0
  26. data/spec/node.js +19 -0
  27. data/spec/rhino.js +23 -0
  28. data/spec/ruby/bin/init_spec.rb +101 -0
  29. data/spec/ruby/bin/install_spec.rb +141 -0
  30. data/spec/ruby/bin/run_spec.rb +0 -0
  31. data/spec/ruby/bin/shell_spec.rb +13 -0
  32. data/spec/ruby/bin/spec_helper.rb +8 -0
  33. data/spec/ruby/bin/update_spec.rb +72 -0
  34. data/spec/server.html +29 -0
  35. data/spec/server.rb +2 -0
  36. data/spec/support/env.js +10118 -0
  37. data/spec/support/jquery.js +6240 -0
  38. data/spec/unit/helpers.js +64 -0
  39. data/spec/unit/spec.fixtures.js +24 -0
  40. data/spec/unit/spec.grammar-less.js +34 -0
  41. data/spec/unit/spec.grammar.js +275 -0
  42. data/spec/unit/spec.jquery.js +212 -0
  43. data/spec/unit/spec.jquery.xhr.js +103 -0
  44. data/spec/unit/spec.js +187 -0
  45. data/spec/unit/spec.matchers.js +577 -0
  46. data/spec/unit/spec.modules.js +51 -0
  47. data/spec/unit/spec.node.js +45 -0
  48. data/spec/unit/spec.shared-behaviors.js +279 -0
  49. data/spec/unit/spec.utils.js +355 -0
  50. data/spec/unit/spec.xhr.js +157 -0
  51. data/src/browsers.rb +305 -0
  52. data/src/helpers.rb +67 -0
  53. data/src/installables.rb +229 -0
  54. data/src/project.rb +340 -0
  55. data/src/routes.rb +61 -0
  56. data/src/server.rb +96 -0
  57. data/support/js.jar +0 -0
  58. data/templates/default/History.md +5 -0
  59. data/templates/default/Readme.md +29 -0
  60. data/templates/default/lib/yourlib.js +2 -0
  61. data/templates/default/spec/commands/example_command.rb +19 -0
  62. data/templates/default/spec/dom.html +22 -0
  63. data/templates/default/spec/node.js +10 -0
  64. data/templates/default/spec/rhino.js +10 -0
  65. data/templates/default/spec/server.html +18 -0
  66. data/templates/default/spec/server.rb +4 -0
  67. data/templates/default/spec/unit/spec.helper.js +0 -0
  68. data/templates/default/spec/unit/spec.js +8 -0
  69. data/templates/node/History.md +5 -0
  70. data/templates/node/Readme.md +29 -0
  71. data/templates/node/lib/yourlib.js +2 -0
  72. data/templates/node/spec/node.js +10 -0
  73. data/templates/node/spec/unit/spec.helper.js +0 -0
  74. data/templates/node/spec/unit/spec.js +8 -0
  75. data/templates/rails/commands/example_commands.rb +19 -0
  76. data/templates/rails/dom.html +22 -0
  77. data/templates/rails/rhino.js +10 -0
  78. data/templates/rails/server.html +18 -0
  79. data/templates/rails/server.rb +4 -0
  80. data/templates/rails/unit/spec.helper.js +0 -0
  81. data/templates/rails/unit/spec.js +8 -0
  82. metadata +227 -0
data/History.md ADDED
@@ -0,0 +1,840 @@
1
+
2
+ 4.3.3 / 2010-07-13
3
+ ==================
4
+
5
+ * Fixed destubing stub overrides
6
+ * Fixed jQuery have_event_handlers to match "live" events
7
+ * Installables updated: MooTools to 1.2.4, Dojo to 1.4.0, jQuery to 1.4.0.
8
+ * Call rhino with "-opt -1" to avoid silent failure
9
+
10
+ 4.3.2 / 2010-05-30
11
+ ==================
12
+
13
+ * Fixed nodejs support due to recent Buffer changes
14
+
15
+ 4.3.1 / 2010-05-04
16
+ ==================
17
+
18
+ * Fixed; proper handling of undefind values for have_prop[erty]
19
+
20
+ 4.3.0 / 2010-05-04
21
+ ==================
22
+
23
+ * Added chromium to supported browsers
24
+ * Fixed rhino support by using java command
25
+ * Fixed MockXMLHttpRequest#getAllResponseHeaders() matches spec returning a string
26
+
27
+ 4.2.1 / 2010-04-15
28
+ ==================
29
+
30
+ * Fixed; strict type checks for have_prop[erty]
31
+ * Removed some globals
32
+
33
+ 4.2.0 / 2010-04-07
34
+ ==================
35
+
36
+ * Merge branch 'master' of git://github.com/vipulb/jspec into xml
37
+ * Added support for mock requests to parse xml
38
+ * Added have_event_handlers matcher
39
+ * Adding be_animated matcher
40
+ * Add option "disableColors" to disable coloring in terminal reporter
41
+
42
+ 4.1.0 / 2010-03-25
43
+ ==================
44
+
45
+ * Added jspec.nodejs.js - have_prototype matcher
46
+ * Added jspec.nodejs.js - have_keys matcher
47
+ * Added jspec.nodejs.js - have_configurable_property matcher
48
+ * Added jspec.nodejs.js - have_writable_property matcher
49
+ * Added jspec.nodejs.js
50
+ * Remove unused error() method
51
+
52
+ 4.0.0 / 2010-03-22
53
+ ==================
54
+
55
+ * Added json_fixture(). Closes #157
56
+
57
+ * Added swalke16 to contrib list (shared behavior fixes)
58
+
59
+ * Added shared_behaviors_for() for shared behavior support.
60
+ This is essentially a Suite instance, however the shared
61
+ behavior itself is no longer executed, only suites which use
62
+ should_behave_like().
63
+
64
+ * Added before_nested / after_nested for legacy support.
65
+ These hooks function just as before / after did < 4.0.0,
66
+ where they will execute once per nested suite as well.
67
+
68
+ * Changed; before / after are now executed ONLY once, not
69
+ when a nested suite is running. Use before_nested / after_nested
70
+ if you wish to re-gain this functionality.
71
+
72
+ * Removed JSpec.error()
73
+
74
+ 3.3.3 / 2010-03-15
75
+ ==================
76
+
77
+ * Added nodejs template. use --node
78
+
79
+ 3.3.2 / 2010-02-25
80
+ ==================
81
+
82
+ * Fixed; output bug with shared behaviors
83
+
84
+ 3.3.1 / 2010-02-22
85
+ ==================
86
+
87
+ * Added have_any matcher
88
+ * Fixed; using readFileSync for node.js support
89
+
90
+ 3.3.0 / 2010-02-16
91
+ ==================
92
+
93
+ * Added support for Chrome on Linux [alex-bepple]
94
+ * Added node.js support in core, no longer has node-specific code in template
95
+ * Fixed linux Default browser support, use 'xdg-open' [alex-bepple]
96
+ * Fixed lastRequest global
97
+ * Removed Console reporter. Closes #142
98
+
99
+ 3.2.1 / 2010-02-02
100
+ ==================
101
+
102
+ * Fixed JRuby compatibility; Look up host in a JRuby-compatible way.
103
+
104
+ 3.2.0 / 2010-01-27
105
+ ==================
106
+
107
+ * Added support for running specs in WebKit nightlies.
108
+ * Fixed bug in dom.html templates that was incorrectly passing options to report() rather than run().
109
+
110
+ 3.1.3 / 2010-01-14
111
+ ==================
112
+
113
+ * Fixed node.js template which was missing fixturePath option. Closes #131
114
+ * Fixed some stray globals
115
+
116
+ 3.1.2 / 2010-01-14
117
+ ==================
118
+
119
+ * Changed dependency; commander 4.0.1 for JRuby support
120
+ * Fixed rails init issue with node.js. Closes #135
121
+ * Fixed bin specs
122
+
123
+ 3.1.1 / 2010-01-14
124
+ ==================
125
+
126
+ * Fixed include matcher substring matching regexp issue. Closes #132
127
+
128
+ 3.1.0 / 2010-01-05
129
+ ==================
130
+
131
+ * Added --node (works just like --rhino)
132
+ * Added Node.js support [#114]
133
+ * Fixed markdown < > chars in Readme.md
134
+
135
+ 3.0.0 / 2010-01-04
136
+ ==================
137
+
138
+ * Added JSpec.equal() replacing hash()
139
+ * Added Rhino's .jar to JSpec so that users do not need to install it
140
+ * Added specs for receive matcher negation with times [#150]
141
+ * Added fixturePath option to let JSpec know where your fixtures live
142
+ * Added `jspec stats`
143
+ * Added lastRequest() / last_request() helper [#58]
144
+ * Added jspec.xhr.js in templates by default [#44]
145
+ * Added jspec subcommand hooks; checks for spec/commands/*_command.rb [#38]
146
+ * Added circular reference printing support now shown as { foo: "bar", self: &lt;circular reference&gt; }
147
+ * Added install sub-command with support for jquery, jqueryui, prototype, mootools, dojo, envjs, and rhino
148
+ * Added update support for --freeze / --symlink [#34]
149
+ * Changed; defaulting browsers using system calls [#104]
150
+ * Changed; using json_pure gem instead of json to prevent c extension requirements
151
+ * Changed argumentsToArray() -> toArray() [#62]
152
+ * Changed formatter to reporter [#6]
153
+ * Changed project templates to a newer cleaner format with markdown files, and better structure
154
+ * Changed; Rails is now detected when using `jspec init` --rails is no longer required
155
+ * Changed; Major refactor of the `jspec` executable and all Ruby
156
+ * Changed; Ruby server re-written using Sinatra
157
+ * Removed JSpec.hash()
158
+ * Removed JSpec.paramsFor()
159
+ * Removed profiling [#85]
160
+ * Removed module contexts [#72]
161
+ * Fixed --rhino from exiting using --bind [#111]
162
+ * Fixed sprite spacing when several failure messages are shown [#90]
163
+ * Fixed receive matcher negation issue with the number of times called [#150]
164
+ * Fixed #send_file override; no-cache [#93]
165
+ * Fixed most css issues in IE8 [#71]
166
+ * Fixed "Access is denied" error in IE
167
+ * Fixed __END__
168
+ * Fixed; inverted core specifications (mock_it()) for easier contribution
169
+
170
+ 2.11.13 / 2009-11-22
171
+ --------------------
172
+
173
+ * Fixed dom template root replacement
174
+ * Added Tobias Svensson to contributor list
175
+
176
+ 2.11.12 / 2009-11-12
177
+ --------------------
178
+
179
+ * Changed; DOM formatter displaying several failure messages when present [#89]
180
+ * Changed; displaying multiple error messages for Terminal formatter
181
+ * Updated mock timers to 1.0.2
182
+ * Fixed receive matcher negation issue with the number of times called [#150]
183
+
184
+ 2.11.11 / 2009-10-23
185
+ --------------------
186
+
187
+ * Added cheat sheet install docs
188
+ * Added Google Group link
189
+ * Added sarah to contrib list
190
+ * Changed Terminal formatter's java.lang.System.exit() -> quit()
191
+ * Removed unnecessary flags from several regexps
192
+ * Fixed DOM paths when using --freeze [#88]
193
+ * Fixed __END__
194
+
195
+ 2.11.10 / 2009-10-19
196
+ --------------------
197
+
198
+ * Fixed exit status with Terminal reporter [#77] [thanks darxriggs for reporting]
199
+ This is now fixed when using `jspec run --rhino` as well as `java -jar js.jar spec/spec.rhino.js`.
200
+
201
+ 2.11.9 / 2009-10-16
202
+ -------------------
203
+
204
+ * Fixed puts() with jQuery instance without .selector should output outerHTML, not innerHTML
205
+ * Fixed some specs breaking when using Env.js
206
+ * Fixed Env.js support
207
+
208
+ 2.11.8 / 2009-10-16
209
+ -------------------
210
+
211
+ * Fixed newline support in grammar (supports \r\n, \n, \r)
212
+ * Fixed tabs in grammar [#11]
213
+
214
+ 2.11.7 / 2009-10-15
215
+ -------------------
216
+
217
+ * Fixed minor grammar issues for windows users [thanks Tony]
218
+ * Fixes installation issue when XCode is not present; changed dependency json -> json_pure [thanks esbie]
219
+ * Fixed Chrome#visit; latest builds of Chrome for the mac are now "Google Chrome"
220
+
221
+ 2.11.6 / 2009-10-12
222
+ -------------------
223
+
224
+ * Added Tony to contributor list
225
+ * Removed JSpec.paramsFor()
226
+ * Removed module contexts [#72]
227
+ * Fixed some css styling issues in IE8 [#71]
228
+ * Fixed; DOM formatter supporting \r\n \r \n for EOL in the body source [Thanks Tony]
229
+ * Fixed "Access is denied" error in IE
230
+ * Fixed some css support for older browsers [Thanks Tony]
231
+
232
+ 2.11.5 / 2009-10-10
233
+ -------------------
234
+
235
+ * Fixed dependencies (created by github's gem builder removal)
236
+
237
+ 2.11.4 / 2009-10-10
238
+ -------------------
239
+
240
+ * Updated installation docs
241
+ * Removed namespaced dependencies (thanks alot github...)
242
+
243
+ 2.11.3 / 2009-09-30
244
+ -------------------
245
+
246
+ * Updated to mock timers 1.0.1
247
+ fixes an issue where setTimeout(function(){}, 0); tick(100) is never called
248
+
249
+ 2.11.2 / 2009-09-21
250
+ -------------------
251
+
252
+ * Fixed example path in rails template
253
+
254
+ 2.11.1 / 2009-09-10
255
+ -------------------
256
+
257
+ * Fixed JSpec root when using --symlink, --freeze [#36]
258
+ * Added __END__ to the grammar (works like Ruby's __END__)
259
+
260
+ 2.11.0 / 2009-09-04
261
+ -------------------
262
+
263
+ * Added --symlink switch (links the current version of JSpec to ./spec/lib) [#4]
264
+ * Added --freeze switch (copies the current version of JSpec to ./spec/lib) [#4]
265
+
266
+ 2.10.1 / 2009-09-02
267
+ -------------------
268
+
269
+ * Added `jspec shell` sub command (interactive Rhino shell through JSpec)
270
+ * Added jspec.shell.js
271
+
272
+ 2.10.0 / 2009-08-27
273
+ -------------------
274
+
275
+ * Added Async support via mock timers (lib/jspec.timers.js) [#19]
276
+ * IRC channel up and running! irc://irc.freenode.net#jspec
277
+
278
+ 2.9.1 / 2009-08-21
279
+ ------------------
280
+
281
+ * Added module support for formatters
282
+
283
+ 2.9.0 / 2009-08-21
284
+ ------------------
285
+
286
+ * Server output matching Rhino when using verbose or failuresOnly options
287
+ * Added mock_request() and unmock_request() as aliases for mockRequest() and unmockRequest()
288
+ * Added JSpec.JSON.encode()
289
+ * Added default Sinatra routes /slow/NUMBER and /status/NUMBER for simulating
290
+ slow reponses and HTTP status codes.
291
+ * Added server support for loading spec/jspec.rb (or jspec/jspec.rb for rails)
292
+ Allowing additional browser support to be plugged in, as well as Sinatra routes.
293
+ * Added dependency for Sinatra (new server)
294
+ * Added a new Ruby server
295
+ * Added support for --bind and --server on various platforms
296
+ * Added Google Chrome support
297
+ * Added Internet Explorer support
298
+ * Change; --server without --browsers defaults to all supported browsers
299
+ * Removed JSpec.reportToServer()
300
+ Now utilizes JSpec.formatters.Server to handle this
301
+ functionality.
302
+ * Fixed Server output escaping (removed html escaping from puts()) [#13]
303
+ * Fixed JSpec.load(); returns responseText when 2xx or 0 (for file://)
304
+
305
+ 2.8.4 / 2009-08-02
306
+ ------------------
307
+
308
+ * Fixed error thrown when a module has no utilities
309
+
310
+ 2.8.3 / 2009-07-30
311
+ ------------------
312
+
313
+ * Added JSpec.evalHook()
314
+ * Added JSpec.paramsFor()
315
+ * Refactored jspec.xhr.js
316
+ * Fixed mock xhr HEAD method
317
+ * Fixed node.js print() newline issue
318
+ * Fixed specs preventing spec/spec.node.js from running
319
+
320
+ 2.8.2 / 2009-07-29
321
+ ------------------
322
+
323
+ * Added JSpec.tryLoading()
324
+ * Added JSpec.request used to reference the original XMLHttpRequest; used to fix [#149]
325
+ * Fixed Mock XHR issue messing up JSpec request related utilities such as fixture() [#149]
326
+
327
+ 2.8.1 / 2009-07-27
328
+ ------------------
329
+
330
+ * Added Lawrence Pit as a contributor
331
+ * Fixed object hash equality [#146]
332
+ { a : '1', b : '2' } is now the same as:
333
+ { b : '2', a : '1' }
334
+
335
+ 2.8.0 / 2009-07-27
336
+ ------------------
337
+
338
+ * Give readFile precendence over xhr so that fixtures work with mockRequest when using Rhino
339
+ * Give XMLHttpRequest precedence over microsoft crap
340
+ * Added Mock Ajax Support
341
+ * Added mockRequest(), unmockRequest() utilities
342
+ * Added jspec.xhr.js
343
+ * Fixed be_visible, and be_hidden. Now implement the jQuery <= 1.3.1 method
344
+
345
+ 2.7.2 / 2009-07-24
346
+ ------------------
347
+
348
+ * Fixed "end" in spec bodies when using the grammar
349
+ * Fixed "it" in spec bodies when using the grammar [#142]
350
+ * Changed; HTML entities in descriptions are now escaped for DOM formatter [#141]
351
+ * Added enno84@gmx.net as a contributor (thanks for the bug reports)
352
+
353
+ 2.7.1 / 2009-07-17
354
+ ------------------
355
+
356
+ * Changed; hash() now accepts null
357
+ * Fixed should_receive issue with validating boolean args or return values
358
+ * Fixed --server-only switch
359
+ * Fixed jQuery dependency error message when jQuery is not available
360
+ when using jspec.jquery.js
361
+
362
+ 2.7.0 / 2009-07-14
363
+ ------------------
364
+
365
+ * Added fixture() utility function
366
+ * Templates initialize with example paths to lib
367
+
368
+ 2.6.0 / 2009-07-09
369
+ ------------------
370
+
371
+ * Added Ruby on Rails support
372
+ * Added exporting of JSpec (node.js etc)
373
+ * Added be_undefined matcher [#134]
374
+
375
+ 2.5.1 / 2009-07-07
376
+ ------------------
377
+
378
+ * Added intermediate node.js support
379
+ * Fixed; grammar now allows foo.bar.baz.stub() etc to convert to stub(foo.bar.baz)
380
+
381
+ 2.5.0 / 2009-07-03
382
+ ------------------
383
+
384
+ * Added contrib in README (thanks to anyone who has helped)
385
+ * Added more shared behavior specs
386
+ * Added Module.DSLs support for extending / adding new DSLs (DSL exchange not yet fully implemented)
387
+ * Added spec to make sure methods like end() will not fail due to the grammar
388
+ * Changed; giving hook precedence to suite hooks (before_each, etc) over module hooks (beforeSuite, etc) ; (thanks mpd)
389
+ * Changed; calls to stub() without and_return() now simply stub an arbitrary method with no return value
390
+ * Changed JSpec.include(); now returns JSpec allowing chaining
391
+ * Fixed having "end" in descriptions which would be replaced with '});'
392
+ * Fixed negation of should.receive('foo') matcher
393
+ * Fixed shared behavior assertion count issue
394
+
395
+ 2.4.3 / 2009-07-02
396
+ ------------------
397
+
398
+ * Fixed matcher semicolon matcher issue when using the JSpec grammar
399
+ * Added pass() util; Spec#pass() and Spec#fail() (thanks gisikw)
400
+ * Removing Object.prototype.stubby() after specs are finished to prevent pollution
401
+
402
+ 2.4.2 / 2009-06-30
403
+ ------------------
404
+
405
+ * Fixed trailing comma (thanks Kevin)
406
+
407
+ 2.4.1 / 2009-06-30
408
+ ------------------
409
+
410
+ * Moved beforeSpec and afterSpec hook into proper positions
411
+ allowing for additional assertions within afterSpec.
412
+
413
+ 2.4.0 / 2009-06-30
414
+ ------------------
415
+
416
+ * Added hook() and hookImmutable()
417
+ * Added support for matcher lists ('be enabled disabled selected') == be_enabled, be_disabled etc
418
+ * Added JSpec.include()
419
+ * Added several hooks
420
+ * Added Module support
421
+ * Added grammar conversion of Foo.stub('method') to stub(Foo, 'method')
422
+ * Added grammar conversion of Foo.destub() to destub(Foo)
423
+ * Require bind gem
424
+ * Fixed `jspec` bin docs
425
+
426
+ 2.3.1 / 2009-06-25
427
+ ------------------
428
+
429
+ * Fixed; all stubs generated with stub() are restored
430
+ to their original methods after each 'it' block. See
431
+ README for details.
432
+
433
+ 2.3.0 / 2009-06-25
434
+ ------------------
435
+
436
+ * Added stub()
437
+ * Added destub()
438
+ * Changed; Server responses utilize Rack::Mime now for arbitrary requests
439
+
440
+ 2.2.1 / 2009-06-22
441
+ ------------------
442
+
443
+ * Changed; reportToServer() now accepts url arg
444
+
445
+ * Fixed be_empty matcher; now considers {} empty, however { foo : bar } is not
446
+ * Fixed throw_error error messages for Opera
447
+ * Fixed throw_error in Rhino (Opera is broken now)
448
+ * Fixed stray console.log() call
449
+
450
+ * Fixed some tab issues.
451
+ When using the JSpec grammar option you should
452
+ use the 'soft tabs' feature of your IDE or text editor.
453
+ A patch for tabs is pending and should be available soon,
454
+ however be aware that a 'parse error' may occur otherwise.
455
+
456
+ 2.2.0 / 2009-06-18
457
+ ------------------
458
+
459
+ * Added link to JSpec in JSMag June 2009
460
+ * Added Github gem source location to docs
461
+ * Changed throw_error matcher; now accepts two arguments
462
+ * Changed --server; serves from current working directory.
463
+ This allows files in ../lib/ * to be served rather than ./spec/ * only.
464
+ * Refactored argumentsToArray()
465
+
466
+ 2.1.0 / 2009-06-12
467
+ ------------------
468
+
469
+ * Changed `jspec init` to utilize a single template
470
+ which allows for all three suite running capabilities
471
+ within a single template. Now after initializing a
472
+ project you may `jspec run --server`, `jspec run --rhino`
473
+ etc at any time without modifications.
474
+
475
+ 2.0.3 / 2009-05-15
476
+ ------------------
477
+
478
+ * Table should span full width
479
+ (Very week release I know, but improperly styled things bug me :) )
480
+
481
+ 2.0.2 / 2009-05-11
482
+ ------------------
483
+
484
+ * Added rails integration link http://github.com/bhauman/jspec-rails
485
+ * Changed; puts() now displays constructor name when available
486
+ * Fixed Terminal output which was not displaying due to a recent commit
487
+ * fixed IE bug : DOM elements don't have valueOf() method
488
+
489
+ 2.0.1 / 2009-05-01
490
+ ------------------
491
+
492
+ * Added better failure messages for throw_error matcher
493
+ * Renamed print() to puts() [#108]
494
+
495
+ 2.0.0 / 2009-04-27
496
+ ------------------
497
+
498
+ * Added DOM loading indicator [#105]
499
+ * Added wait() helper for additional async support
500
+ * Added shared behavior support using should_behave_like('Another Suite')
501
+ * Added CSS body toggling [#1]
502
+ * Added receive matcher for Proxy Assertins
503
+ * Added grammar-less support
504
+ * Added an_instance_of() helper
505
+ * Removed .this literal
506
+ * Removed deprecated be_a_TYPE_input matchers
507
+
508
+ * Added ProxyAssertion
509
+ * Added select() util
510
+ * Added does() util for report-less assertions
511
+ * Added find() util
512
+ * Added JSpec.contentsOf()
513
+ * Added matchers to body evaluation [#90]
514
+
515
+ 1.1.7 / 2009-04-22
516
+ ------------------
517
+
518
+ * Removed trailing commas causing issues with IE (what a suprise ;) )
519
+
520
+ 1.1.6 / 2009-04-22
521
+ ------------------
522
+
523
+ * Fixed typo in requires()
524
+ * Added expect()
525
+
526
+ 1.1.5 / 2009-04-17
527
+ ------------------
528
+
529
+ * Strengthened specs for cascading hooks
530
+ * Fixed cascading hooks
531
+
532
+ 1.1.4 / 2009-04-17
533
+ ------------------
534
+
535
+ * Added rhino and server template files
536
+ * Added JSpec.hasXhr()
537
+ * Added JSpec.xhr()
538
+ * Added Ruby javascript testing server
539
+ * Added support for options passed to run()
540
+ * Added failuresOnly for Terminal formatter
541
+ * Added terminal assertion graphs
542
+ * Addec color() utility
543
+ * Added main.puts() since we use print() as a utility
544
+ * Added rhino support
545
+ * Added fail() utility function
546
+ * Added JSpec.Assertion
547
+ * Added normalizeMatcherMessage()
548
+ * Added normalizeMatcherBody()
549
+ * Added have_classes [#19]
550
+ * Added extend() utility
551
+ * Added be_an_instance_of matcher
552
+ * Added constructor checking support for throw_error matcher [#72]
553
+ * Added file support for exception messages, making them much easier to debug
554
+ * Added catching of exceptions throw within specs [#46]
555
+ * Changed; executable aborts when template does not exist
556
+ * Changed; matchers now normalized upon creation, accepts function, hash, or string.
557
+ * Changed be() matcher to be strict [#57]
558
+ * Changed error() to conditionally show line number when available
559
+ * Renamed Jspec.addSuite to JSpec.describe and Suite#addSpec to Suite#it
560
+ * Refactored be_a_TYPE_input matchers so that the deprication warning is logged only when calling the method
561
+ * Fixed JSpec.requires() now works with latest version of JSpec.error()
562
+ * Fixed error() now displays exceptions throw that do not respond to .message
563
+ * Fixed commenting bug [#37]
564
+ * Removed JSpec.main, now just using local main
565
+
566
+ 1.1.3 / 2009-04-14
567
+ ------------------
568
+
569
+ * Removed /test used for the executable, causing gem to fail building
570
+
571
+ 1.1.2 / 2009-04-14
572
+ ------------------
573
+
574
+ * Added `jspec update` sub-command [#63]
575
+
576
+ 1.1.1 / 2009-04-12
577
+ ------------------
578
+
579
+ * Added gemspec
580
+
581
+ 1.1.0 / 2009-04-12
582
+ ------------------
583
+
584
+ * jspec executable fully functional
585
+
586
+ 1.0.4 / 2009-04-09
587
+ ------------------
588
+
589
+ * Added `jspec bind`
590
+ * Added `jspec run`
591
+ * Added `jspec init`
592
+ * Added `jspec` executable
593
+ * Added gemspec and manifest
594
+ * Added command-line usage docs
595
+ * Added custom matchers documentation
596
+ * Removed double negation
597
+
598
+ 1.0.3 / 2009-04-08
599
+ ------------------
600
+
601
+ * Added have_prop matcher, have_property is now strict [#56]
602
+
603
+ 1.0.2 / 2009-04-08
604
+ ------------------
605
+
606
+ * Added be_selected, be_checked matchers
607
+ * Added string support to each() each('some foo bar', ...)
608
+ * Added have_ATTR matchers [#51]
609
+ * Deprected be_a_TYPE_input matchers [#50]
610
+
611
+ 1.0.1 / 2009-04-07
612
+ ------------------
613
+
614
+ * Added have_property matcher [#53]
615
+
616
+ 1.0.0 / 2009-04-06
617
+ ------------------
618
+
619
+ * Added option() which gives the query string option precedence [#39]
620
+ * Changed; Using JSpec.options.formatter not JSpec.formatter [#44]
621
+ * Fixed Console formatter, now displays nested suites
622
+ * Check out http://visionmedia.github.com/jspec for additional documentation!
623
+
624
+ 0.9.6 / 2009-04-03
625
+ ------------------
626
+
627
+ * Added nesting support
628
+ * Added printing of nested specs
629
+ * Added assertion graphs to DOM formatter
630
+ * Refactored preprocess()
631
+ * Refactored most of the specs
632
+ * Renamed preProcess() to preprocess()
633
+ * Removed running of a single suite via ?suite= for now
634
+
635
+ 0.9.5 / 2009-04-02
636
+ ------------------
637
+
638
+ * Added support for printing of function bodies and regexps [#27]
639
+ * Added support for strings / regexp with should_throw_error [#26]
640
+ * Added have_within matcher
641
+ * Added have_at_most matcher
642
+ * Added have_at_least matcher
643
+ * Added have matcher [#24]
644
+
645
+ 0.9.4 / 2009-04-02
646
+ ------------------
647
+
648
+ * Added be_a_TYPE_input matchers (be_a_checkbox_input, be_a_text_input, etc)
649
+ * Added be_disabled matcher [#21]
650
+ * Added be_enabled matcher [#20]
651
+ * Refactored be_visible and be_hidden with $(elem).is()
652
+
653
+ 0.9.2 / 2009-04-02
654
+ ------------------
655
+
656
+ * Added support for multi-arg failure messages [#2]
657
+ * Better printing of jQuery objects [#15]
658
+
659
+ 0.9.1 / 2009-04-02
660
+ ------------------
661
+
662
+ * Added support for dotted negation of assertions (foo.should.not.equal bar)
663
+ * Added support for dot-style assertions [#17] (foo.should_not.equal bar)
664
+
665
+ 0.9.0 / 2009-04-01
666
+ ------------------
667
+
668
+ * Added spec for strip()
669
+ * Added strip()
670
+ * Added any() util
671
+ * Added new improved include matcher
672
+ * Added have_many and have_one matchers
673
+ * Added have_attr matcher [#14]
674
+ * Added map() util
675
+ * Added inject() util
676
+ * Added escape() util
677
+ * Added recursive array and object printing
678
+ * Added DOM formatter option failuresOnly
679
+ * Added support for running of a single squite via ?suite=...
680
+ * Added query() util
681
+ * Added last() util
682
+ * Added be_within matcher, accepts a range literal
683
+ * Added inclusive range literal n..n
684
+ * Added row hover
685
+ * Refactored range()
686
+ * Refactored setMessage()
687
+ * Refactored hash()
688
+ * Changed; preprocessor passing array of args (multi-arg matcher support)
689
+ * Changed jQuery to $ for internal usage
690
+
691
+ 0.8.0 / 2009-02-27
692
+ ------------------
693
+
694
+ * Added a new style for the DOM formatter (not finished yet)
695
+
696
+ 0.7.0 / 2009-02-27
697
+ ------------------
698
+
699
+ * Added Console formatter (anything implementing the console object. Firebug, Safari 4, etc)
700
+ * Added JSpec.options.profile for optional profiling of specs
701
+ * Added this. literal alternative (view readme)
702
+ * Moved formatters into JSpec.formatters
703
+ * Added error() util
704
+ * Added savings raketask
705
+ * Fixed parse error bug in Safari 4
706
+
707
+ 0.6.3 / 2009-02-26
708
+ ------------------
709
+
710
+ * Added minification for jspec.jquery.js when packaging before release
711
+ * Added compression of css when packaging before release
712
+
713
+ 0.6.2 / 2009-02-26
714
+ ------------------
715
+
716
+ * Changed; using $ in jspec.jquery.js for JSpec, take that jQuery ;)
717
+ * Added addMatchers, print, hash, and each as 'utility functions' this allows
718
+ JSpec to do each(...) internally instead of JSpec.each(...), while still preventing
719
+ pollution of the global scope.
720
+
721
+ 0.6.1 / 2009-02-26
722
+ ------------------
723
+
724
+ * Added closrue literal -{ (view README)
725
+ * Added option to DOM formatter, now allows you to specify which element id to output to
726
+
727
+ 0.6.0 / 2009-02-24
728
+ ------------------
729
+
730
+ * Added JSpec.hash
731
+ * Added be_null matcher
732
+ * Allow recursive composite matching using should_eql and should_not_eql
733
+ For example [1, 2, [3]].should_eql([1, 2, [3]]) is true, works with object
734
+ 'hashes' as well.
735
+
736
+ 0.5.1 / 2009-02-24
737
+ ------------------
738
+
739
+ * Damn auto-release messed up
740
+
741
+ 0.5.0 / 2009-02-24
742
+ ------------------
743
+
744
+ * Added async support for jQuery
745
+ * Added JSpec.requires for dependencies
746
+ * Added JSpec.throw
747
+ * Added JSpec.runSpec
748
+ * Refactored jspec.jquery.js
749
+ * Fixed evalBody exceptions, previously was not showing exception message
750
+ * Fixed bug of JSpec interpreting // in a string such as http:// to be a comment.
751
+
752
+ 0.4.1 / 2009-02-22
753
+ ------------------
754
+
755
+ * Added elements() alias of element()
756
+ * Added support for string passed to runSuite; runSuite('Matchers') is the same as
757
+ runSuite(JSpec.suites['Matchers']).
758
+ * Fixed some documentation
759
+
760
+ 0.4.0 / 2009-02-20
761
+ ------------------
762
+
763
+ * Added comment literal (//)
764
+ * Added pre-processor for convering matchers.
765
+ For example 'test'.should_be_true becomes JSpec.match('test', 'should_be', 'true'),
766
+ preventing pollution of core prototypes.
767
+
768
+ 0.3.2 / 2009-02-19
769
+ ------------------
770
+
771
+ * Added TM bundle (go checkout my jspec.tmbundle repo on github)
772
+ * Renamed have_length_of to have_length
773
+
774
+ 0.3.1 / 2009-02-19
775
+ ------------------
776
+
777
+ * Added jquery js to package
778
+
779
+ 0.3.0 / 2009-02-19
780
+ ------------------
781
+
782
+ * Added JSpec.match
783
+ * Added options to report() which are passed to formatter
784
+ * Added sandbox helpers (reg / jquery)
785
+ * Added have_child and have_children
786
+ * Added have_tag and have_tags
787
+ * Changed exec to only load / eval file
788
+ * Fixed parser token issue, was previously matching things like end() as literal end
789
+
790
+ 0.2.3 / 2009-02-18
791
+ ------------------
792
+
793
+ * Changed test dir to spec
794
+ * Changed test.js to core.spec.js
795
+
796
+ 0.2.2 / 2009-02-18
797
+ ------------------
798
+
799
+ * Added contexts
800
+
801
+ 0.2.0 / 2009-02-18
802
+ ------------------
803
+
804
+ * Added release rake task
805
+ * Added package with minified alternative
806
+
807
+ 0.1.0 / 2009-02-18
808
+ ------------------
809
+
810
+ * Added new sexy syntax (warning: you will have to re-write your specs)
811
+ * Added pre-processor for optional matcher parens
812
+ * Added several new matchers
813
+ * Added matcher aliasing
814
+ * Added simple matcher declarations
815
+ * Added __END__
816
+ * Added yet-to-be-implemented specs
817
+ * Added loading of suites via JSpec.load
818
+
819
+ 0.0.4 / 2008-11-03
820
+ ------------------
821
+
822
+ * Added ability to pass only a description to it(), meaning not yet implemented
823
+
824
+ 0.0.3 / 2008-10-28
825
+ ------------------
826
+
827
+ * Added should_fail
828
+ * Added should_match
829
+ * Added should_not_match
830
+ * Added should_be and should_not_be
831
+
832
+ 0.0.2 / 2008-10-28
833
+ ------------------
834
+
835
+ * Fixed typo in documentation for pointing to the master repo
836
+
837
+ 0.0.1 / 2008-10-28
838
+ ------------------
839
+
840
+ * Initial release