god 0.7.14 → 0.7.15

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/History.txt CHANGED
@@ -1,6 +1,7 @@
1
- ==
1
+ == 0.7.15 / 2009-08-19
2
2
  * Minor Enhancements
3
3
  * Support SSL Campfire connections [github.com/eric]
4
+ * Allow wildcards in -c configuration file option
4
5
 
5
6
  == 0.7.14 / 2009-08-10
6
7
  * Minor Enhancements
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :minor: 7
3
- :patch: 14
4
2
  :major: 0
3
+ :minor: 7
4
+ :patch: 15
data/god.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{god}
5
- s.version = "0.7.14"
5
+ s.version = "0.7.15"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Tom Preston-Werner"]
9
- s.date = %q{2009-08-10}
9
+ s.date = %q{2009-08-19}
10
10
  s.default_executable = %q{god}
11
11
  s.description = %q{God is an easy to configure, easy to extend monitoring framework written in Ruby.}
12
12
  s.email = %q{tom@mojombo.com}
data/lib/god/cli/run.rb CHANGED
@@ -58,7 +58,7 @@ module God
58
58
  end
59
59
 
60
60
  if @options[:config]
61
- unless File.exist?(@options[:config])
61
+ if !@options[:config].include?('*') && !File.exist?(@options[:config])
62
62
  abort "File not found: #{@options[:config]}"
63
63
  end
64
64
 
@@ -151,8 +151,12 @@ module God
151
151
  abort "No files could be loaded"
152
152
  end
153
153
  else
154
- unless load_god_file(File.expand_path(config))
155
- abort "File could not be loaded"
154
+ files = Dir.glob(config)
155
+ abort "No files could be loaded" if files.empty?
156
+ files.each do |f|
157
+ unless load_god_file(File.expand_path(config))
158
+ abort "File '#{config}' could not be loaded"
159
+ end
156
160
  end
157
161
  end
158
162
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: god
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.14
4
+ version: 0.7.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Preston-Werner
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-08-10 00:00:00 -07:00
12
+ date: 2009-08-19 00:00:00 -07:00
13
13
  default_executable: god
14
14
  dependencies: []
15
15