colortail 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Changelog.markdown +4 -0
- data/VERSION +1 -1
- data/colortail.gemspec +1 -1
- data/lib/colortail/application.rb +8 -2
- data/lib/colortail/configuration.rb +0 -1
- metadata +1 -1
data/Changelog.markdown
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.5
|
data/colortail.gemspec
CHANGED
@@ -25,12 +25,18 @@ module ColorTail
|
|
25
25
|
@match_group = config.load_opts(options[:group])
|
26
26
|
else
|
27
27
|
# Create this to ensure we always have a value for this array
|
28
|
-
@match_group = Array.
|
28
|
+
@match_group = Array.new
|
29
|
+
@match_group.push( 'default' => [] )
|
29
30
|
end
|
30
31
|
|
31
32
|
# Display the list of available groups and exit
|
32
33
|
if options[:list]
|
33
|
-
config
|
34
|
+
puts "The following match groups are available through your config files:"
|
35
|
+
if config
|
36
|
+
config.display_match_groups()
|
37
|
+
else
|
38
|
+
puts " * default"
|
39
|
+
end
|
34
40
|
return 1
|
35
41
|
end
|
36
42
|
|