dependabot-python 0.108.0 → 0.108.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dependabot/python/file_fetcher.rb +2 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41e8294ac601f6d0ac6591e89576793206e3e320acbb6280595e5a8900ffda45
|
4
|
+
data.tar.gz: 43e17cd7b3b0c1b02404ec7f89dc81357a9661b8fd84a176b67d5acb33e614a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec1855f82ef6dcb2f0af6b3da57ec04c87204383591dbf9ba510dc9479919042923fd6c265d353b6df1a48580cea0f99e052ef721f08bd53f0d6f0ead45855b0
|
7
|
+
data.tar.gz: 3fd230cc1164538f6e506eb9dcea7bb70956cd37e31fd0e408ba86c2a8f5d10c004c8f47e8d28dc4b5e8a0d797097741d2c0b309251028e8b8fcf919b7967034
|
@@ -188,6 +188,7 @@ module Dependabot
|
|
188
188
|
repo_contents(dir: relative_reqs_dir).
|
189
189
|
select { |f| f.type == "file" }.
|
190
190
|
select { |f| f.name.end_with?(".txt", ".in") }.
|
191
|
+
reject { |f| f.size > 100_000 }.
|
191
192
|
map { |f| fetch_file_from_host("#{relative_reqs_dir}/#{f.name}") }.
|
192
193
|
select { |f| requirements_file?(f) }
|
193
194
|
end
|
@@ -313,6 +314,7 @@ module Dependabot
|
|
313
314
|
end
|
314
315
|
|
315
316
|
def requirements_file?(file)
|
317
|
+
return false unless file.content.valid_encoding?
|
316
318
|
return true if file.name.match?(/requirements/x)
|
317
319
|
|
318
320
|
file.content.lines.all? do |line|
|
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.108.
|
4
|
+
version: 0.108.1
|
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.108.
|
19
|
+
version: 0.108.1
|
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.108.
|
26
|
+
version: 0.108.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|