jspec 3.2.0 → 3.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/History.md CHANGED
@@ -1,4 +1,9 @@
1
1
 
2
+ 3.2.1 / 2010-02-02
3
+ ==================
4
+
5
+ * Fixed JRuby compatibility; Look up host in a JRuby-compatible way.
6
+
2
7
  3.2.0 / 2010-01-27
3
8
  ==================
4
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, '3.2.0'
15
+ program :version, '3.2.1'
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 = "3.2.0"
5
+ s.version = "3.2.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{2010-01-27}
9
+ s.date = %q{2010-02-02}
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 : '3.2.0',
7
+ version : '3.2.1',
8
8
  assert : true,
9
9
  cache : {},
10
10
  suites : [],
data/src/browsers.rb CHANGED
@@ -50,7 +50,7 @@ class Browser
50
50
  # Host environment.
51
51
 
52
52
  def host
53
- Config::CONFIG['host']
53
+ Config::CONFIG['host_os']
54
54
  end
55
55
 
56
56
  ##
@@ -64,7 +64,7 @@ class Browser
64
64
  # Check if we are using windows.
65
65
 
66
66
  def windows?
67
- host.include? 'mswin'
67
+ host =~ /mswin|mingw/
68
68
  end
69
69
 
70
70
  ##
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: 3.2.0
4
+ version: 3.2.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: 2010-01-27 00:00:00 -08:00
12
+ date: 2010-02-02 00:00:00 -08:00
13
13
  default_executable: jspec
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency