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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +15 -1
  3. data/bin/boom +4 -4
  4. data/lib/boom/version.rb +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f0385d0b4e19126f5f12a0212e774f3321744fe5
4
- data.tar.gz: 9d6754ac0e2d42f8b86d253a129d93e64a9c9e13
3
+ metadata.gz: 9098e00da00869a987eff3b0c96b98f701be2a5b
4
+ data.tar.gz: f18f9af08adae951339b43d878dc69e6c18b9c26
5
5
  SHA512:
6
- metadata.gz: 5ee69c87ed75a6ccda2326e43d84c5f55776aef44bf1ec87637f6033b8a9d6c063b69a1de2d0deaf756f277f4c66454afe3cda1cf1fde8382b2dfd0c748c3903
7
- data.tar.gz: 8dbef777411f7932760145dee6aec126cb4a72516f1f088b4233b812b5d31b882d37775c053a1fc6074eaa47595f86110e3ce7b7316d63163e897673d47db447
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
- [![Gem Version](https://badge.fury.io/rb/desktop-boom.svg)](http://badge.fury.io/rb/ruby_motion_query)
7
+ [![Gem Version](https://badge.fury.io/rb/desktop-boom.svg)](https://badge.fury.io/rb/desktop-boom)
8
+ ![License](https://img.shields.io/github/license/hboon/boom.svg)
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
@@ -1,3 +1,3 @@
1
1
  module DesktopBoom
2
- VERSION = '0.5.2'
2
+ VERSION = '0.6.0'
3
3
  end
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.5.2
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-26 00:00:00.000000000 Z
11
+ date: 2016-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander