torquespec 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -47,12 +47,17 @@ module TorqueSpec
47
47
  end
48
48
  end
49
49
 
50
+ def self.on_windows?
51
+ java.lang::System.getProperty( "os.name" ) =~ /windows/i
52
+ end
53
+
54
+
50
55
  # A somewhat hackish way of exposing client-side gems to the server-side daemon
51
56
  def self.rubylib
52
57
  here = File.dirname(__FILE__)
53
58
  rspec_libs = Dir.glob(File.expand_path(File.join(here, "../../..", "*{rspec,diff-lcs}*/lib")))
54
59
  this_lib = File.expand_path(File.join(here, ".."))
55
- rspec_libs.unshift( this_lib ).join(":")
60
+ rspec_libs.unshift( this_lib ).join(on_windows? ? ";" : ":")
56
61
  end
57
62
 
58
63
  # We must initialize the daemon with the same params as passed to the client
@@ -1,3 +1,3 @@
1
1
  module TorqueSpec
2
- VERSION = "0.4.6"
2
+ VERSION = "0.4.7"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: torquespec
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
4
+ hash: 1
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 6
10
- version: 0.4.6
9
+ - 7
10
+ version: 0.4.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jim Crossley
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-11-16 00:00:00 -05:00
19
+ date: 2011-12-15 00:00:00 -05:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency