dependabot-python 0.111.30 → 0.111.31
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5e05e93603176a938ef95e729bb951cd05b206225d3a1c5ef56d8ea40abff7a6
|
|
4
|
+
data.tar.gz: 34566aa810eb3ee3a5021d8ed414003ac30a1715ca0487b4d797b0d469d6a005
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d07f92834ba407a7cbf297271e6a8832e56595b118010ecfeea14fc0294b386dd8279f27258407945099314c0208422c57a6991431febe146f6ef10a5dc7470d
|
|
7
|
+
data.tar.gz: b7a0b75d36c18e05a1d44786b36ef499dcf660d5fb3a54fe47e2ebeb29f5a807bd5c2466eea86ffa13cdfb952e992ea9bc27d488a6a7a157120856296cbe07e5
|
|
@@ -162,7 +162,8 @@ module Dependabot
|
|
|
162
162
|
def version_details_from_link(link)
|
|
163
163
|
doc = Nokogiri::XML(link)
|
|
164
164
|
filename = doc.at_css("a")&.content
|
|
165
|
-
|
|
165
|
+
url = doc.at_css("a")&.attributes&.fetch("href")&.value
|
|
166
|
+
return unless filename&.match?(name_regex) || url&.match?(name_regex)
|
|
166
167
|
|
|
167
168
|
version = get_version_from_filename(filename)
|
|
168
169
|
return unless version_class.correct?(version)
|
|
@@ -206,6 +207,7 @@ module Dependabot
|
|
|
206
207
|
Excon.get(
|
|
207
208
|
index_url + normalised_name + "/",
|
|
208
209
|
idempotent: true,
|
|
210
|
+
headers: { "Accept" => "text/html" },
|
|
209
211
|
**SharedHelpers.excon_defaults
|
|
210
212
|
)
|
|
211
213
|
end
|
|
@@ -214,6 +216,7 @@ module Dependabot
|
|
|
214
216
|
Excon.get(
|
|
215
217
|
index_url,
|
|
216
218
|
idempotent: true,
|
|
219
|
+
headers: { "Accept" => "text/html" },
|
|
217
220
|
**SharedHelpers.excon_defaults
|
|
218
221
|
)
|
|
219
222
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dependabot-python
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.111.
|
|
4
|
+
version: 0.111.31
|
|
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.111.
|
|
19
|
+
version: 0.111.31
|
|
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.111.
|
|
26
|
+
version: 0.111.31
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: byebug
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|