boom 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.markdown +3 -0
- data/bin/boom +1 -0
- data/boom.gemspec +2 -2
- data/lib/boom/clipboard.rb +2 -0
- data/lib/boom/command.rb +3 -1
- data/lib/boom/item.rb +2 -0
- data/lib/boom/list.rb +2 -0
- data/lib/boom/storage.rb +2 -0
- data/lib/boom.rb +3 -1
- data/test/helper.rb +2 -0
- data/test/test_command.rb +2 -0
- data/test/test_item.rb +2 -0
- data/test/test_list.rb +2 -0
- metadata +3 -8
data/CHANGELOG.markdown
CHANGED
data/bin/boom
CHANGED
data/boom.gemspec
CHANGED
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
|
|
13
13
|
## If your rubyforge_project name is different, then edit it and comment out
|
14
14
|
## the sub! line in the Rakefile
|
15
15
|
s.name = 'boom'
|
16
|
-
s.version = '0.0.
|
17
|
-
s.date = '2011-01-
|
16
|
+
s.version = '0.0.8'
|
17
|
+
s.date = '2011-01-09'
|
18
18
|
s.rubyforge_project = 'boom'
|
19
19
|
|
20
20
|
## Make sure your summary is short. The description may be as long
|
data/lib/boom/clipboard.rb
CHANGED
data/lib/boom/command.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
1
3
|
# Command is the main point of entry for boom commands; shell arguments are
|
2
4
|
# passd through to Command, which then filters and parses through indivdual
|
3
5
|
# commands and reroutes them to constituent object classes.
|
@@ -70,7 +72,7 @@ module Boom
|
|
70
72
|
return all if command == 'all'
|
71
73
|
return edit if command == 'edit'
|
72
74
|
return help if command == 'help'
|
73
|
-
return help if command[0] == 45 # any - dash options are pleas for help
|
75
|
+
return help if command[0] == 45 || command[0] == '-' # any - dash options are pleas for help
|
74
76
|
|
75
77
|
# if we're operating on a List
|
76
78
|
if storage.list_exists?(command)
|
data/lib/boom/item.rb
CHANGED
data/lib/boom/list.rb
CHANGED
data/lib/boom/storage.rb
CHANGED
data/lib/boom.rb
CHANGED
data/test/helper.rb
CHANGED
data/test/test_command.rb
CHANGED
data/test/test_item.rb
CHANGED
data/test/test_list.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: boom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 17
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 0
|
8
7
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
8
|
+
- 8
|
9
|
+
version: 0.0.8
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Zach Holman
|
@@ -15,7 +14,7 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date: 2011-01-
|
17
|
+
date: 2011-01-09 00:00:00 -08:00
|
19
18
|
default_executable: boom
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
@@ -26,7 +25,6 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ~>
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
hash: 19
|
30
28
|
segments:
|
31
29
|
- 0
|
32
30
|
- 7
|
@@ -42,7 +40,6 @@ dependencies:
|
|
42
40
|
requirements:
|
43
41
|
- - ~>
|
44
42
|
- !ruby/object:Gem::Version
|
45
|
-
hash: 41
|
46
43
|
segments:
|
47
44
|
- 0
|
48
45
|
- 9
|
@@ -98,7 +95,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
98
95
|
requirements:
|
99
96
|
- - ">="
|
100
97
|
- !ruby/object:Gem::Version
|
101
|
-
hash: 3
|
102
98
|
segments:
|
103
99
|
- 0
|
104
100
|
version: "0"
|
@@ -107,7 +103,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
107
103
|
requirements:
|
108
104
|
- - ">="
|
109
105
|
- !ruby/object:Gem::Version
|
110
|
-
hash: 3
|
111
106
|
segments:
|
112
107
|
- 0
|
113
108
|
version: "0"
|