simctl 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/simctl/command/reset.rb +3 -1
- data/lib/simctl/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: debe104af9429605e61c557d623ce8bf916c8759
|
4
|
+
data.tar.gz: 1a7543b7ce91b9ae5dc9dabcf5f4c8ed9953e9f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32f26f6cada97d5251ab05fbc44f0dc97c7879ff48f23e1ef82d34a35544124ad4d65a52164d3607bed290529792c037f99f0ee915730f71d854911c668822bd
|
7
|
+
data.tar.gz: dd557834e68f900c3fef0e3833d7b055ff0eb0aee0c7beb15ba7530b1eb8b9a421f8cc0d2aa195bc1103b8be33f17b7ddc4b111d6c7737dfbb7ea2a27ef8a2f8
|
data/Gemfile.lock
CHANGED
data/lib/simctl/command/reset.rb
CHANGED
@@ -19,7 +19,9 @@ module SimCtl
|
|
19
19
|
rescue Exception => exception
|
20
20
|
yield exception if block_given?
|
21
21
|
end
|
22
|
-
create_device name, device_type, runtime
|
22
|
+
device = create_device name, device_type, runtime
|
23
|
+
device.wait! {|d| d.state == :shutdown}
|
24
|
+
device
|
23
25
|
end
|
24
26
|
end
|
25
27
|
end
|
data/lib/simctl/version.rb
CHANGED