health_check 3.0.0 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/test/testurl CHANGED
@@ -62,4 +62,13 @@ if ARGV[3] and ARGV[3] != ''
62
62
  end
63
63
  end
64
64
 
65
+ if ARGV[4] and ARGV[4] != ''
66
+ if !page_content.to_s.include? ARGV[4]
67
+ puts "PASS (did not find #{ARGV[4]})"
68
+ else
69
+ puts "FAIL (found #{ARGV[4]}) - page contents:" , page_content.to_s, 'END-OF-CONTENTS'
70
+ exit 3
71
+ end
72
+ end
73
+
65
74
  exit 0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: health_check
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Heggie
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-13 00:00:00.000000000 Z
11
+ date: 2021-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -70,18 +70,18 @@ dependencies:
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '1.2'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '1.2'
83
83
  description: " \tSimple health check of Rails app for uptime monitoring with Pingdom,
84
- NewRelic, EngineYard or uptime.openacs.org etc.\n"
84
+ NewRelic, EngineYard etc.\n"
85
85
  email:
86
86
  - ian@heggie.biz
87
87
  executables: []
@@ -103,9 +103,11 @@ files:
103
103
  - init.rb
104
104
  - lib/health_check.rb
105
105
  - lib/health_check/base_health_check.rb
106
+ - lib/health_check/elasticsearch_health_check.rb
106
107
  - lib/health_check/health_check_controller.rb
107
108
  - lib/health_check/health_check_routes.rb
108
109
  - lib/health_check/middleware_health_check.rb
110
+ - lib/health_check/rabbitmq_health_check.rb
109
111
  - lib/health_check/redis_health_check.rb
110
112
  - lib/health_check/resque_health_check.rb
111
113
  - lib/health_check/s3_health_check.rb
@@ -122,13 +124,19 @@ files:
122
124
  - test/provision_vagrant
123
125
  - test/rails_5.0.gemfile
124
126
  - test/rails_5.1.gemfile
127
+ - test/rails_5.2.gemfile
128
+ - test/rails_6.0.gemfile
129
+ - test/rails_6.1.gemfile
130
+ - test/rails_6.2.gemfile
131
+ - test/rails_edge.gemfile
125
132
  - test/setup_railsapp
126
133
  - test/test_with_railsapp
127
134
  - test/testurl
128
135
  homepage: https://github.com/ianheggie/health_check
129
- licenses: []
136
+ licenses:
137
+ - MIT
130
138
  metadata: {}
131
- post_install_message:
139
+ post_install_message:
132
140
  rdoc_options: []
133
141
  require_paths:
134
142
  - lib
@@ -143,12 +151,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
151
  - !ruby/object:Gem::Version
144
152
  version: '0'
145
153
  requirements: []
146
- rubyforge_project:
147
- rubygems_version: 2.5.2
148
- signing_key:
154
+ rubygems_version: 3.2.15
155
+ signing_key:
149
156
  specification_version: 4
150
157
  summary: Simple health check of Rails app for uptime monitoring with Pingdom, NewRelic,
151
- EngineYard or uptime.openacs.org etc.
158
+ EngineYard etc.
152
159
  test_files:
153
160
  - test/fake_smtp_server
154
161
  - test/init_variables
@@ -160,6 +167,11 @@ test_files:
160
167
  - test/provision_vagrant
161
168
  - test/rails_5.0.gemfile
162
169
  - test/rails_5.1.gemfile
170
+ - test/rails_5.2.gemfile
171
+ - test/rails_6.0.gemfile
172
+ - test/rails_6.1.gemfile
173
+ - test/rails_6.2.gemfile
174
+ - test/rails_edge.gemfile
163
175
  - test/setup_railsapp
164
176
  - test/test_with_railsapp
165
177
  - test/testurl