reset-sim 1.0 → 1.1
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 +21 -0
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8df816b0b18a3704e6ead7fbcdc4340766b8023d
|
|
4
|
+
data.tar.gz: 502d0ad32d86a08fd2ffc03788a3fdaa2a6eb4c3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8a73f5cd0899cdca0d0c583a8cece823c61f7e5241f75b676009a4ae5ea1580385301755d948fa91e74c3542d0a59cb76467c3e133b90e8eeadcc5acf074f50d
|
|
7
|
+
data.tar.gz: f3b5522abf03f942a83ff654dc423cab627d5ebd01024b83150e21b5d773325776bd36349fe11333ebded10c6bb392133802f52ef86e51ef42b87ecb5e4bf8a2
|
data/bin/reset-sim
CHANGED
|
@@ -24,3 +24,24 @@ osascript <<-END
|
|
|
24
24
|
end tell
|
|
25
25
|
end tell
|
|
26
26
|
END
|
|
27
|
+
|
|
28
|
+
osascript <<-END
|
|
29
|
+
tell application "Simulator"
|
|
30
|
+
activate
|
|
31
|
+
end tell
|
|
32
|
+
|
|
33
|
+
tell application "System Events"
|
|
34
|
+
tell process "Simulator"
|
|
35
|
+
tell menu bar 1
|
|
36
|
+
tell menu bar item "Simulator"
|
|
37
|
+
tell menu "Simulator"
|
|
38
|
+
click menu item "Reset Content and Settings…"
|
|
39
|
+
end tell
|
|
40
|
+
end tell
|
|
41
|
+
end tell
|
|
42
|
+
tell window 1
|
|
43
|
+
click button "Reset"
|
|
44
|
+
end tell
|
|
45
|
+
end tell
|
|
46
|
+
end tell
|
|
47
|
+
END
|
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.1'
|
|
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: 2015-10-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -41,7 +41,7 @@ post_install_message: |2+
|
|
|
41
41
|
|
|
42
42
|
********* IMPORTANT *********
|
|
43
43
|
In order to work properly you must add your terminal application in
|
|
44
|
-
System Preferences -> Privacy ->
|
|
44
|
+
System Preferences -> Privacy -> Accessibility options.
|
|
45
45
|
|
|
46
46
|
Then run: reset-sim
|
|
47
47
|
*****************************
|
|
@@ -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.
|
|
64
|
+
rubygems_version: 2.2.0
|
|
65
65
|
signing_key:
|
|
66
66
|
specification_version: 4
|
|
67
67
|
summary: Resets the iOS simulator
|