torquespec 0.4.6 → 0.4.7
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/lib/torquespec/torquespec.rb +6 -1
- data/lib/torquespec/version.rb +1 -1
- metadata +4 -4
|
@@ -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
|
data/lib/torquespec/version.rb
CHANGED
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:
|
|
4
|
+
hash: 1
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 4
|
|
9
|
-
-
|
|
10
|
-
version: 0.4.
|
|
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-
|
|
19
|
+
date: 2011-12-15 00:00:00 -05:00
|
|
20
20
|
default_executable:
|
|
21
21
|
dependencies:
|
|
22
22
|
- !ruby/object:Gem::Dependency
|