vault-tools 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 42702093fbdf7f071440c64c84d4e19fcad89b6cd59a24040d4e19390104f8de
4
- data.tar.gz: 1acc21cdd6e7b2269f628df0a544fa034a231ecf3e18a732bceaeaf292a3020a
3
+ metadata.gz: 94e958db62b7b6488e9e8369e0c2067cabd5a9ffdb6c2ebe91e774266dea2785
4
+ data.tar.gz: 75fbf49120000e5c48ff9b2ae1647aa88a63fc8e23fe64528c307653c310c5fb
5
5
  SHA512:
6
- metadata.gz: bf9329b888bccc434da560389b8beed4a37761bed3d3ebd97e47a770b9d1a6525761f8cc926bc85808af95643b72356387ecea0338cdfa056aa99a3435a4d2d3
7
- data.tar.gz: a2b4e63e916c2827d1ad65e610280826f5955296c496e115f9ddf126af1edf6f94ff8ba87d324fb377ad9a9288016e560e198b2ce78995e7b3075e2f17d7805c
6
+ metadata.gz: e2cf15adf12bef707094105199bc93bbe11c54f8c6ca75b441d7860e3df0efab710c139a4425cb85b1e55ed3cdb3b41d96e4d2ef3188f162a000e5eec022c1cb
7
+ data.tar.gz: 1e0f0e3f31feaa53fdfb08c5788f91f13bd78d3142eacdc4a3b03d2ee9ad3a1aae68372d84c9a2983c7846e436f7c63b35456690648262a3e2ce0babcfc2a0fb
data/Gemfile CHANGED
@@ -4,7 +4,7 @@ source 'https://rubygems.org'
4
4
  gemspec
5
5
 
6
6
  group :development do
7
- gem 'rake', '~> 12.3'
7
+ gem 'rake', '~> 13.0'
8
8
  gem 'shotgun', '~> 0.9.2'
9
9
  gem 'yard-sinatra'
10
10
  end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- vault-tools (2.0.1)
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.1)
20
- aws-partitions (1.141.0)
21
- aws-sdk-core (3.46.2)
22
- aws-eventstream (~> 1.0)
23
- aws-partitions (~> 1.0)
24
- aws-sigv4 (~> 1.0)
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.13.0)
27
- aws-sdk-core (~> 3, >= 3.39.0)
28
- aws-sigv4 (~> 1.0)
29
- aws-sdk-s3 (1.30.1)
30
- aws-sdk-core (~> 3, >= 3.39.0)
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.0)
33
- aws-sigv4 (1.0.3)
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.62.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.13.1)
51
- mustermann (1.0.3)
52
- nokogiri (1.10.1)
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.5)
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 (12.3.2)
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.5)
74
+ sinatra (2.0.8.1)
72
75
  mustermann (~> 1.0)
73
76
  rack (~> 2.0)
74
- rack-protection (= 2.0.5)
77
+ rack-protection (= 2.0.8.1)
75
78
  tilt (~> 2.0)
76
- tilt (2.0.9)
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.16)
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 (~> 12.3)
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.1
110
+ 1.17.3
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Vault
4
4
  module Tools
5
- VERSION = '2.0.1'
5
+ VERSION = '2.0.2'
6
6
  end
7
7
  end
@@ -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.1
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: 2019-07-02 00:00:00.000000000 Z
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!