lightning 0.3.0 → 0.3.1
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.rdoc +3 -0
- data/README.rdoc +1 -0
- data/lib/lightning/commands/function.rb +2 -2
- data/lib/lightning/version.rb +1 -1
- metadata +3 -3
data/CHANGELOG.rdoc
CHANGED
data/README.rdoc
CHANGED
@@ -69,6 +69,7 @@ Please report them {on github}[http://github.com/cldwalker/lightning/issues].
|
|
69
69
|
== Credits
|
70
70
|
* ryanb's dotfiles inspired tinkering with autocompletion in ruby: http://github.com/ryanb/dotfiles/blob/master/bash/completion_scripts/project_completion
|
71
71
|
* defunkt's rip, http://github.com/defunkt/rip, was inflential in designing plugins
|
72
|
+
* Bug fixes: ljsc
|
72
73
|
|
73
74
|
== Todo
|
74
75
|
* More tests
|
@@ -36,7 +36,7 @@ module Lightning::Commands
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def create_function(scmd, bolt, options={})
|
39
|
-
options[:name] ||= Lightning.bolts[bolt].function_name(scmd) unless global_commands.include?(scmd)
|
39
|
+
options[:name] ||= Lightning.bolts[bolt].function_name(scmd) unless config.global_commands.include?(scmd)
|
40
40
|
function = options[:name] || Lightning.bolts[bolt].function_name(scmd)
|
41
41
|
|
42
42
|
if find_function(config.bolts[bolt]['functions'], 'shell_command', scmd)
|
@@ -73,4 +73,4 @@ module Lightning::Commands
|
|
73
73
|
end
|
74
74
|
puts "Can't find function '#{fn}'"
|
75
75
|
end
|
76
|
-
end
|
76
|
+
end
|
data/lib/lightning/version.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 3
|
8
|
-
-
|
9
|
-
version: 0.3.
|
8
|
+
- 1
|
9
|
+
version: 0.3.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Gabriel Horner
|
@@ -73,7 +73,7 @@ licenses: []
|
|
73
73
|
post_install_message:
|
74
74
|
rdoc_options:
|
75
75
|
- --title
|
76
|
-
- Lightning 0.3.
|
76
|
+
- Lightning 0.3.1 Documentation
|
77
77
|
require_paths:
|
78
78
|
- lib
|
79
79
|
required_ruby_version: !ruby/object:Gem::Requirement
|