heartcheck 1.6.0 → 2.0.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
2
  SHA256:
3
- metadata.gz: fed2c06a96d7634c09c6fe251fa1141ae794e155f115fd4dd7fe6b236d23e102
4
- data.tar.gz: c9fd911606f724e3b07ee6a1e193a7cdb120f8954b8ecbf6a46355d5941c008e
3
+ metadata.gz: d14258cd1e2e38dcb178d3d9c79439e7ba91fcc782eb4afb314a1079de1732a0
4
+ data.tar.gz: 59ad3f9d54dc8dbe80357cfecc8119bbfa159c848f124810e36f5f359d7a3002
5
5
  SHA512:
6
- metadata.gz: 393a78e4e6edb537421441b23bef99a6704f345d3e2d5a9a0ada35b92c31dd9109cd70fafee36a003f7ccdaa16fdc9768180eb1856ffe6e8c27cdec9c56458c5
7
- data.tar.gz: a901b80c607f49852cfd8f0843f6f666b32e76c5d7cec2ba7bfb0530fb1e294ad7eb84da977041b7800eeb5eaf120d3c999dc5c7b02d85cbdf94a7b98d77c9de
6
+ metadata.gz: 598d75bdb62bafad9248747d5b1f00343d97afa6595e59319a53e2a50b029ae82f7e168cc66d51478d5736a54c650d64c60ff75184ae05d7cd864ea4ca916d3d
7
+ data.tar.gz: 3ddc01e48c62351bea3df82f2e1a4a30bf390a3dc0a908c395a0afb11b4dad117a9b3a778252a43e5b21255bc99cf166aaf55c10e25506631341609e6c42c53b
@@ -5,19 +5,9 @@ script:
5
5
  - bin/rspec
6
6
  matrix:
7
7
  include:
8
- - rvm: "1.9.3"
9
- gemfile: Gemfile-old-ruby
10
- - rvm: "2.0.0"
11
- gemfile: Gemfile-old-ruby
12
- - rvm: "2.1.0"
13
- gemfile: Gemfile-old-ruby
14
- - rvm: "2.1.5"
15
- gemfile: Gemfile-old-ruby
16
- - rvm: "2.2.1"
17
- gemfile: Gemfile-old-ruby
18
- - rvm: "2.2.2"
19
8
  - rvm: "2.3.0"
20
9
  - rvm: "2.3.3"
21
10
  - rvm: "2.4.1"
22
11
  - rvm: "2.5.7"
23
12
  - rvm: "2.6.5"
13
+ - rvm: "2.7.0"
data/CHANGELOG CHANGED
@@ -1,5 +1,11 @@
1
1
  = Heart Check - Changelog
2
2
 
3
+ == Version 2.0.0 :: 2020-03-10
4
+
5
+ * Add support for ruby 2.7
6
+ * Remove support for ruby < 2.3
7
+ * Change required version for gem rack to fit for all supported ruby versions
8
+
3
9
  == Version 1.6.0 :: 2019-10-07
4
10
 
5
11
  * Add support for ruby 2.5 and 2.6
@@ -1,4 +1,6 @@
1
- lib = File.expand_path('../lib', __FILE__)
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path('lib', __dir__)
2
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
5
  require 'heartcheck/version'
4
6
 
@@ -10,25 +12,29 @@ Gem::Specification.new do |spec|
10
12
  spec.homepage = 'http://github.com/locaweb/heartcheck/'
11
13
  spec.summary = 'A simple way to check if your app is runnig like as expected.'
12
14
  spec.description = 'A simple way to check your app heart.'
13
- spec.license = 'MIT'
15
+ spec.license = 'MIT'
14
16
 
15
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
16
- spec.bindir = "exe"
17
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
+ f.match(%r{^(test|spec|features)/})
19
+ end
20
+ spec.bindir = 'exe'
17
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
18
- spec.require_paths = ["lib"]
22
+ spec.require_paths = ['lib']
23
+
24
+ spec.required_ruby_version = '>= 2.3'
19
25
 
20
- spec.add_runtime_dependency 'rack', '>= 1.4.0', '< 2.1'
21
26
  spec.add_runtime_dependency 'multi_json', '~> 1.0'
22
27
  spec.add_runtime_dependency 'net-telnet', '~> 0.1.1'
28
+ spec.add_runtime_dependency 'rack', '~> 2.2'
23
29
  spec.add_runtime_dependency 'sys-uname', '~> 1.0', '>= 1.0.3'
24
30
 
