shell_shock 0.0.2 → 0.0.3
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/lib/shell_shock/context.rb +4 -4
- metadata +3 -3
data/lib/shell_shock/context.rb
CHANGED
@@ -38,15 +38,15 @@ module ShellShock
|
|
38
38
|
return if ['quit', 'exit'].include?($1)
|
39
39
|
process_command $1
|
40
40
|
else
|
41
|
-
|
41
|
+
@io.say "can not process line \"#{line}\""
|
42
42
|
end
|
43
|
-
|
43
|
+
@io.say
|
44
44
|
refresh
|
45
45
|
end
|
46
46
|
rescue Interrupt => e
|
47
47
|
return
|
48
48
|
end
|
49
|
-
|
49
|
+
@io.say
|
50
50
|
end
|
51
51
|
|
52
52
|
def display_help_for_command command_name
|
@@ -56,7 +56,7 @@ module ShellShock
|
|
56
56
|
@io.say "Usage: #{command_name} #{command.usage}" if command.respond_to?(:usage)
|
57
57
|
@io.say "Help:\n #{command.help}" if command.respond_to?(:help)
|
58
58
|
else
|
59
|
-
|
59
|
+
@io.say "no help available for command \"#{command_name}\""
|
60
60
|
end
|
61
61
|
end
|
62
62
|
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 3
|
9
|
+
version: 0.0.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Mark Ryall
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-06-15 00:00:00 +10:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|