health_check_toolbox 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '08e0d29ece6bf2d0b6f18612857048f37d193a1a1248550cb80ef0bfe246e20d'
4
- data.tar.gz: 8994b78e5e9bab353aaab7abcdef79062d769fe5efebc3cb165e9a5bca91ad4e
3
+ metadata.gz: d44a2c7c35d737e4d4d1ccb5c7016e71ebc2736b650e2391ea23b3982c197f1c
4
+ data.tar.gz: 8796216ff0b66b69396479f1799b4bcb94df517a31bd0cb154a951f132331aff
5
5
  SHA512:
6
- metadata.gz: 850010882c01d96ae0953b2c27950ceb232eb90080c4c84441e0d7e70d14219e6dbd77875a7c7858daf83a4c5d26a76bea0818ee498d75d9cbb071ce97ea4938
7
- data.tar.gz: b86ae94c8f772b531a43279db58f24f18af934a0b4ffcaa1ff36f88adbea1f60a5ae9c0518a2451e7a65f2b6b82feb08163e2cd958d3f704a058b6721a6132bc
6
+ metadata.gz: 76629a6fa5ebd06843b1deca20ba495a8236bd04ce47263a46ce6db9fc93adf7947011acb6a2cffe9eb4a3879229741f7068a95aea35fc1d854cc46bddca4efe
7
+ data.tar.gz: 7db1a9fc67746314f79e7562a78c9f1aca323e47ef26159249120f383ad50cf604fe9bc5eee75779270a8a1a367c5078496e0e162d1c513188c3a773756ea7c9
@@ -48,7 +48,7 @@ module HealthCheckToolbox
48
48
  def try_connect
49
49
  build_response(
50
50
  begin
51
- response = RestClient.get(url, headers)
51
+ response = RestClient.get("#{url}/service_status", headers)
52
52
  response.code == 200
53
53
  rescue StandardError
54
54
  false
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HealthCheckToolbox
4
- VERSION = '1.0.1'
4
+ VERSION = '1.0.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: health_check_toolbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tatiane Guedes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-16 00:00:00.000000000 Z
11
+ date: 2018-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -222,42 +222,42 @@ signing_key:
222
222
  specification_version: 4
223
223
  summary: Tools to provide service status routes and health check
224
224
  test_files:
225
- - spec/dummy/bin/rake
226
- - spec/dummy/bin/yarn
227
- - spec/dummy/bin/bundle
228
- - spec/dummy/bin/rails
229
- - spec/dummy/bin/update
230
- - spec/dummy/bin/setup
225
+ - spec/health_check_toolbox/config_spec.rb
226
+ - spec/health_check_toolbox/status_manager_spec.rb
227
+ - spec/health_check_toolbox/services/rest_services_spec.rb
228
+ - spec/health_check_toolbox/services/database_spec.rb
229
+ - spec/health_check_toolbox/services/wso2_spec.rb
230
+ - spec/health_check_toolbox/services/redis_service_spec.rb
231
+ - spec/health_check_toolbox/health_controller_spec.rb
232
+ - spec/spec_helper.rb
231
233
  - spec/dummy/package.json
232
234
  - spec/dummy/config.ru
235
+ - spec/dummy/config/environment.rb
236
+ - spec/dummy/config/database.yml
237
+ - spec/dummy/config/application.rb
233
238
  - spec/dummy/config/cable.yml
234
- - spec/dummy/config/routes.rb
235
- - spec/dummy/config/environments/development.rb
236
- - spec/dummy/config/environments/test.rb
237
- - spec/dummy/config/environments/production.rb
238
- - spec/dummy/config/initializers/backtrace_silencers.rb
239
+ - spec/dummy/config/spring.rb
239
240
  - spec/dummy/config/initializers/inflections.rb
241
+ - spec/dummy/config/initializers/application_controller_renderer.rb
240
242
  - spec/dummy/config/initializers/assets.rb
241
243
  - spec/dummy/config/initializers/filter_parameter_logging.rb
242
- - spec/dummy/config/initializers/mime_types.rb
243
- - spec/dummy/config/initializers/application_controller_renderer.rb
244
- - spec/dummy/config/initializers/cookies_serializer.rb
245
244
  - spec/dummy/config/initializers/content_security_policy.rb
246
245
  - spec/dummy/config/initializers/wrap_parameters.rb
247
- - spec/dummy/config/puma.rb
248
- - spec/dummy/config/application.rb
249
- - spec/dummy/config/spring.rb
250
- - spec/dummy/config/environment.rb
251
- - spec/dummy/config/boot.rb
252
- - spec/dummy/config/database.yml
246
+ - spec/dummy/config/initializers/cookies_serializer.rb
247
+ - spec/dummy/config/initializers/mime_types.rb
248
+ - spec/dummy/config/initializers/backtrace_silencers.rb
253
249
  - spec/dummy/config/storage.yml
250
+ - spec/dummy/config/boot.rb
251
+ - spec/dummy/config/environments/development.rb
252
+ - spec/dummy/config/environments/test.rb
253
+ - spec/dummy/config/environments/production.rb
254
+ - spec/dummy/config/routes.rb
255
+ - spec/dummy/config/puma.rb
254
256
  - spec/dummy/Rakefile
255
- - spec/health_check_toolbox/health_controller_spec.rb
256
- - spec/health_check_toolbox/config_spec.rb
257
- - spec/health_check_toolbox/services/database_spec.rb
258
- - spec/health_check_toolbox/services/wso2_spec.rb
259
- - spec/health_check_toolbox/services/rest_services_spec.rb
260
- - spec/health_check_toolbox/services/redis_service_spec.rb
261
- - spec/health_check_toolbox/status_manager_spec.rb
257
+ - spec/dummy/bin/setup
258
+ - spec/dummy/bin/bundle
259
+ - spec/dummy/bin/yarn
260
+ - spec/dummy/bin/update
261
+ - spec/dummy/bin/rake
262
+ - spec/dummy/bin/rails
262
263
  - spec/health_check_toolbox_spec.rb
263
- - spec/spec_helper.rb