testplan 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -0
- data/lib/tasks/testplan.rake +0 -1
- data/lib/testplan/version.rb +1 -1
- data/lib/testplan.rb +19 -0
- data/testplan.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4231b14121755a71e4103cb9360ac81169ab4170
|
4
|
+
data.tar.gz: 407d1ae5ab9de3ca0c29b34d40abd076110aab12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e25bcdb0f36cf70efce08746751efb200c627647968481e5edebf8634ec736e9e1e1d2e2c17ff092e27a60eb3b98526a0ab2b1f3af5a32938a7c46d49ad1ddd5
|
7
|
+
data.tar.gz: 4526196c296e83e5108335abf67f51f127645eb11f64179a83e21202ca684d445f9357c25f9259fc84b68f1332d725c7fdf20d806de038242cf761d6daaa5a29
|
data/CHANGELOG.md
CHANGED
data/lib/tasks/testplan.rake
CHANGED
data/lib/testplan/version.rb
CHANGED
data/lib/testplan.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require "testplan/version"
|
2
|
+
require 'rbconfig'
|
2
3
|
require 'rspec/core/rake_task'
|
3
4
|
require 'date'
|
4
5
|
require 'yaml'
|
@@ -70,6 +71,15 @@ module Testplan
|
|
70
71
|
end
|
71
72
|
|
72
73
|
def self.make_env_string(envarr)
|
74
|
+
case RbConfig::CONFIG['host_os']
|
75
|
+
when /mswin|msys|mingw|cygwin|bccwin|wince|emc/
|
76
|
+
envstring = make_env_string_win(envarr)
|
77
|
+
else
|
78
|
+
envstring = make_env_string_unix(envarr)
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
def self.make_env_string_unix(envarr)
|
73
83
|
envstr=''
|
74
84
|
envarr.each do | varname,varvalue|
|
75
85
|
envstr+= "#{varname.upcase}='#{varvalue}' "
|
@@ -77,6 +87,15 @@ module Testplan
|
|
77
87
|
return envstr
|
78
88
|
end
|
79
89
|
|
90
|
+
def self.make_env_string_win(envarr)
|
91
|
+
envstr=''
|
92
|
+
envarr.each do | varname,varvalue|
|
93
|
+
envstr+= "set #{varname.upcase}=#{varvalue} &"
|
94
|
+
end
|
95
|
+
return envstr
|
96
|
+
end
|
97
|
+
|
98
|
+
|
80
99
|
end
|
81
100
|
end
|
82
101
|
|
data/testplan.gemspec
CHANGED
@@ -21,6 +21,6 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.add_development_dependency "bundler", "~> 1.7"
|
22
22
|
spec.add_runtime_dependency "rake", "~> 10.0"
|
23
23
|
spec.add_runtime_dependency "thor", "~> 0.19"
|
24
|
-
spec.add_runtime_dependency "rspec", "~> 3
|
24
|
+
spec.add_runtime_dependency "rspec", "~> 3"
|
25
25
|
spec.add_runtime_dependency "rspec_testlink_formatters", "~> 0"
|
26
26
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: testplan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pim Snel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '3
|
61
|
+
version: '3'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '3
|
68
|
+
version: '3'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec_testlink_formatters
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|