visionmedia-jspec 2.11.0 → 2.11.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.rdoc +5 -0
- data/bin/jspec +3 -3
- data/jspec.gemspec +2 -2
- data/lib/jspec.js +3 -2
- data/spec/spec.grammar.js +8 -0
- metadata +2 -2
data/History.rdoc
CHANGED
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.
|
15
|
+
program :version, '2.11.1'
|
16
16
|
program :description, 'JavaScript BDD Testing Framework'
|
17
17
|
default_command :bind
|
18
18
|
|
@@ -249,9 +249,9 @@ end
|
|
249
249
|
|
250
250
|
def replace_root_in dest, *paths
|
251
251
|
if rails? && File.exist?("#{dest}/jspec/lib")
|
252
|
-
root =
|
252
|
+
root = './jspec'
|
253
253
|
elsif File.exist?("#{dest}/spec/lib")
|
254
|
-
root = "
|
254
|
+
root = "./spec"
|
255
255
|
else
|
256
256
|
root = JSPEC_ROOT
|
257
257
|
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.
|
5
|
+
s.version = "2.11.1"
|
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-09-
|
9
|
+
s.date = %q{2009-09-10}
|
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.
|
8
|
+
version : '2.11.1',
|
9
9
|
cache : {},
|
10
10
|
suites : [],
|
11
11
|
modules : [],
|
@@ -1365,7 +1365,8 @@
|
|
1365
1365
|
replace(/\.should([_\.]not)?[_\.](\w+)(?: |;|$)(.*)$/gm, '.should$1_$2($3)').
|
1366
1366
|
replace(/([\/\s]*)(.+?)\.(should(?:[_\.]not)?)[_\.](\w+)\((.*)\)\s*;?$/gm, '$1 expect($2).$3($4, $5)').
|
1367
1367
|
replace(/, \)/gm, ')').
|
1368
|
-
replace(/should\.not/gm, 'should_not')
|
1368
|
+
replace(/should\.not/gm, 'should_not').
|
1369
|
+
replace(/__END__.*/m, '')
|
1369
1370
|
},
|
1370
1371
|
|
1371
1372
|
/**
|
data/spec/spec.grammar.js
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: visionmedia-jspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.11.
|
4
|
+
version: 2.11.1
|
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-09-
|
12
|
+
date: 2009-09-10 00:00:00 -07:00
|
13
13
|
default_executable: jspec
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|