jspec 4.3.1 → 4.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.md +6 -0
- data/bin/jspec +1 -1
- data/jspec.gemspec +2 -2
- data/lib/jspec.js +9 -5
- metadata +3 -3
data/History.md
CHANGED
data/bin/jspec
CHANGED
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 = "4.3.
|
5
|
+
s.version = "4.3.2"
|
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{2010-05-
|
9
|
+
s.date = %q{2010-05-30}
|
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
@@ -4,7 +4,7 @@
|
|
4
4
|
;(function(){
|
5
5
|
|
6
6
|
JSpec = {
|
7
|
-
version : '4.3.
|
7
|
+
version : '4.3.2',
|
8
8
|
assert : true,
|
9
9
|
cache : {},
|
10
10
|
suites : [],
|
@@ -1749,10 +1749,14 @@
|
|
1749
1749
|
|
1750
1750
|
// --- Node.js support
|
1751
1751
|
|
1752
|
-
if (typeof GLOBAL === 'object' && typeof exports === 'object')
|
1753
|
-
|
1754
|
-
|
1755
|
-
|
1752
|
+
if (typeof GLOBAL === 'object' && typeof exports === 'object') {
|
1753
|
+
var fs = require('fs')
|
1754
|
+
quit = process.exit
|
1755
|
+
print = require('sys').puts
|
1756
|
+
readFile = function(file){
|
1757
|
+
return fs.readFileSync(file).toString('utf8')
|
1758
|
+
}
|
1759
|
+
}
|
1756
1760
|
|
1757
1761
|
// --- Utility functions
|
1758
1762
|
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 4
|
7
7
|
- 3
|
8
|
-
-
|
9
|
-
version: 4.3.
|
8
|
+
- 2
|
9
|
+
version: 4.3.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- TJ Holowaychuk
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-05-
|
17
|
+
date: 2010-05-30 00:00:00 -07:00
|
18
18
|
default_executable: jspec
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|