desktop-boom 0.5.2 → 0.6.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/README.md +15 -1
- data/bin/boom +4 -4
- data/lib/boom/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9098e00da00869a987eff3b0c96b98f701be2a5b
|
4
|
+
data.tar.gz: f18f9af08adae951339b43d878dc69e6c18b9c26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8af07af0cc39312feea4af13acf146c6bc656c975361c8ea6061ca2a221ef55db3e1a8f6f80869721433ea0ad8604efe13abd317516fe88ebbe69b24045c4c81
|
7
|
+
data.tar.gz: 98056598ad8f94bea85d91f5c375c793aa727e8c5e59421f73ab3cd450b2f1e19478726d7043441c600bf6abfcc3b78f40ebfe6b7be1c7e6ddd9895295f6c45a
|
data/README.md
CHANGED
@@ -4,7 +4,8 @@ The (OS X) desktop is very handy for storing files and folders you are currently
|
|
4
4
|
|
5
5
|
Enter `boom`. `boom` is a simple tool. You classify your files and folders into "projects" and `boom` helps maintain your OS X desktop by making it contain files and folders for the current project you are working on.
|
6
6
|
|
7
|
-
[](
|
7
|
+
[](https://badge.fury.io/rb/desktop-boom)
|
8
|
+

|
8
9
|
|
9
10
|
Usage
|
10
11
|
---
|
@@ -32,6 +33,19 @@ To get help:
|
|
32
33
|
$ boom --help
|
33
34
|
```
|
34
35
|
|
36
|
+
Auto-completion of project names for bash
|
37
|
+
---
|
38
|
+
If you use the bash shell, you can enable auto-completion of project names when you type `boom` by adding the following to your `.profile` or `.bashrc` file:
|
39
|
+
|
40
|
+
```
|
41
|
+
_complete_boom_project_names() {
|
42
|
+
projects=`~/p/boom/bin/boom list | cut -c 3-`
|
43
|
+
cur="${COMP_WORDS[COMP_CWORD]}"
|
44
|
+
COMPREPLY=( $(compgen -W "${projects}" -- ${cur}) )
|
45
|
+
}
|
46
|
+
complete -F _complete_boom_project_names boom
|
47
|
+
```
|
48
|
+
|
35
49
|
Installation
|
36
50
|
---
|
37
51
|
`gem install desktop-boom`
|
data/bin/boom
CHANGED
@@ -154,16 +154,16 @@ command :list do |c|
|
|
154
154
|
if e == current_project
|
155
155
|
if options.l
|
156
156
|
entries = entries_in_dir(File.expand_path(DESKTOP_DIR))
|
157
|
-
say "#{e} (#{entries.size})
|
157
|
+
say "* #{e} (#{entries.size})"
|
158
158
|
else
|
159
|
-
say "#{e}
|
159
|
+
say "* #{e}"
|
160
160
|
end
|
161
161
|
else
|
162
162
|
if options.l
|
163
163
|
entries = entries_in_dir(File.expand_path(e, projects_directory))
|
164
|
-
say "#{e} (#{entries.size})"
|
164
|
+
say " #{e} (#{entries.size})"
|
165
165
|
else
|
166
|
-
say e
|
166
|
+
say " #{e}"
|
167
167
|
end
|
168
168
|
end
|
169
169
|
end
|
data/lib/boom/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: desktop-boom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hwee-Boon Yar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: commander
|