vault-tools 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +29 -26
- data/lib/vault-tools/version.rb +1 -1
- data/lib/vault-tools/web.rb +7 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94e958db62b7b6488e9e8369e0c2067cabd5a9ffdb6c2ebe91e774266dea2785
|
4
|
+
data.tar.gz: 75fbf49120000e5c48ff9b2ae1647aa88a63fc8e23fe64528c307653c310c5fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2cf15adf12bef707094105199bc93bbe11c54f8c6ca75b441d7860e3df0efab710c139a4425cb85b1e55ed3cdb3b41d96e4d2ef3188f162a000e5eec022c1cb
|
7
|
+
data.tar.gz: 1e0f0e3f31feaa53fdfb08c5788f91f13bd78d3142eacdc4a3b03d2ee9ad3a1aae68372d84c9a2983c7846e436f7c63b35456690648262a3e2ce0babcfc2a0fb
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
vault-tools (2.0.
|
4
|
+
vault-tools (2.0.2)
|
5
5
|
aws-sdk-s3 (~> 1.0)
|
6
6
|
coderay
|
7
7
|
excon
|
@@ -16,24 +16,25 @@ PATH
|
|
16
16
|
GEM
|
17
17
|
remote: https://rubygems.org/
|
18
18
|
specs:
|
19
|
-
aws-eventstream (1.0
|
20
|
-
aws-partitions (1.
|
21
|
-
aws-sdk-core (3.
|
22
|
-
aws-eventstream (~> 1.0)
|
23
|
-
aws-partitions (~> 1.0)
|
24
|
-
aws-sigv4 (~> 1.
|
19
|
+
aws-eventstream (1.1.0)
|
20
|
+
aws-partitions (1.332.0)
|
21
|
+
aws-sdk-core (3.100.0)
|
22
|
+
aws-eventstream (~> 1, >= 1.0.2)
|
23
|
+
aws-partitions (~> 1, >= 1.239.0)
|
24
|
+
aws-sigv4 (~> 1.1)
|
25
25
|
jmespath (~> 1.0)
|
26
|
-
aws-sdk-kms (1.
|
27
|
-
aws-sdk-core (~> 3, >= 3.
|
28
|
-
aws-sigv4 (~> 1.
|
29
|
-
aws-sdk-s3 (1.
|
30
|
-
aws-sdk-core (~> 3, >= 3.
|
26
|
+
aws-sdk-kms (1.34.1)
|
27
|
+
aws-sdk-core (~> 3, >= 3.99.0)
|
28
|
+
aws-sigv4 (~> 1.1)
|
29
|
+
aws-sdk-s3 (1.69.1)
|
30
|
+
aws-sdk-core (~> 3, >= 3.99.0)
|
31
31
|
aws-sdk-kms (~> 1)
|
32
|
-
aws-sigv4 (~> 1.
|
33
|
-
aws-sigv4 (1.0
|
32
|
+
aws-sigv4 (~> 1.1)
|
33
|
+
aws-sigv4 (1.2.0)
|
34
|
+
aws-eventstream (~> 1, >= 1.0.2)
|
34
35
|
coderay (1.1.2)
|
35
36
|
dotenv (2.5.0)
|
36
|
-
excon (0.
|
37
|
+
excon (0.75.0)
|
37
38
|
fernet (2.0)
|
38
39
|
valcro (= 0.1)
|
39
40
|
guard-compat (1.2.1)
|
@@ -47,33 +48,35 @@ GEM
|
|
47
48
|
minitest (5.11.3)
|
48
49
|
minitest-around (0.5.0)
|
49
50
|
minitest (~> 5.0)
|
50
|
-
multi_json (1.
|
51
|
-
mustermann (1.
|
52
|
-
|
51
|
+
multi_json (1.14.1)
|
52
|
+
mustermann (1.1.1)
|
53
|
+
ruby2_keywords (~> 0.0.1)
|
54
|
+
nokogiri (1.10.9)
|
53
55
|
mini_portile2 (~> 2.4.0)
|
54
56
|
pry (0.12.2)
|
55
57
|
coderay (~> 1.1.0)
|
56
58
|
method_source (~> 0.9.0)
|
57
59
|
rack (2.0.6)
|
58
|
-
rack-protection (2.0.
|
60
|
+
rack-protection (2.0.8.1)
|
59
61
|
rack
|
60
62
|
rack-ssl-enforcer (0.2.9)
|
61
63
|
rack-test (1.1.0)
|
62
64
|
rack (>= 1.0, < 3)
|
63
|
-
rake (
|
65
|
+
rake (13.0.1)
|
64
66
|
rdoc (6.1.1)
|
65
67
|
rollbar (2.18.2)
|
66
68
|
multi_json
|
67
69
|
rr (1.2.1)
|
70
|
+
ruby2_keywords (0.0.2)
|
68
71
|
scrolls (0.9.0)
|
69
72
|
shotgun (0.9.2)
|
70
73
|
rack (>= 1.0)
|
71
|
-
sinatra (2.0.
|
74
|
+
sinatra (2.0.8.1)
|
72
75
|
mustermann (~> 1.0)
|
73
76
|
rack (~> 2.0)
|
74
|
-
rack-protection (= 2.0.
|
77
|
+
rack-protection (= 2.0.8.1)
|
75
78
|
tilt (~> 2.0)
|
76
|
-
tilt (2.0.
|
79
|
+
tilt (2.0.10)
|
77
80
|
uuidtools (2.1.5)
|
78
81
|
valcro (0.1)
|
79
82
|
vault-test-tools (1.0.0)
|
@@ -83,7 +86,7 @@ GEM
|
|
83
86
|
rack-test (~> 1.1)
|
84
87
|
rr
|
85
88
|
scrolls (= 0.9)
|
86
|
-
yard (0.9.
|
89
|
+
yard (0.9.25)
|
87
90
|
yard-sinatra (1.0.0)
|
88
91
|
yard (~> 0.7)
|
89
92
|
|
@@ -95,7 +98,7 @@ DEPENDENCIES
|
|
95
98
|
guard-minitest
|
96
99
|
minitest-around
|
97
100
|
pry
|
98
|
-
rake (~>
|
101
|
+
rake (~> 13.0)
|
99
102
|
rdoc
|
100
103
|
shotgun (~> 0.9.2)
|
101
104
|
vault-test-tools (~> 1.0.0)
|
@@ -104,4 +107,4 @@ DEPENDENCIES
|
|
104
107
|
yard-sinatra
|
105
108
|
|
106
109
|
BUNDLED WITH
|
107
|
-
1.17.
|
110
|
+
1.17.3
|
data/lib/vault-tools/version.rb
CHANGED
data/lib/vault-tools/web.rb
CHANGED
@@ -100,6 +100,13 @@ module Vault
|
|
100
100
|
# Start timing the request.
|
101
101
|
before do
|
102
102
|
@start_request = Time.now
|
103
|
+
# if client sends content_type: application/json which no longer works
|
104
|
+
# https://github.com/puma/puma/compare/4.3.1...4.3.5#commitcomment-39478516
|
105
|
+
#
|
106
|
+
# fixing this here so that we do not break all client users at once
|
107
|
+
if request.env["CONTENT_TYPE"].nil? && request.env["HTTP_CONTENT_TYPE"]
|
108
|
+
request.env["CONTENT_TYPE"] = request.env["HTTP_CONTENT_TYPE"]
|
109
|
+
end
|
103
110
|
end
|
104
111
|
|
105
112
|
# Log details about the request including how long it took.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vault-tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Continanza
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2020-06-23 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: scrolls
|
@@ -286,7 +286,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
286
286
|
version: '0'
|
287
287
|
requirements: []
|
288
288
|
rubyforge_project:
|
289
|
-
rubygems_version: 2.7.6
|
289
|
+
rubygems_version: 2.7.6.2
|
290
290
|
signing_key:
|
291
291
|
specification_version: 4
|
292
292
|
summary: Test classes, base web classes, and helpers - oh my!
|