25
- spec.add_development_dependency 'rake'
31
+ spec.add_development_dependency 'concurrent-ruby', '~> 1.0.2'
32
+ spec.add_development_dependency 'oj', '~> 2.18'
26
33
  spec.add_development_dependency 'pry-nav', '~> 0.2.4'
34
+ spec.add_development_dependency 'rack-test', '~> 1.1'
35
+ spec.add_development_dependency 'rake'
27
36
  spec.add_development_dependency 'rspec', '~> 3.5.0'
28
37
  spec.add_development_dependency 'rubocop'
29
38
  spec.add_development_dependency 'thor', '~> 0.19.1'
30
- spec.add_development_dependency 'rack-test', '~> 0.6.3'
31
- spec.add_development_dependency 'oj', '~> 2.18'
32
39
  spec.add_development_dependency 'yard', '~> 0.9.5'
33
- spec.add_development_dependency 'concurrent-ruby', '~> 1.0.2'
34
40
  end
@@ -1,3 +1,3 @@
1
1
  module Heartcheck
2
- VERSION = '1.6.0'.freeze
2
+ VERSION = '2.0.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,63 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heartcheck
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Locaweb
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-07 00:00:00.000000000 Z
11
+ date: 2020-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: rack
14
+ name: multi_json
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: 1.4.0
20
- - - "<"
17
+ - - "~>"
21
18
  - !ruby/object:Gem::Version
22
- version: '2.1'
19
+ version: '1.0'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: 1.4.0
30
- - - "<"
24
+ - - "~>"
31
25
  - !ruby/object:Gem::Version
32
- version: '2.1'
26
+ version: '1.0'
33
27
  - !ruby/object:Gem::Dependency
34
- name: multi_json
28
+ name: net-telnet
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
31
  - - "~>"
38
32
  - !ruby/object:Gem::Version
39
- version: '1.0'
33
+ version: 0.1.1
40
34
  type: :runtime
41
35
  prerelease: false
42
36
  version_requirements: !ruby/object:Gem::Requirement
43
37
  requirements:
44
38
  - - "~>"
45
39
  - !ruby/object:Gem::Version
46
- version: '1.0'
40
+ version: 0.1.1
47
41
  - !ruby/object:Gem::Dependency
48
- name: net-telnet
42
+ name: rack
49
43
  requirement: !ruby/object:Gem::Requirement
50
44
  requirements:
51
45
  - - "~>"
52
46
  - !ruby/object:Gem::Version
53
- version: 0.1.1
47
+ version: '2.2'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
51
  requirements:
58
52
  - - "~>"
59
53
  - !ruby/object:Gem::Version
60
- version: 0.1.1
54
+ version: '2.2'
61
55
  - !ruby/object:Gem::Dependency
62
56
  name: sys-uname
63
57
  requirement: !ruby/object:Gem::Requirement
@@ -79,19 +73,33 @@ dependencies:
79
73
  - !ruby/object:Gem::Version
80
74
  version: 1.0.3
81
75
  - !ruby/object:Gem::Dependency
82
- name: rake
76
+ name: concurrent-ruby
83
77
  requirement: !ruby/object:Gem::Requirement
84
78
  requirements:
85
- - - ">="
79
+ - - "~>"
86
80
  - !ruby/object:Gem::Version
87
- version: '0'
81
+ version: 1.0.2
88
82
  type: :development
89
83
  prerelease: false
90
84
  version_requirements: !ruby/object:Gem::Requirement
91
85
  requirements:
92
- - - ">="
86
+ - - "~>"
93
87
  - !ruby/object:Gem::Version
94
- version: '0'
88
+ version: 1.0.2
89
+ - !ruby/object:Gem::Dependency
90
+ name: oj
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '2.18'
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '2.18'
95
103
  - !ruby/object:Gem::Dependency
96
104
  name: pry-nav
97
105
  requirement: !ruby/object:Gem::Requirement
@@ -107,21 +115,21 @@ dependencies:
107
115
  - !ruby/object:Gem::Version
108
116
  version: 0.2.4
109
117
  - !ruby/object:Gem::Dependency
110
- name: rspec
118
+ name: rack-test
111
119
  requirement: !ruby/object:Gem::Requirement
112
120
  requirements:
113
121
  - - "~>"
114
122
  - !ruby/object:Gem::Version
115
- version: 3.5.0
123
+ version: '1.1'
116
124
  type: :development
117
125
  prerelease: false
118
126
  version_requirements: !ruby/object:Gem::Requirement
