health_monitor 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{health_monitor}
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 = ["Blythe Dunham"]
12
- s.date = %q{2009-12-13}
12
+ s.date = %q{2010-01-28}
13
13
  s.email = %q{blythe@snowgiraffe.com}
14
14
  s.extra_rdoc_files = [
15
15
  "LICENSE",
@@ -136,6 +136,9 @@ module HealthMonitoring
136
136
  :show
137
137
  end
138
138
 
139
+ #alias index to monitor health if for default routes
140
+ alias_method :index, :monitor_health unless method_defined?( :index )
141
+
139
142
  ActionController::Routing::Routes.draw do |map|
140
143
  map.resource controller_name, :controller => controller_name, :only => base_methods, :member => { :monitor_health => :get }
141
144
  end
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.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blythe Dunham
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-13 00:00:00 -08:00
12
+ date: 2010-01-28 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency