heartcheck-webservice 2.0.0 → 2.1.0

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
- SHA1:
3
- metadata.gz: 69c81f0a8ea88221f9db52b9d8eca7a053493bce
4
- data.tar.gz: 294c766bb22999f1b0af0452b6e49011d5c2fd1c
2
+ SHA256:
3
+ metadata.gz: 2818537458277302c796d684383d3f10ef7729adc8f2214b9726e4e6b069d53b
4
+ data.tar.gz: 5b2b082578d72ffb7899c65a2b5ef2f0b2a52cd18018e339c4e9802d723bc96d
5
5
  SHA512:
6
- metadata.gz: 404d88d5fb1c734c367a680579d3307bcfc50daf337ca7c524a15c1c6edbdeb6cffe1162679628b9c9c1ace864448b74b27e622df976e68f6f497fdebdfef580
7
- data.tar.gz: 9316aa576f77a2e0f03ceed0625fa2bcc151e978d647829d81308e6e5cc463fd1e63e6ec77d42fc2c6fa9840ada3f34ade85c6e1d8637cd19a19c55c889ed2b0
6
+ metadata.gz: 0ffc57758a2d46a7544a351538bd8684ed4f09ba45ddf9f044f9ea13f7c47ad9391fbbd9b7921a2e7d9b78fdb0d00a3bda7796cef32e3a0d0fccc94be39981df
7
+ data.tar.gz: bbc16ba99d06fcfed67c482b5ae3ac93750aaaaa027b44de4a0bcf1c9278642b9e922cc7a976b90584a9695d073b9886501202183d14f3fc3f9a043b289e7fff
@@ -12,6 +12,20 @@ module Heartcheck
12
12
  end
13
13
  end
14
14
 
15
+ # list services uri info
16
+ #
17
+ # @return [Array]
18
+ def uri_info
19
+ services.map do |s|
20
+ uri = URI(s[:url])
21
+ {
22
+ host: uri.host,
23
+ port: uri.port,
24
+ scheme: uri.scheme
25
+ }
26
+ end
27
+ end
28
+
15
29
  private
16
30
 
17
31
  DEFAULT_OPEN_TIMEOUT = 3
@@ -2,6 +2,6 @@
2
2
  module Heartcheck
3
3
  # gem version
4
4
  module Webservice
5
- VERSION = '2.0.0'
5
+ VERSION = '2.1.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heartcheck-webservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Locaweb
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-11 00:00:00.000000000 Z
11
+ date: 2018-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: heartcheck
@@ -70,20 +70,14 @@ dependencies:
70
70
  requirements:
71
71
  - - "~>"
72
72
  - !ruby/object:Gem::Version
73
- version: 0.27.0
74
- - - ">="
75
- - !ruby/object:Gem::Version
76
- version: 0.27.1
73
+ version: 0.52.0
77
74
  type: :development
78
75
  prerelease: false
79
76
  version_requirements: !ruby/object:Gem::Requirement
80
77
  requirements:
81
78
  - - "~>"
82
79
  - !ruby/object:Gem::Version
83
- version: 0.27.0
84
- - - ">="
85
- - !ruby/object:Gem::Version
86
- version: 0.27.1
80
+ version: 0.52.0
87
81
  - !ruby/object:Gem::Dependency
88
82
  name: fakeweb
89
83
  requirement: !ruby/object:Gem::Requirement
@@ -110,20 +104,14 @@ dependencies:
110
104
  requirements:
111
105
  - - "~>"
112
106
  - !ruby/object:Gem::Version
113
- version: 0.8.0
114
- - - ">="
115
- - !ruby/object:Gem::Version
116
- version: 0.8.7
107
+ version: 0.9.0
117
108
  type: :development
118
109
  prerelease: false
119
110
  version_requirements: !ruby/object:Gem::Requirement
120
111
  requirements:
121
112
  - - "~>"
122
113
  - !ruby/object:Gem::Version
123
- version: 0.8.0
124
- - - ">="
125
- - !ruby/object:Gem::Version
126
- version: 0.8.7
114
+ version: 0.9.0
127
115
  - !ruby/object:Gem::Dependency
128
116
  name: redcarpet
129
117
  requirement: !ruby/object:Gem::Requirement
@@ -175,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
175
163
  version: '0'
176
164
  requirements: []
177
165
  rubyforge_project:
178
- rubygems_version: 2.6.13
166
+ rubygems_version: 2.7.7
179
167
  signing_key:
180
168
  specification_version: 4
181
169
  summary: A webservice checker.