119
127
  requirements:
120
128
  - - "~>"
121
129
  - !ruby/object:Gem::Version
122
- version: 3.5.0
130
+ version: '1.1'
123
131
  - !ruby/object:Gem::Dependency
124
- name: rubocop
132
+ name: rake
125
133
  requirement: !ruby/object:Gem::Requirement
126
134
  requirements:
127
135
  - - ">="
@@ -135,47 +143,47 @@ dependencies:
135
143
  - !ruby/object:Gem::Version
136
144
  version: '0'
137
145
  - !ruby/object:Gem::Dependency
138
- name: thor
146
+ name: rspec
139
147
  requirement: !ruby/object:Gem::Requirement
140
148
  requirements:
141
149
  - - "~>"
142
150
  - !ruby/object:Gem::Version
143
- version: 0.19.1
151
+ version: 3.5.0
144
152
  type: :development
145
153
  prerelease: false
146
154
  version_requirements: !ruby/object:Gem::Requirement
147
155
  requirements:
148
156
  - - "~>"
149
157
  - !ruby/object:Gem::Version
150
- version: 0.19.1
158
+ version: 3.5.0
151
159
  - !ruby/object:Gem::Dependency
152
- name: rack-test
160
+ name: rubocop
153
161
  requirement: !ruby/object:Gem::Requirement
154
162
  requirements:
155
- - - "~>"
163
+ - - ">="
156
164
  - !ruby/object:Gem::Version
157
- version: 0.6.3
165
+ version: '0'
158
166
  type: :development
159
167
  prerelease: false
160
168
  version_requirements: !ruby/object:Gem::Requirement
161
169
  requirements:
162
- - - "~>"
170
+ - - ">="
163
171
  - !ruby/object:Gem::Version
164
- version: 0.6.3
172
+ version: '0'
165
173
  - !ruby/object:Gem::Dependency
166
- name: oj
174
+ name: thor
167
175
  requirement: !ruby/object:Gem::Requirement
168
176
  requirements:
169
177
  - - "~>"
170
178
  - !ruby/object:Gem::Version
171
- version: '2.18'
179
+ version: 0.19.1
172
180
  type: :development
173
181
  prerelease: false
174
182
  version_requirements: !ruby/object:Gem::Requirement
175
183
  requirements:
176
184
  - - "~>"
177
185
  - !ruby/object:Gem::Version
178
- version: '2.18'
186
+ version: 0.19.1
179
187
  - !ruby/object:Gem::Dependency
180
188
  name: yard
181
189
  requirement: !ruby/object:Gem::Requirement
@@ -190,20 +198,6 @@ dependencies:
190
198
  - - "~>"
191
199
  - !ruby/object:Gem::Version
192
200
  version: 0.9.5
193
- - !ruby/object:Gem::Dependency
194
- name: concurrent-ruby
195
- requirement: !ruby/object:Gem::Requirement
196
- requirements:
197
- - - "~>"
198
- - !ruby/object:Gem::Version
199
- version: 1.0.2
200
- type: :development
201
- prerelease: false
202
- version_requirements: !ruby/object:Gem::Requirement
203
- requirements:
204
- - - "~>"
205
- - !ruby/object:Gem::Version
206
- version: 1.0.2
207
201
  description: A simple way to check your app heart.
208
202
  email:
209
203
  - desenvolvedores@locaweb.com.br
@@ -219,7 +213,6 @@ files:
219
213
  - ".travis.yml"
220
214
  - CHANGELOG
221
215
  - Gemfile
222
- - Gemfile-old-ruby
223
216
  - LICENSE.txt
224
217
  - README.md
225
218
  - Rakefile
@@ -269,14 +262,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
269
262
  requirements:
270
263
  - - ">="
271
264
  - !ruby/object:Gem::Version
272
- version: '0'
265
+ version: '2.3'
273
266
  required_rubygems_version: !ruby/object:Gem::Requirement
274
267
  requirements:
275
268
  - - ">="
276
269
  - !ruby/object:Gem::Version
277
270
  version: '0'
278
271
  requirements: []
279
- rubygems_version: 3.0.3
272
+ rubygems_version: 3.1.2
280
273
  signing_key:
281
274
  specification_version: 4
282
275
  summary: A simple way to check if your app is runnig like as expected.
@@ -1,7 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in heartcheck.gemspec
4
- gemspec
5
-
6
- gem 'rack', '~> 1.6'
7
- gem 'rubocop', '~> 0.41.2'