status_page 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,8 +2,8 @@ module StatusPage
2
2
  class ApplicationStatus < Status
3
3
  def check
4
4
  super
5
- StatusPage.checks.each do |klass|
6
- status = klass.check
5
+ StatusPage.checks.each do |klass_name|
6
+ status = klass_name.constantize.check
7
7
  @errors += status.errors
8
8
  @warnings += status.warnings
9
9
  end
@@ -1,5 +1,4 @@
1
1
  module StatusPage
2
2
  class Engine < ::Rails::Engine
3
- isolate_namespace StatusPage
4
3
  end
5
4
  end
@@ -1,3 +1,3 @@
1
1
  module StatusPage
2
- VERSION = "1.0.0"
2
+ VERSION = "1.1.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: status_page
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -71,7 +71,6 @@ files:
71
71
  - app/models/status_page/application_status.rb
72
72
  - app/models/status_page/status.rb
73
73
  - app/views/status_page/main/index.html.erb
74
- - config/routes.rb
75
74
  - lib/status_page/engine.rb
76
75
  - lib/status_page/version.rb
77
76
  - lib/status_page.rb
@@ -91,7 +90,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
91
90
  version: '0'
92
91
  segments:
93
92
  - 0
94
- hash: -2125713434494954581
93
+ hash: 1145604001179323210
95
94
  required_rubygems_version: !ruby/object:Gem::Requirement
96
95
  none: false
97
96
  requirements:
@@ -100,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
99
  version: '0'
101
100
  segments:
102
101
  - 0
103
- hash: -2125713434494954581
102
+ hash: 1145604001179323210
104
103
  requirements: []
105
104
  rubyforge_project:
106
105
  rubygems_version: 1.8.24
data/config/routes.rb DELETED
@@ -1,3 +0,0 @@
1
- StatusPage::Engine.routes.draw do
2
- root :to => "main#index"
3
- end