jspec 2.11.9 → 2.11.10

Sign up to get free protection for your applications and to get access to all the features.
data/History.rdoc CHANGED
@@ -1,4 +1,9 @@
1
1
 
2
+ === 2.11.10 / 2009-10-19
3
+
4
+ * Fixed exit status with Terminal reporter [#77] [thanks darxriggs for reporting]
5
+ This is now fixed when using `jspec run --rhino` as well as `java -jar js.jar spec/spec.rhino.js`.
6
+
2
7
  === 2.11.9 / 2009-10-16
3
8
 
4
9
  * Fixed puts() with jQuery instance without .selector should output outerHTML, not innerHTML
data/README.rdoc CHANGED
@@ -780,6 +780,7 @@ your spec/server.rb file may support additional browsers.
780
780
  * Get the TextMate bundle at https://github.com/visionmedia/jspec.tmbundle/tree
781
781
  * For more information consult the JSpec source code documentation or visit http://visionmedia.github.com/jspec
782
782
  * jQuery + HTML fixture example http://gist.github.com/147831
783
+ * Follow 'tjholowaychuk' on twitter
783
784
 
784
785
  == Contributors
785
786
 
@@ -789,6 +790,7 @@ JSpec more enjoyable, and bug free ;)
789
790
 
790
791
  * Lawrence Pit
791
792
  * mpd@jesters-court.ne
793
+ * Sarah Brown
792
794
  * kevin.gisi@gmail.com
793
795
  * tony_t_tubbs@yahoo.com
794
796
  * enno84@gmx.net
data/bin/jspec CHANGED
@@ -12,7 +12,7 @@ require 'server/server'
12
12
  RHINO = 'java org.mozilla.javascript.tools.shell.Main'
13
13
 
14
14
  program :name, 'JSpec'
15
- program :version, '2.11.9'
15
+ program :version, '2.11.10'
16
16
  program :description, 'JavaScript BDD Testing Framework'
17
17
  default_command :bind
18
18
 
@@ -127,7 +127,7 @@ command :run do |c|
127
127
  # Actions
128
128
  if options.rhino
129
129
  suite = args.shift || path_to('spec.rhino.js')
130
- action = lambda { rhino suite }
130
+ action = lambda { exit rhino(suite) }
131
131
  elsif options.server
132
132
  raise 'Cannot use --server with --bind' if options.bind
133
133
  suite = args.shift || path_to('spec.server.html')
data/jspec.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{jspec}
5
- s.version = "2.11.9"
5
+ s.version = "2.11.10"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["TJ Holowaychuk"]
9
- s.date = %q{2009-10-16}
9
+ s.date = %q{2009-10-19}
10
10
  s.default_executable = %q{jspec}
11
11
  s.description = %q{JavaScript BDD Testing Framework}
12
12
  s.email = %q{tj@vision-media.ca}
data/lib/jspec.js CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  JSpec = {
7
7
 
8
- version : '2.11.9',
8
+ version : '2.11.10',
9
9
  cache : {},
10
10
  suites : [],
11
11
  modules : [],
@@ -201,6 +201,8 @@
201
201
  print("")
202
202
  }
203
203
  })
204
+
205
+ quit(results.stats.failures)
204
206
  },
205
207
 
206
208
  /**
data/spec/spec.rhino.js CHANGED
@@ -21,4 +21,3 @@ JSpec
21
21
  .exec('spec/spec.jquery.xhr.js')
22
22
  .run({ formatter: JSpec.formatters.Terminal, failuresOnly: true })
23
23
  .report()
24
-
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.11.9
4
+ version: 2.11.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - TJ Holowaychuk
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-10-16 00:00:00 -07:00
12
+ date: 2009-10-19 00:00:00 -07:00
13
13
  default_executable: jspec
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency