thunder 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +3 -0
- data/DESIGN.md +0 -0
- data/README.md +0 -0
- data/Rakefile +0 -0
- data/lib/thunder/help/default.rb +0 -0
- data/lib/thunder/options/optparse.rb +0 -0
- data/lib/thunder/options/trollop.rb +0 -0
- data/lib/thunder/version.rb +1 -1
- data/lib/thunder.rb +1 -1
- data/spec/spec_thunder.rb +0 -0
- metadata +2 -2
data/CHANGELOG
CHANGED
data/DESIGN.md
CHANGED
File without changes
|
data/README.md
CHANGED
File without changes
|
data/Rakefile
CHANGED
File without changes
|
data/lib/thunder/help/default.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
data/lib/thunder/version.rb
CHANGED
data/lib/thunder.rb
CHANGED
@@ -135,7 +135,7 @@ module Thunder
|
|
135
135
|
# Registers a method as a thunder task
|
136
136
|
def method_added(method)
|
137
137
|
attributes = [:usage, :description, :options, :long_description]
|
138
|
-
return unless attributes.reduce { |a, key| a || thunder[key] }
|
138
|
+
return unless attributes.reduce(nil) { |a, key| a || thunder[key] }
|
139
139
|
thunder[:commands][method] = {
|
140
140
|
name: method,
|
141
141
|
}
|
data/spec/spec_thunder.rb
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thunder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-10-10 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Thunder does command line interfaces. Nothing more, nothing less.
|
15
15
|
email: steven.karas@gmail.com
|