desktop-boom 0.6.1 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +48 -0
- data/bin/boom +23 -18
- data/lib/boom/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0b3ac502eebac8c907fbecda00381b93d369419
|
4
|
+
data.tar.gz: 45060b8b743fec1722dda75f8f3bc7933ada96c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41442c6be88a7c3a2240d6dfd2ec91d8c5119e02c0cd6f88def8bc8b4987fde4d649f363a4dea7ed8562844ac89e14c939f5e5fb1b18ee2191368473259b4963
|
7
|
+
data.tar.gz: 0697a0dd819008e3adc055fb9dc70c1f7e5f4c802f497d7225fe70d723d316005e72dabb90b80a61d96a8d1bbf700c42d91046ff352c2d19da9f80dcb68e3ca5
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
Boom Changelog
|
2
|
+
===
|
3
|
+
|
4
|
+
v0.7.0
|
5
|
+
---
|
6
|
+
* Added CHANGELOG
|
7
|
+
* Tweak help text. Also reduce redundancy
|
8
|
+
* Add -s option to `boom current` for "shorter" printout for scripting purposes
|
9
|
+
|
10
|
+
v0.6.1, v0.6.0
|
11
|
+
---
|
12
|
+
* Link to bash and fish shell
|
13
|
+
* Add instructions for autocompletion of project names in fish shell
|
14
|
+
* Change format of `boom list`
|
15
|
+
* Add license badge and fix gem version badge link
|
16
|
+
|
17
|
+
v0.5.2, v0.5.1, v0.5.0
|
18
|
+
---
|
19
|
+
* Show more useful help when running `boom current` and there is no project opened
|
20
|
+
* Update README
|
21
|
+
* Create project with `boom create`. No longer create projects automatically with `switch`
|
22
|
+
* Add gem version badge to README
|
23
|
+
|
24
|
+
v0.4.0
|
25
|
+
---
|
26
|
+
* Add move command
|
27
|
+
* Add browse command
|
28
|
+
* Improve instructions when `boom` alone is typed
|
29
|
+
|
30
|
+
v0.3.0
|
31
|
+
---
|
32
|
+
* Add close command
|
33
|
+
* Refactor
|
34
|
+
* Add author name
|
35
|
+
|
36
|
+
v0.2.0
|
37
|
+
---
|
38
|
+
* Add rename command to rename project
|
39
|
+
* Update README to mention --help
|
40
|
+
|
41
|
+
v0.1.1, v0.1.0
|
42
|
+
---
|
43
|
+
* Add -l option for `boom list`
|
44
|
+
* Fix: APP_NAME placeholder displayed verbatim in help
|
45
|
+
|
46
|
+
v0.0.1
|
47
|
+
---
|
48
|
+
* Initial release
|
data/bin/boom
CHANGED
@@ -62,15 +62,15 @@ def entries_in_dir(dir)
|
|
62
62
|
end
|
63
63
|
|
64
64
|
command :switch do |c|
|
65
|
-
c.syntax = "#{APP_NAME} [switch]"
|
65
|
+
c.syntax = "#{APP_NAME} [switch] <project name>"
|
66
66
|
c.summary = 'Switch project'
|
67
67
|
c.description = c.summary
|
68
|
-
c.example 'Run command',
|
68
|
+
c.example 'Run command', c.syntax
|
69
69
|
c.action do |args, options|
|
70
70
|
say_error "Specify the name of the project you want to switch to. If the project
|
71
71
|
doesn't exist, it will be created:
|
72
72
|
|
73
|
-
#{
|
73
|
+
#{c.syntax}
|
74
74
|
|
75
75
|
or for help:
|
76
76
|
|
@@ -98,11 +98,11 @@ command :create do |c|
|
|
98
98
|
c.syntax = "#{APP_NAME} create <project name>"
|
99
99
|
c.summary = 'Create project'
|
100
100
|
c.description = c.summary
|
101
|
-
c.example 'Run command',
|
101
|
+
c.example 'Run command', c.syntax
|
102
102
|
c.action do |args, options|
|
103
103
|
say_error "Specify the name of the project you want to create:
|
104
104
|
|
105
|
-
#{
|
105
|
+
#{c.syntax}
|
106
106
|
|
107
107
|
or for help:
|
108
108
|
|
@@ -121,21 +121,26 @@ command :current do |c|
|
|
121
121
|
c.syntax = "#{APP_NAME} current"
|
122
122
|
c.summary = 'Show the current project name'
|
123
123
|
c.description = c.summary
|
124
|
-
c.example 'Run command',
|
124
|
+
c.example 'Run command', c.syntax
|
125
|
+
c.option '-s', 'Shorter format'
|
125
126
|
c.action do |args, options|
|
126
127
|
create_configuration_file unless File.file? config_path
|
127
128
|
with_config do |mapping, projects_directory, current_project|
|
128
129
|
if current_project && !current_project.empty?
|
129
130
|
say current_project
|
130
131
|
else
|
131
|
-
|
132
|
+
if options.s
|
133
|
+
say "-"
|
134
|
+
else
|
135
|
+
say "No project open. To switch to a project run:
|
132
136
|
|
133
|
-
#{APP_NAME} <project name>
|
137
|
+
#{APP_NAME} [switch] <project name>
|
134
138
|
|
135
139
|
To see a list of projects:
|
136
140
|
|
137
141
|
#{APP_NAME} list
|
138
142
|
"
|
143
|
+
end
|
139
144
|
end
|
140
145
|
end
|
141
146
|
end
|
@@ -145,7 +150,7 @@ command :list do |c|
|
|
145
150
|
c.syntax = "#{APP_NAME} list"
|
146
151
|
c.summary = 'Show list of projects'
|
147
152
|
c.description = c.summary
|
148
|
-
c.example 'Run command',
|
153
|
+
c.example 'Run command', c.syntax
|
149
154
|
c.option '-l', 'List in long format'
|
150
155
|
c.action do |args, options|
|
151
156
|
create_configuration_file unless File.file? config_path
|
@@ -172,13 +177,13 @@ command :list do |c|
|
|
172
177
|
end
|
173
178
|
|
174
179
|
command :rename do |c|
|
175
|
-
c.syntax = "#{APP_NAME} rename"
|
180
|
+
c.syntax = "#{APP_NAME} rename <source> <target>"
|
176
181
|
c.summary = 'Rename project'
|
177
182
|
c.description = c.summary
|
178
|
-
c.example 'Run command',
|
183
|
+
c.example 'Run command', c.syntax
|
179
184
|
c.action do |args, options|
|
180
185
|
say_error "You must specify both the original project name and the new project name
|
181
|
-
|
186
|
+
#{c.syntax}
|
182
187
|
" and abort unless args.size == 2
|
183
188
|
with_config do |mapping, projects_directory, current_project|
|
184
189
|
source = args[0]
|
@@ -195,10 +200,10 @@ command :browse do |c|
|
|
195
200
|
c.syntax = "#{APP_NAME} browse [<project name>]"
|
196
201
|
c.summary = 'Browse project(s) directory'
|
197
202
|
c.description = c.summary
|
198
|
-
c.example 'Run command',
|
203
|
+
c.example 'Run command', c.syntax
|
199
204
|
c.action do |args, options|
|
200
205
|
say_error "Specify at most 1 project name
|
201
|
-
|
206
|
+
#{c.syntax}
|
202
207
|
" and abort unless args.empty? || args.size == 1
|
203
208
|
with_config do |mapping, projects_directory, current_project|
|
204
209
|
project = args[0]
|
@@ -219,7 +224,7 @@ command :close do |c|
|
|
219
224
|
c.syntax = "#{APP_NAME} close"
|
220
225
|
c.summary = 'Close current project'
|
221
226
|
c.description = c.summary
|
222
|
-
c.example 'Run command',
|
227
|
+
c.example 'Run command', c.syntax
|
223
228
|
c.action do |args, options|
|
224
229
|
create_configuration_file unless File.file? config_path
|
225
230
|
with_config do |mapping, projects_directory, current_project|
|
@@ -231,15 +236,15 @@ command :close do |c|
|
|
231
236
|
end
|
232
237
|
|
233
238
|
command :move do |c|
|
234
|
-
c.syntax = "#{APP_NAME} move"
|
239
|
+
c.syntax = "#{APP_NAME} move <source file/folder> ... <project name>"
|
235
240
|
c.summary = 'Move file(s)/folders(s) in current project to another projects'
|
236
241
|
c.description = c.summary
|
237
|
-
c.example 'Run command',
|
242
|
+
c.example 'Run command', c.syntax
|
238
243
|
c.action do |args, options|
|
239
244
|
say_error "Specify the name(s) of the file(s)/folders(s) in the current project
|
240
245
|
which you want to move and the project to move to
|
241
246
|
|
242
|
-
#{
|
247
|
+
#{c.syntax}
|
243
248
|
|
244
249
|
or for help:
|
245
250
|
|
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.7.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-
|
11
|
+
date: 2016-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: commander
|
@@ -33,6 +33,7 @@ extensions: []
|
|
33
33
|
extra_rdoc_files: []
|
34
34
|
files:
|
35
35
|
- ".gitignore"
|
36
|
+
- CHANGELOG.md
|
36
37
|
- LICENSE
|
37
38
|
- README.md
|
38
39
|
- bin/boom
|