run_loop 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 555d66495497677e02f04d4636929bb5eaf0915d
4
- data.tar.gz: 731b06dbc736209fd00ca51fe9baf5a18a354e95
3
+ metadata.gz: a8403b809c77ed9bb5a876c9bc7cc7f0733c20ae
4
+ data.tar.gz: ea5ad513d6ecbefba8ed142c2873cf223f5aa434
5
5
  SHA512:
6
- metadata.gz: 8415189c600977b255ee274e6cdd9f123fcdf8df8dae8aad3adbf1c4d2c23af945cb3b4cc7a36647adcf38a47bc26ecdd866cf2180739ef0882409d280ef2285
7
- data.tar.gz: ccf930290492ddee04e8372f5bf5e25c7f1101c40821b0c227bf8fd624186f8f3f6ce98509d92bffe3845ce7360f43314e9fe797d7df0985a2512cfcd8234e4c
6
+ metadata.gz: c8dbb03f07bafc933824334aade0e708ccafeed6adace48cb5252f04a33777b85dc4557d26caae01dbb3a2427cd52431bd8502ca6210f6a8164f2a3de375d1c5
7
+ data.tar.gz: f57a4be469cdf506acc8bdc9b869ce0f5ebbec3ef53cc849440e2911c8a26fcc314c9266917f2092fe62d8a63e70b1a7e8dcb3ff06673db530a9a040e77d2e9d
@@ -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[:script] = script
99
- options[:uia_strategy] = uia_strategy
108
+ if options[:sim_control]
109
+ cloned_options[:sim_control] = options[:sim_control]
110
+ end
100
111
 
101
- Core.run_with_options(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)
@@ -1,5 +1,5 @@
1
1
  module RunLoop
2
- VERSION = "2.0.2"
2
+ VERSION = "2.0.3"
3
3
 
4
4
  # A model of a software release version that can be used to compare two versions.
5
5
  #
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.2
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: 2015-12-17 00:00:00.000000000 Z
11
+ date: 2016-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json