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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/reset-sim +21 -0
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5958a5bbf0ed4f3f944fa35e22e4b73487d28196
4
- data.tar.gz: 55ad513e8303021b30ec1b7eb639d1c908e24f18
3
+ metadata.gz: 8df816b0b18a3704e6ead7fbcdc4340766b8023d
4
+ data.tar.gz: 502d0ad32d86a08fd2ffc03788a3fdaa2a6eb4c3
5
5
  SHA512:
6
- metadata.gz: 4e78048714d14fc43542fa326414b6a2723755a09a1ed56063f1a897c73d8d102a04459c74950304240e357e34aaa7e59bb4c04f03ec5503b680fd2eb58a49f0
7
- data.tar.gz: 620ee2535a4b7c333da81cdff3b6fc08298d455aa698e826b4a9b478270823412b5e9fb28d47a15575d1d566e8f094b0c1dc3ec7d0b11e8f6fbc1e0eef113ae7
6
+ metadata.gz: 8a73f5cd0899cdca0d0c583a8cece823c61f7e5241f75b676009a4ae5ea1580385301755d948fa91e74c3542d0a59cb76467c3e133b90e8eeadcc5acf074f50d
7
+ data.tar.gz: f3b5522abf03f942a83ff654dc423cab627d5ebd01024b83150e21b5d773325776bd36349fe11333ebded10c6bb392133802f52ef86e51ef42b87ecb5e4bf8a2
@@ -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.0'
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: 2014-10-09 00:00:00.000000000 Z
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 -> Accessability options.
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.3.0
64
+ rubygems_version: 2.2.0
65
65
  signing_key:
66
66
  specification_version: 4
67
67
  summary: Resets the iOS simulator