health_monitor 0.1.1 → 0.1.2

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -2,7 +2,7 @@ class <%= class_name %>Controller < ApplicationController
2
2
  acts_as_health_monitor
3
3
 
4
4
  # Built in checks
5
- monitor_health :schema_check, :database_check, #:ey_agent_check
5
+ monitor_health :schema_check, :database_check#, :ey_agent_check
6
6
 
7
7
  # Refer to the README at http://github.com/blythedunham/health_monitor
8
8
  # for more examples
@@ -31,4 +31,5 @@ class <%= class_name %>Controller < ApplicationController
31
31
  end
32
32
 
33
33
  <% end -%>
34
+
34
35
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{health_monitor}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Blythe Dunham"]
@@ -19,8 +19,7 @@ module HealthMonitor
19
19
  def database_check
20
20
  {
21
21
  :status => ActiveRecord::Base.connection && ActiveRecord::Base.connection.active?,
22
- :description => 'Active Database connection',
23
- :message => "DATABASE CHECK #{ActiveRecord::Base.connection.active?}"
22
+ :description => 'Active Database connection'
24
23
  }
25
24
  end
26
25
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: health_monitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blythe Dunham