thunder 0.4.3 → 0.4.4

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.
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ v0.4.4
2
+ - fixed minor bug in processing of commands that caused a crash when seeking help
3
+
1
4
  v0.4.3
2
5
  - fixed handling of parameters and default commands
3
6
 
data/DESIGN.md CHANGED
File without changes
data/README.md CHANGED
File without changes
data/Rakefile CHANGED
File without changes
File without changes
File without changes
File without changes
@@ -1,4 +1,4 @@
1
1
  module Thunder
2
2
  # Version string for gemspec
3
- VERSION = "0.4.3"
3
+ VERSION = "0.4.4"
4
4
  end
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.3
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-09-12 00:00:00.000000000 Z
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