uispecrunner 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/uispecrunner/drivers/shell.rb +3 -3
- data/lib/uispecrunner/options.rb +2 -2
- data/uispecrunner.gemspec +4 -4
- metadata +11 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.3
|
@@ -11,12 +11,12 @@ class UISpecRunner
|
|
11
11
|
|
12
12
|
def run_specs(env)
|
13
13
|
if build_project!
|
14
|
-
run_env =
|
14
|
+
run_env = config.env.merge(env)
|
15
15
|
run_env.merge!('DYLD_ROOT_PATH' => sdk_dir, 'IPHONE_SIMULATOR_ROOT' => sdk_dir, 'CFFIXED_USER_HOME' => Dir.tmpdir)
|
16
|
-
puts "Setting environment variables: #{run_env.inspect}" if
|
16
|
+
puts "Setting environment variables: #{run_env.inspect}" if config.verbose?
|
17
17
|
with_env(run_env) do
|
18
18
|
start_securityd if config.securityd
|
19
|
-
command = "#{build_dir}/#{configuration}-iphonesimulator/#{target}.app/#{target} -RegisterForSystemEvents"
|
19
|
+
command = "#{config.build_dir}/#{config.configuration}-iphonesimulator/#{config.target}.app/#{config.target} -RegisterForSystemEvents"
|
20
20
|
puts "Executing: #{command}" if config.verbose?
|
21
21
|
output = `#{command}`
|
22
22
|
exit_code = $?
|
data/lib/uispecrunner/options.rb
CHANGED
@@ -18,7 +18,7 @@ class UISpecRunner
|
|
18
18
|
self[:configuration] = 'Debug'
|
19
19
|
self[:build_dir] = './build'
|
20
20
|
self[:verbose] = false
|
21
|
-
self[:sdk_version] = '
|
21
|
+
self[:sdk_version] = '4.0'
|
22
22
|
self[:driver] = :shell
|
23
23
|
|
24
24
|
require 'optparse'
|
@@ -61,7 +61,7 @@ class UISpecRunner
|
|
61
61
|
|
62
62
|
o.on('--sdk [VERSION]',
|
63
63
|
'Run the UISpec target against the iPhone SDK version',
|
64
|
-
'Default:
|
64
|
+
'Default: 4.0') do |sdk_version|
|
65
65
|
self[:sdk_version] = sdk_version
|
66
66
|
end
|
67
67
|
|
data/uispecrunner.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{uispecrunner}
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Blake Watters"]
|
12
|
-
s.date = %q{
|
12
|
+
s.date = %q{2011-02-15}
|
13
13
|
s.default_executable = %q{uispec}
|
14
14
|
s.description = %q{Provides a simple Ruby interface for running UISpec iPhone tests}
|
15
15
|
s.email = %q{blake@twotoasters.com}
|
@@ -44,7 +44,7 @@ Gem::Specification.new do |s|
|
|
44
44
|
s.homepage = %q{http://github.com/twotoasters/UISpecRunner}
|
45
45
|
s.rdoc_options = ["--charset=UTF-8"]
|
46
46
|
s.require_paths = ["lib"]
|
47
|
-
s.rubygems_version = %q{1.3.
|
47
|
+
s.rubygems_version = %q{1.3.7}
|
48
48
|
s.summary = %q{Flexible spec runner for UISpec on iOS}
|
49
49
|
s.test_files = [
|
50
50
|
"spec/options_spec.rb",
|
@@ -56,7 +56,7 @@ Gem::Specification.new do |s|
|
|
56
56
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
57
57
|
s.specification_version = 3
|
58
58
|
|
59
|
-
if Gem::Version.new(Gem::
|
59
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
60
60
|
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
|
61
61
|
else
|
62
62
|
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uispecrunner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 21
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 3
|
8
|
-
-
|
9
|
-
version: 0.3.
|
9
|
+
- 3
|
10
|
+
version: 0.3.3
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Blake Watters
|
@@ -14,16 +15,18 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date:
|
18
|
+
date: 2011-02-15 00:00:00 -05:00
|
18
19
|
default_executable: uispec
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
21
22
|
name: rspec
|
22
23
|
prerelease: false
|
23
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
24
26
|
requirements:
|
25
27
|
- - ">="
|
26
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 13
|
27
30
|
segments:
|
28
31
|
- 1
|
29
32
|
- 2
|
@@ -72,23 +75,27 @@ rdoc_options:
|
|
72
75
|
require_paths:
|
73
76
|
- lib
|
74
77
|
required_ruby_version: !ruby/object:Gem::Requirement
|
78
|
+
none: false
|
75
79
|
requirements:
|
76
80
|
- - ">="
|
77
81
|
- !ruby/object:Gem::Version
|
82
|
+
hash: 3
|
78
83
|
segments:
|
79
84
|
- 0
|
80
85
|
version: "0"
|
81
86
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
87
|
+
none: false
|
82
88
|
requirements:
|
83
89
|
- - ">="
|
84
90
|
- !ruby/object:Gem::Version
|
91
|
+
hash: 3
|
85
92
|
segments:
|
86
93
|
- 0
|
87
94
|
version: "0"
|
88
95
|
requirements: []
|
89
96
|
|
90
97
|
rubyforge_project:
|
91
|
-
rubygems_version: 1.3.
|
98
|
+
rubygems_version: 1.3.7
|
92
99
|
signing_key:
|
93
100
|
specification_version: 3
|
94
101
|
summary: Flexible spec runner for UISpec on iOS
|