dependabot-hex 0.365.0 → 0.366.0
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 +4 -4
- data/helpers/lib/run.exs +3 -2
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ac4e68a48464ffb475aa6746553ec37e7b54232fc3a7f66bd3b19ba56783c4d6
|
|
4
|
+
data.tar.gz: cd2f09b2377fd0bddfc01290edbbd23c58e0deafba2fadaa53ad8d79aa0ba57c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 815bd66e349db3d858e67a797986fabca4ce4e35e8557fa5884d6e3532aed7f88c5117496da5d10e8a6ec9bacf2481bd8f8a2ae8ae7f862cbbc6b1861917c485
|
|
7
|
+
data.tar.gz: 6ac2e8ab8594c8d200e75bd44bd07534f9e8c08d4e5c8ac9879956eaaaef71675c7720b766f1a0399e1fc49be094addd9e541bde22190d081718493a4121d9d9
|
data/helpers/lib/run.exs
CHANGED
|
@@ -6,6 +6,7 @@ defmodule DependencyHelper do
|
|
|
6
6
|
|> case do
|
|
7
7
|
{output, 0} ->
|
|
8
8
|
output = try_decode(output)
|
|
9
|
+
|
|
9
10
|
if output =~ "No authenticated organization found" do
|
|
10
11
|
{:error, output}
|
|
11
12
|
else
|
|
@@ -121,14 +122,14 @@ defmodule DependencyHelper do
|
|
|
121
122
|
|
|
122
123
|
defp fetch_public_key(repo, repo_url, auth_key, fingerprint) do
|
|
123
124
|
case Hex.Repo.get_public_key(%{trusted: true, url: repo_url, auth_key: auth_key}) do
|
|
124
|
-
{:ok, {200,
|
|
125
|
+
{:ok, {200, _headers, key}} ->
|
|
125
126
|
if public_key_matches?(key, fingerprint) do
|
|
126
127
|
{:ok, key}
|
|
127
128
|
else
|
|
128
129
|
{:error, "Public key fingerprint mismatch for repo \"#{repo}\""}
|
|
129
130
|
end
|
|
130
131
|
|
|
131
|
-
{:ok, {code,
|
|
132
|
+
{:ok, {code, _headers, _body}} ->
|
|
132
133
|
{:error, "Downloading public key for repo \"#{repo}\" failed with code: #{inspect(code)}"}
|
|
133
134
|
|
|
134
135
|
other ->
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dependabot-hex
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.366.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dependabot
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - '='
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 0.
|
|
18
|
+
version: 0.366.0
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - '='
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 0.
|
|
25
|
+
version: 0.366.0
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: debug
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -274,7 +274,7 @@ licenses:
|
|
|
274
274
|
- MIT
|
|
275
275
|
metadata:
|
|
276
276
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
|
277
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
|
277
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.366.0
|
|
278
278
|
rdoc_options: []
|
|
279
279
|
require_paths:
|
|
280
280
|
- lib
|