conjur-rack-heartbeat 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 +5 -5
- data/lib/conjur-rack-heartbeat.rb +7 -1
- data/lib/rack/heartbeat/sinatra.rb +20 -0
- data/rack-heartbeat.gemspec +1 -1
- metadata +16 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 0aed2e1c5727587ff7c0a87eee7ff36d7e51534755aa1e3c3cd6dd512042c306
|
4
|
+
data.tar.gz: 697bd0e9cea60f1d30297d91d5a57dc541575f792bd7cde4817c68ebfaed84f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e39f47e48f3e5a5a0725213771c61bc2148c625822b9df434b01c0ca2b8f63357d65dd249f6ffe44a335d25a5039b9fb6f1e0a21c8c7ca9e37cf602b7bad1b39
|
7
|
+
data.tar.gz: 5370a49f3524a99684aee7f4e312e9cf45d6012bb60986308e1e9af903c600b4211c8ccfb4a4b04a9324dfbf475572545f74bdfa2fc552a908c8a2274813c806
|
@@ -0,0 +1,20 @@
|
|
1
|
+
require 'rack/heartbeat'
|
2
|
+
|
3
|
+
module Conjur
|
4
|
+
module Rack
|
5
|
+
module Heartbeat
|
6
|
+
module Sinatra
|
7
|
+
|
8
|
+
def self.extended cls
|
9
|
+
cls.module_eval do
|
10
|
+
|
11
|
+
configure :appliance do
|
12
|
+
use ::Rack::Heartbeat
|
13
|
+
end
|
14
|
+
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
data/rack-heartbeat.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |gem|
|
|
11
11
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
12
12
|
gem.name = "conjur-rack-heartbeat"
|
13
13
|
gem.require_paths = ["lib"]
|
14
|
-
gem.version = '2.
|
14
|
+
gem.version = '2.1.0'
|
15
15
|
|
16
16
|
gem.add_development_dependency('minitest')
|
17
17
|
gem.add_development_dependency('rack-test')
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: conjur-rack-heartbeat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Cox
|
@@ -9,62 +9,62 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2018-04-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: minitest
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '0'
|
21
21
|
type: :development
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- -
|
25
|
+
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '0'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: rack-test
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- -
|
32
|
+
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: '0'
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- -
|
39
|
+
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '0'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: minitest-junit
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- -
|
46
|
+
- - ">="
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: '0'
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- -
|
53
|
+
- - ">="
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: '0'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: rack
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- -
|
60
|
+
- - ">="
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '0'
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- -
|
67
|
+
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
70
|
description:
|
@@ -75,8 +75,8 @@ executables: []
|
|
75
75
|
extensions: []
|
76
76
|
extra_rdoc_files: []
|
77
77
|
files:
|
78
|
-
- .gitignore
|
79
|
-
- .project
|
78
|
+
- ".gitignore"
|
79
|
+
- ".project"
|
80
80
|
- Gemfile
|
81
81
|
- LICENSE
|
82
82
|
- README.md
|
@@ -86,6 +86,7 @@ files:
|
|
86
86
|
- lib/conjur-rack-heartbeat.rb
|
87
87
|
- lib/rack/heartbeat.rb
|
88
88
|
- lib/rack/heartbeat/railtie.rb
|
89
|
+
- lib/rack/heartbeat/sinatra.rb
|
89
90
|
- rack-heartbeat.gemspec
|
90
91
|
- test/helper.rb
|
91
92
|
- test/rack/test_heartbeat.rb
|
@@ -98,17 +99,17 @@ require_paths:
|
|
98
99
|
- lib
|
99
100
|
required_ruby_version: !ruby/object:Gem::Requirement
|
100
101
|
requirements:
|
101
|
-
- -
|
102
|
+
- - ">="
|
102
103
|
- !ruby/object:Gem::Version
|
103
104
|
version: '0'
|
104
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
105
106
|
requirements:
|
106
|
-
- -
|
107
|
+
- - ">="
|
107
108
|
- !ruby/object:Gem::Version
|
108
109
|
version: '0'
|
109
110
|
requirements: []
|
110
111
|
rubyforge_project:
|
111
|
-
rubygems_version: 2.
|
112
|
+
rubygems_version: 2.7.6
|
112
113
|
signing_key:
|
113
114
|
specification_version: 4
|
114
115
|
summary: Provides OPTIONS / as a heartbeat URL
|