jspec-steventux 3.3.2

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