mojombo-god 0.7.14 → 0.7.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,8 @@
1
+ == 0.7.15 / 2009-08-19
2
+ * Minor Enhancements
3
+ * Support SSL Campfire connections [github.com/eric]
4
+ * Allow wildcards in -c configuration file option
5
+
1
6
  == 0.7.14 / 2009-08-10
2
7
  * Minor Enhancements
3
8
  * Only store log lines when a client wishes to see them
data/Rakefile CHANGED
@@ -5,6 +5,7 @@ begin
5
5
  require 'jeweler'
6
6
  Jeweler::Tasks.new do |gem|
7
7
  gem.name = "god"
8
+ gem.rubyforge_project = "god"
8
9
  gem.summary = 'Like monit, only awesome'
9
10
  gem.description = "God is an easy to configure, easy to extend monitoring framework written in Ruby."
10
11
  gem.email = "tom@mojombo.com"
@@ -1,4 +1,4 @@
1
1
  ---
2
- :minor: 7
3
- :patch: 14
4
2
  :major: 0
3
+ :minor: 7
4
+ :patch: 15
@@ -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}
@@ -164,6 +164,7 @@ Gem::Specification.new do |s|
164
164
  s.homepage = %q{http://god.rubyforge.org/}
165
165
  s.rdoc_options = ["--charset=UTF-8"]
166
166
  s.require_paths = ["lib", "ext"]
167
+ s.rubyforge_project = %q{god}
167
168
  s.rubygems_version = %q{1.3.5}
168
169
  s.summary = %q{Like monit, only awesome}
169
170
  s.test_files = [
@@ -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
@@ -39,7 +39,8 @@ module God
39
39
  self.server_settings = {:subdomain => '',
40
40
  :user_name => '',
41
41
  :password => '',
42
- :room => ''}
42
+ :room => '',
43
+ :ssl => false}
43
44
 
44
45
  self.format = lambda do |message, host|
45
46
  <<-EOF
@@ -70,7 +71,7 @@ module God
70
71
  unless @room
71
72
  applog(nil,:debug, "initializing campfire connection using credentials: #{Campfire.server_settings.inspect}")
72
73
 
73
- campfire = Tinder::Campfire.new Campfire.server_settings[:subdomain]
74
+ campfire = Tinder::Campfire.new Campfire.server_settings[:subdomain], :ssl => Campfire.server_settings[:ssl]
74
75
  campfire.login Campfire.server_settings[:user_name], Campfire.server_settings[:password]
75
76
  @room = campfire.find_room_by_name(Campfire.server_settings[:room])
76
77
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mojombo-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
 
@@ -189,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
189
189
  version:
190
190
  requirements: []
191
191
 
192
- rubyforge_project:
192
+ rubyforge_project: god
193
193
  rubygems_version: 1.3.5
194
194
  signing_key:
195
195
  specification_version: 3