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 +2 -1
- data/VERSION.yml +2 -2
- data/god.gemspec +2 -2
- data/lib/god/cli/run.rb +7 -3
- metadata +2 -2
data/History.txt
CHANGED
data/VERSION.yml
CHANGED
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.
|
|
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-
|
|
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
|
-
|
|
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
|
-
|
|
155
|
-
|
|
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.
|
|
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-
|
|
12
|
+
date: 2009-08-19 00:00:00 -07:00
|
|
13
13
|
default_executable: god
|
|
14
14
|
dependencies: []
|
|
15
15
|
|