sidir 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in sider.gemspec
3
+ # Specify your gem's dependencies in sidir.gemspec
4
4
  gemspec
data/README.md CHANGED
@@ -1,24 +1,20 @@
1
- # Sider
1
+ # Sidir
2
2
 
3
3
  iOS Simulator directory explorer. This gem is a personal tool intended to make it slightly easier to navigate/manage the iOS Applications directory
4
4
 
5
5
  ## Installation
6
6
 
7
- Add this line to your application's Gemfile:
7
+ Install it yourself as:
8
8
 
9
- gem 'sider'
10
-
11
- And then execute:
12
-
13
- $ bundle
14
-
15
- Or install it yourself as:
16
-
17
- $ gem install sider
9
+ $ gem install sidir
18
10
 
19
11
  ## Usage
20
12
 
21
- sidir is a quick, dirty experiment that attempts to use commands with similar semantics to those in common shells to make them easy to remember. The main reason for sidir is because Applications are stored under unique hashs in the Applications directory, which makes this a pain to navigate in finder especially if you have lots of apps installed in your simulators.
13
+ sidir is a quick, dirty experiment that attempts to use commands with similar semantics to those in common shells to add contextual navigation of the iOS sims directories. The main reason for sidir is because Applications are stored under unique hashes in the Applications directory, which makes this a pain to navigate in finder, especially if you have lots of apps installed in your simulators.
14
+
15
+ Start at your terminal with
16
+
17
+ sidir
22
18
 
23
19
  At which point you'll get a simple prompt
24
20
 
@@ -33,11 +29,42 @@ Use help to print available commands
33
29
  Once you have cd'd into the context of a simulator you'll have more options available
34
30
 
35
31
  sidir /5.1 > help
36
- cd <item> - open finder at <item>
37
- cd .. - move back to simulators
38
- ls - list available applications
39
- rm - delete the application and all data
40
- reset - clean all paths as if the app is freshly installed
32
+ cd <item> - open finder at <item>
33
+ cd .. - move back to simulators
34
+ ls - list available applications
35
+ rm <item> - delete the application <item> and all associated data
36
+ reset <item> - clean all paths in <item> as if the app is freshly installed
37
+
38
+ An example session might look something like (horizontal space added for clarity)
39
+
40
+ sidir
41
+
42
+ sidir / > ls
43
+ 4.3.2
44
+ 5.0
45
+ 5.1
46
+
47
+ sidir / > cd 5.1
48
+
49
+ sidir /5.1 > ls
50
+ Animations
51
+ Lines
52
+ Testing
53
+ hello_world
54
+
55
+ sidir /5.1 > reset Testing
56
+ /Users/paul/Library/Application Support/iPhone Simulator/5.1/Applications/927BF49B-95ED-44AF-BC98-A8FB6E49571A
57
+ cd Library/Caches
58
+ rm -r Snapshots
59
+ cd -
60
+
61
+ sidir /5.1 > rm Testing
62
+ All data associated with "Testing" will be permanently deleted.
63
+ Are you sure?[yn]
64
+ y
65
+ Testing deleted
66
+
67
+ sidir /5.1 > exit
41
68
 
42
69
  ## Contributing
43
70
 
@@ -51,7 +78,7 @@ Once you have cd'd into the context of a simulator you'll have more options avai
51
78
 
52
79
  - Currently the app it's hard coded to load at
53
80
 
54
- ~/Library/Application Support/iPhone Simulator/
81
+ ~/Library/Application Support/iPhone Simulator/
55
82
 
56
83
  this obviously is less than ideal
57
84
 
@@ -86,11 +86,11 @@ module Sidir
86
86
 
87
87
  def help args
88
88
  puts <<-help
89
- cd <item> - open finder at <item>
90
- cd .. - move back to simulators
91
- ls - list available applications
92
- rm - delete the application and all data
93
- reset - clean all paths as if the app is freshly installed
89
+ cd <item> - open finder at <item>
90
+ cd .. - move back to simulators
91
+ ls - list available applications
92
+ rm <item> - delete the application <item> and all associated data
93
+ reset <item> - clean all paths in <item> as if the app is freshly installed
94
94
  help
95
95
  self
96
96
  end
data/lib/sidir/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Sidir
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidir
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: