run_loop 2.0.2 → 2.0.3
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.
- checksums.yaml +4 -4
- data/lib/run_loop.rb +14 -3
- data/lib/run_loop/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a8403b809c77ed9bb5a876c9bc7cc7f0733c20ae
|
|
4
|
+
data.tar.gz: ea5ad513d6ecbefba8ed142c2873cf223f5aa434
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c8dbb03f07bafc933824334aade0e708ccafeed6adace48cb5252f04a33777b85dc4557d26caae01dbb3a2427cd52431bd8502ca6210f6a8164f2a3de375d1c5
|
|
7
|
+
data.tar.gz: f57a4be469cdf506acc8bdc9b869ce0f5ebbec3ef53cc849440e2911c8a26fcc314c9266917f2092fe62d8a63e70b1a7e8dcb3ff06673db530a9a040e77d2e9d
|
data/lib/run_loop.rb
CHANGED
|
@@ -93,12 +93,23 @@ Please quit the Instruments.app and try again.)
|
|
|
93
93
|
raise "Inconsistent state: desired script #{desired_script} has not uia_strategy"
|
|
94
94
|
end
|
|
95
95
|
end
|
|
96
|
+
|
|
96
97
|
# At this point script and uia_strategy selected
|
|
98
|
+
cloned_options = options.clone
|
|
99
|
+
cloned_options[:script] = script
|
|
100
|
+
cloned_options[:uia_strategy] = uia_strategy
|
|
101
|
+
|
|
102
|
+
# Xcode and SimControl will not be properly cloned and we don't want
|
|
103
|
+
# them to be; we want to use the exact objects that were passed.
|
|
104
|
+
if options[:xcode]
|
|
105
|
+
cloned_options[:xcode] = options[:xcode]
|
|
106
|
+
end
|
|
97
107
|
|
|
98
|
-
options[:
|
|
99
|
-
|
|
108
|
+
if options[:sim_control]
|
|
109
|
+
cloned_options[:sim_control] = options[:sim_control]
|
|
110
|
+
end
|
|
100
111
|
|
|
101
|
-
Core.run_with_options(
|
|
112
|
+
Core.run_with_options(cloned_options)
|
|
102
113
|
end
|
|
103
114
|
|
|
104
115
|
def self.send_command(run_loop, cmd, options={timeout: 60}, num_retries=0, last_error=nil)
|
data/lib/run_loop/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: run_loop
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Karl Krukow
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-01-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|