dependabot-terraform 0.208.0 → 0.211.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dependabot/terraform/registry_client.rb +6 -6
- metadata +20 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5e39f5c5608fe88a35657b085c5bad6e4162b8e3ded2e537cb96928eb489de3
|
4
|
+
data.tar.gz: ccbff9498afab19c9def1fa7e26ac752a50f4c2add9c610e11288ca64b981f34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c95fca4138a969b8ef650e9332fabf205324502afac11b62947a92bdf0f32e05f2181d3e9b601027408ff6da67c46ba29a68c89c6900cc5e7c3d86866f36ec8
|
7
|
+
data.tar.gz: 8e45fecde37f713824dd1b2268f54899849399a34662feb1cf369147a6cde4ccd8aeb3ae27e8218e104e6fba36c037290da61648c6d4aaa6f5e489b3c999ee78
|
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
require "dependabot/dependency"
|
4
4
|
require "dependabot/errors"
|
5
|
+
require "dependabot/registry_client"
|
5
6
|
require "dependabot/source"
|
6
7
|
require "dependabot/terraform/version"
|
7
8
|
|
@@ -33,11 +34,7 @@ module Dependabot
|
|
33
34
|
url = raw_source.split(%r{(?<!:)//}).first + "?terraform-get=1"
|
34
35
|
host = URI.parse(raw_source).host
|
35
36
|
|
36
|
-
response =
|
37
|
-
url,
|
38
|
-
idempotent: true,
|
39
|
-
**SharedHelpers.excon_defaults
|
40
|
-
)
|
37
|
+
response = Dependabot::RegistryClient.get(url: url)
|
41
38
|
raise PrivateSourceAuthenticationFailure, host if response.status == 401
|
42
39
|
|
43
40
|
return response.headers["X-Terraform-Get"] if response.headers["X-Terraform-Get"]
|
@@ -169,7 +166,10 @@ module Dependabot
|
|
169
166
|
end
|
170
167
|
|
171
168
|
def http_get(url)
|
172
|
-
|
169
|
+
Dependabot::RegistryClient.get(
|
170
|
+
url: url.to_s,
|
171
|
+
headers: headers_for(hostname)
|
172
|
+
)
|
173
173
|
end
|
174
174
|
|
175
175
|
def http_get!(url)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-terraform
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.211.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dependabot-common
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.211.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.211.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: debase
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '2.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: parallel_tests
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 3.11.1
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 3.11.1
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: rake
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,14 +142,14 @@ dependencies:
|
|
128
142
|
requirements:
|
129
143
|
- - "~>"
|
130
144
|
- !ruby/object:Gem::Version
|
131
|
-
version: 1.
|
145
|
+
version: 1.35.1
|
132
146
|
type: :development
|
133
147
|
prerelease: false
|
134
148
|
version_requirements: !ruby/object:Gem::Requirement
|
135
149
|
requirements:
|
136
150
|
- - "~>"
|
137
151
|
- !ruby/object:Gem::Version
|
138
|
-
version: 1.
|
152
|
+
version: 1.35.1
|
139
153
|
- !ruby/object:Gem::Dependency
|
140
154
|
name: ruby-debug-ide
|
141
155
|
requirement: !ruby/object:Gem::Requirement
|