colortail 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,14 @@
1
1
  ### colortail 0.1.2 2010-04-19
2
- * Added multi-threading to allow for tailing multiple files
2
+
3
+ * BUGFIX: Ensure config file exists before sourcing it
4
+
5
+ ### colortail 0.1.2 2010-04-19
6
+
7
+ * FEATURE: Added multi-threading to allow for tailing multiple files
3
8
 
4
9
  ### colortail 0.1.1 2010-04-19
5
10
 
6
- * Fixed help menu to work properly
11
+ * BUGFIX: Fixed help menu to work properly
7
12
 
8
13
  ### colortail 0.1.0 2010-04-19
9
14
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{colortail}
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Eric Lubow"]
@@ -26,8 +26,11 @@ module ColorTail
26
26
  # isn't available in the configuration object until after a new object
27
27
  # has been instantiated.
28
28
  def load_opts(group)
29
- require @config_file
30
- colorset = self.colorit( group, Groupings )
29
+ colorset = []
30
+ if File.exists?(@config_file)
31
+ load @config_file
32
+ colorset = self.colorit( group, Groupings )
33
+ end
31
34
  return colorset
32
35
  end
33
36
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: colortail
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Lubow