okcomputer 1.17.0 → 1.17.1

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
  SHA1:
3
- metadata.gz: 33f92465ed2dd57fac9952e50ae9e781b2a62d3a
4
- data.tar.gz: cc714c99dbd91a357c7185f4a638fae97a4a11e3
3
+ metadata.gz: 6126a535a942b65367805a9f6c1ee5afe56e4e4b
4
+ data.tar.gz: 60d5bc36241ac4a76c934b94b6d9466f9cbfff2a
5
5
  SHA512:
6
- metadata.gz: b49e2f14a69e014adb41b4cc25245fb0829dea9a6471e8911ffbc1b4d3bb4fd2f07d5676b44f24fb511993135d24a05328ac13bd6b34e9e6b273860e6566bb3c
7
- data.tar.gz: 1c94d99abd315f30503d5a95fead13a0cfaafb43e9ddc371bfa9cbc6382e139a26049772c0a8c8762bfcb6fb56a6af87fb7ad8e65bda55c4bf2de9112f254813
6
+ metadata.gz: 6e2dcc008f46b772982e3109e43248b25f6bb61276737eafb8244cf40486083e9874822bcc338c8b6c574a004303c686ef0698dcbc8c594eb3c14902be28b940
7
+ data.tar.gz: 84040eaca97adf8a1e8d646ea8ada739f789e17008e12ab5eb7a301015729be3c06f9d2a2c4c9b66cf21a7b8b078feca01a3f7f9b9dc230b00937dc17bed10f4
@@ -68,6 +68,7 @@ module OkComputer
68
68
  #
69
69
  # Returns the check
70
70
  def register(name, check)
71
+ check.registrant_name = name
71
72
  collection[name] = check
72
73
  end
73
74
 
@@ -40,7 +40,6 @@ module OkComputer
40
40
  # check_object - Instance of Checker to register
41
41
  # collection_name - The name of the check collection the check should be registered to
42
42
  def self.register(check_name, check_object, collection_name=nil)
43
- check_object.registrant_name = check_name
44
43
  find_collection(collection_name).register(check_name, check_object)
45
44
  end
46
45
 
@@ -1,3 +1,3 @@
1
1
  module OkComputer
2
- VERSION = '1.17.0'
2
+ VERSION = '1.17.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: okcomputer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.0
4
+ version: 1.17.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Byrne
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-09-25 00:00:00.000000000 Z
13
+ date: 2017-11-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: sqlite3
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
141
141
  version: '0'
142
142
  requirements: []
143
143
  rubyforge_project:
144
- rubygems_version: 2.6.13
144
+ rubygems_version: 2.5.1
145
145
  signing_key:
146
146
  specification_version: 4
147
147
  summary: A simple, extensible health-check monitor