okcomputer 1.17.3 → 1.18.3

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: fde57d901af9782f708289d95f7b37dc2017a6a15746f36bcb93324fe41c14f9
4
- data.tar.gz: 8d6e37830859043fb6e2e7d7b422fc799d6fe604cd91956e0945b75bf7ec16f4
3
+ metadata.gz: 1d75f6ac70b72178da8aba2204e535d0e99453cafa7e2bf969cb436d0c96c540
4
+ data.tar.gz: 5492a49d928732c3353f95836f3dbf11bf6b105fefd6a1223590ca3aa8c456fa
5
5
  SHA512:
6
- metadata.gz: 9108984fd87d7132237dab2bda68de5780b924d39bb074bb451df7e71fa8e02e895a6a79cd43cac186b15e8a8b2c752965ceef140936dea9d68363686a640e02
7
- data.tar.gz: f882fb1f71c77184c0fc0ec8acbe4c59bc08c721ee9477acc64b528794814cb509a21e3310ab42cda7e6912c64cdd1abb1ac98f2a4a9f17a73ccd3f2d7982f04
6
+ metadata.gz: a6ed7187a87456d8fbe37ac6feb097a4d49cea0b6eb7b5111b4b48f47a586f234d7b8630887a590ac64b4fbb9ed81dadeb2c05b75d7ec2615cf4c71d918b4c2e
7
+ data.tar.gz: 9c8b8b2af22dd1dc38a10d2a2c2a8ef06b98814c4153d1deb57f76e107bc7496a377f57e1761304a671e5d374a5e39151b2c7e8e898bca588d130fccb6e099b8
data/README.markdown CHANGED
@@ -17,10 +17,11 @@ OK Computer][blog].
17
17
 
18
18
  OkComputer currently supports the following Rails versions:
19
19
 
20
+ * 6.1
21
+ * 6.0
20
22
  * 5.2
21
23
  * 5.1
22
24
  * 4.2
23
- * 3.2
24
25
 
25
26
  #### Not using Rails?
26
27
 
@@ -42,7 +42,7 @@ module OkComputer
42
42
  end
43
43
 
44
44
  def status_code(check)
45
- check.success? ? :ok : :error
45
+ check.success? ? :ok : :internal_server_error
46
46
  end
47
47
 
48
48
  def authenticate
@@ -6,7 +6,7 @@ module OkComputer
6
6
  connected = Neo4j::Session.current.connection.head.success?
7
7
  url = Neo4j::Session.current.connection.url_prefix.to_s
8
8
  mark_message "Connected to neo4j on #{url}" if connected
9
- rescue Faraday::Error::ConnectionFailed => e
9
+ rescue Faraday::ConnectionFailed => e
10
10
  mark_failure
11
11
  mark_message "Error: #{e.message}"
12
12
  end
@@ -34,7 +34,7 @@ module OkComputer
34
34
  # Returns a String
35
35
  def to_text
36
36
  passfail = success? ? "passed" : "failed"
37
- I18n.t("okcomputer.check.#{passfail}", registrant_name: registrant_name, message: message, time: "#{time ? sprintf('%0.000f', time) : '?'}s")
37
+ I18n.t("okcomputer.check.#{passfail}", registrant_name: registrant_name, message: message, time: "#{time ? sprintf('%.3f', time) : '?'}s")
38
38
  end
39
39
 
40
40
  # Public: The JSON output of performing the check
@@ -1,3 +1,3 @@
1
1
  module OkComputer
2
- VERSION = '1.17.3'
2
+ VERSION = '1.18.3'
3
3
  end
metadata CHANGED
@@ -1,45 +1,45 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: okcomputer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.3
4
+ version: 1.18.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Byrne
8
8
  - Andy Fleener
9
9
  - Chris Arcand
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2018-09-19 00:00:00.000000000 Z
13
+ date: 2021-02-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: sqlite3
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - ">="
19
+ - - "~>"
20
20
  - !ruby/object:Gem::Version
21
- version: '0'
21
+ version: 1.3.6
22
22
  type: :development
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - ">="
26
+ - - "~>"
27
27
  - !ruby/object:Gem::Version
28
- version: '0'
28
+ version: 1.3.6
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: rspec-rails
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - "~>"
34
34
  - !ruby/object:Gem::Version
35
- version: '3.0'
35
+ version: '4.0'
36
36
  type: :development
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - "~>"
41
41
  - !ruby/object:Gem::Version
42
- version: '3.0'
42
+ version: '4.0'
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: coveralls
45
45
  requirement: !ruby/object:Gem::Requirement
@@ -125,7 +125,7 @@ homepage: https://github.com/sportngin/okcomputer
125
125
  licenses:
126
126
  - MIT
127
127
  metadata: {}
128
- post_install_message:
128
+ post_install_message:
129
129
  rdoc_options: []
130
130
  require_paths:
131
131
  - lib
@@ -140,9 +140,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  - !ruby/object:Gem::Version
141
141
  version: '0'
142
142
  requirements: []
143
- rubyforge_project:
144
- rubygems_version: 2.7.6
145
- signing_key:
143
+ rubygems_version: 3.1.4
144
+ signing_key:
146
145
  specification_version: 4
147
146
  summary: A simple, extensible health-check monitor
148
147
  test_files: []