reset-sim 1.1.1 → 1.2.0
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/bin/reset-sim +6 -10
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1a71c670f340aebefd6d7113bca7e4c69ad064bf
|
|
4
|
+
data.tar.gz: a0dadebb8e03814c372186ea2e029c743e72b4a3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7dc805d34bce66d9558f1bfcb3acfce84b6531f8f6efeeeabbdefab1254950b9b7203f3737c4c84413fc3bf4807c621c117e8dba99ce9ce110210f36f3c08210
|
|
7
|
+
data.tar.gz: 8742b20bbb2eff386d9dcb3a77978aa77d0fbeb4472aa515db0b4b2389610a9cd630fc31265ac5c7b6b747de7542cd2a491df01d8052d8e652806653156c7374
|
data/bin/reset-sim
CHANGED
|
@@ -25,17 +25,13 @@ osascript <<-END
|
|
|
25
25
|
|
|
26
26
|
if simulator_app_name is not equal to missing value
|
|
27
27
|
tell application "System Events"
|
|
28
|
+
click menu item ¬
|
|
29
|
+
"Erase All Content and Settings…" of menu 1 of menu bar item ¬
|
|
30
|
+
"Hardware" of menu bar 1 of application process simulator_app_name
|
|
31
|
+
delay 0.5
|
|
28
32
|
tell process simulator_app_name
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
tell menu simulator_app_name
|
|
32
|
-
click menu item "Reset Content and Settings…"
|
|
33
|
-
end tell
|
|
34
|
-
end tell
|
|
35
|
-
end tell
|
|
36
|
-
tell window 1
|
|
37
|
-
click button "Reset"
|
|
38
|
-
end tell
|
|
33
|
+
keystroke tab
|
|
34
|
+
keystroke return
|
|
39
35
|
end tell
|
|
40
36
|
end tell
|
|
41
37
|
end if
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: reset-sim
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mark Rickert
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-03-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -61,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
61
61
|
version: '0'
|
|
62
62
|
requirements: []
|
|
63
63
|
rubyforge_project:
|
|
64
|
-
rubygems_version: 2.2.
|
|
64
|
+
rubygems_version: 2.5.2.3
|
|
65
65
|
signing_key:
|
|
66
66
|
specification_version: 4
|
|
67
67
|
summary: Resets the iOS simulator
|