dependabot-bundler 0.98.60 → 0.98.61
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7fce20642e4a6b5daca6902f83cb78c8565d1d43a0c84b28039819a02fa08a02
|
4
|
+
data.tar.gz: 2aa55aca0a4e23d11344787b0c683d6abeb2e2277d074945450ba691061659b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b70fffb7c1232aecd23e7c40f5c536ed38c62a93bae49ed5248f6011f05d61d30ef95754798389326e5a0a4331b67d0d7d33210bd893643388c2aef3658f91d5
|
7
|
+
data.tar.gz: 3ec967ad5d276b207c36f05a8e7d0fbfb76b137570de1944248db687eb7e806553913789fe2ece7741b2ee7074651a3ca16eaf683f2d91d0f9f54a355d032c18
|
@@ -141,23 +141,19 @@ module Dependabot
|
|
141
141
|
when "Bundler::Fetcher::AuthenticationRequiredError"
|
142
142
|
regex = /bundle config (?<source>.*) username:password/
|
143
143
|
source = error.error_message.match(regex)[:source]
|
144
|
-
source = "https://" + source unless source.match?(%r{^https?://})
|
145
144
|
raise Dependabot::PrivateSourceAuthenticationFailure, source
|
146
145
|
when "Bundler::Fetcher::BadAuthenticationError"
|
147
146
|
regex = /Bad username or password for (?<source>.*)\.$/
|
148
147
|
source = error.error_message.match(regex)[:source]
|
149
|
-
source = "https://" + source unless source.match?(%r{^https?://})
|
150
148
|
raise Dependabot::PrivateSourceAuthenticationFailure, source
|
151
149
|
when "Bundler::Fetcher::CertificateFailureError"
|
152
150
|
regex = /verify the SSL certificate for (?<source>.*)\.$/
|
153
151
|
source = error.error_message.match(regex)[:source]
|
154
|
-
source = "https://" + source unless source.match?(%r{^https?://})
|
155
152
|
raise Dependabot::PrivateSourceCertificateFailure, source
|
156
153
|
when "Bundler::HTTPError"
|
157
154
|
regex = /Could not fetch specs from (?<source>.*)$/
|
158
155
|
if error.error_message.match?(regex)
|
159
156
|
source = error.error_message.match(regex)[:source]
|
160
|
-
source = "https://" + source unless source.match?(%r{^https?://})
|
161
157
|
raise if source.include?("rubygems.org")
|
162
158
|
|
163
159
|
raise Dependabot::PrivateSourceTimedOut, source
|
@@ -205,18 +201,13 @@ module Dependabot
|
|
205
201
|
end
|
206
202
|
|
207
203
|
def jfrog_source
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
end
|
216
|
-
return unless source
|
217
|
-
|
218
|
-
source = "https://" + source unless source.match?(%r{^https?://})
|
219
|
-
source
|
204
|
+
in_a_temporary_bundler_context(error_handling: false) do
|
205
|
+
::Bundler::Definition.build(gemfile.name, nil, {}).
|
206
|
+
send(:sources).
|
207
|
+
rubygems_remotes.
|
208
|
+
find { |uri| uri.host.include?("jfrog") }&.
|
209
|
+
host
|
210
|
+
end
|
220
211
|
end
|
221
212
|
|
222
213
|
def write_temporary_dependency_files
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-bundler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.98.
|
4
|
+
version: 0.98.61
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.98.
|
19
|
+
version: 0.98.61
|
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.98.
|
26
|
+
version: 0.98.61
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|