jspec 2.11.12 → 2.11.13

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.13 / 2009-11-22
3
+
4
+ * Fixed dom template root replacement
5
+ * Added Tobias Svensson to contributor list
6
+
2
7
  === 2.11.12 / 2009-11-12
3
8
 
4
9
  * Changed; DOM formatter displaying several failure messages when present [#89]
data/README.rdoc CHANGED
@@ -812,6 +812,7 @@ JSpec more enjoyable, and bug free ;)
812
812
  * tony_t_tubbs@yahoo.com
813
813
  * enno84@gmx.net
814
814
  * fnando
815
+ * Tobias Svensson
815
816
 
816
817
  == License
817
818
 
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.12'
15
+ program :version, '2.11.13'
16
16
  program :description, 'JavaScript BDD Testing Framework'
17
17
  default_command :bind
18
18
 
@@ -259,7 +259,7 @@ def replace_root_in dest, *paths
259
259
  paths.each do |path|
260
260
  path = File.join dest, path
261
261
  if path.include? 'dom'
262
- contents = File.read(path).gsub 'JSPEC_ROOT/', ''
262
+ contents = File.read(path).gsub 'JSPEC_ROOT/', root == JSPEC_ROOT ? "#{JSPEC_ROOT}/" : ''
263
263
  else
264
264
  contents = File.read(path).gsub 'JSPEC_ROOT', root
265
265
  end
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.12"
5
+ s.version = "2.11.13"
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-11-12}
9
+ s.date = %q{2009-11-22}
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.12',
8
+ version : '2.11.13',
9
9
  cache : {},
10
10
  suites : [],
11
11
  modules : [],
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.12
4
+ version: 2.11.13
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-11-12 00:00:00 -08:00
12
+ date: 2009-11-22 00:00:00 -08:00
13
13
  default_executable: jspec
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency