jspec 4.3.1 → 4.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/History.md +6 -0
  2. data/bin/jspec +1 -1
  3. data/jspec.gemspec +2 -2
  4. data/lib/jspec.js +9 -5
  5. metadata +3 -3
data/History.md CHANGED
@@ -1,3 +1,9 @@
1
+
2
+ 4.3.2 / 2010-05-30
3
+ ==================
4
+
5
+ * Fixed nodejs support due to recent Buffer changes
6
+
1
7
  4.3.1 / 2010-05-04
2
8
  ==================
3
9
 
data/bin/jspec CHANGED
@@ -12,7 +12,7 @@ require 'src/installables'
12
12
  require 'src/server'
13
13
 
14
14
  program :name, 'JSpec'
15
- program :version, '4.3.0'
15
+ program :version, '4.3.2'
16
16
  program :description, 'JavaScript BDD Testing Framework'
17
17
  default_command :bind
18
18
 
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.1"
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-04}
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.1',
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
- quit = process.exit,
1754
- print = require('sys').puts,
1755
- readFile = require('fs').readFileSync
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
- - 1
9
- version: 4.3.1
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-04 00:00:00 -05:00
17
+ date: 2010-05-30 00:00:00 -07:00
18
18
  default_executable: jspec
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency