dependabot-python 0.106.20 → 0.106.21
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/lib/dependabot/python/file_fetcher.rb +10 -0
- 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: be85a03f5bbd0d14e39fea0cb7db7154cd4a6928410f43b5377d65cc7ce8f88f
|
|
4
|
+
data.tar.gz: 85c12470c58dbc26fce86b2a417499a5671529a6fb8cfdebb3244e64a9712cd2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1f78211b6968ee8c116f6c1c6ac087dbda72bde550823b827a22c127b0fa2651a391749701f026b395c1a942364b4cc69bd3f7fb28d7b974eb0de10b0ffc3fcf
|
|
7
|
+
data.tar.gz: 1d3dd249471e1cef73d03acc80995996ad10224fc500c3da04bdb6c88e6ab69a57dc3bb23858daf5669549ba9aaab142f5b37a319876832856fc201dd5d68fc9
|
|
@@ -103,6 +103,16 @@ module Dependabot
|
|
|
103
103
|
def python_version
|
|
104
104
|
@python_version ||= fetch_file_if_present(".python-version")&.
|
|
105
105
|
tap { |f| f.support_file = true }
|
|
106
|
+
|
|
107
|
+
return @python_version if @python_version
|
|
108
|
+
return if [".", "/"].include?(directory)
|
|
109
|
+
|
|
110
|
+
# Check the top-level for a .python-version file, too
|
|
111
|
+
reverse_path = Pathname.new(directory[0]).relative_path_from(directory)
|
|
112
|
+
@python_version ||=
|
|
113
|
+
fetch_file_if_present(File.join(reverse_path, ".python-version"))&.
|
|
114
|
+
tap { |f| f.support_file = true }&.
|
|
115
|
+
tap { |f| f.name = ".python-version" }
|
|
106
116
|
end
|
|
107
117
|
|
|
108
118
|
def pipfile
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dependabot-python
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.106.
|
|
4
|
+
version: 0.106.21
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dependabot
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-04-
|
|
11
|
+
date: 2019-04-29 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.106.
|
|
19
|
+
version: 0.106.21
|
|
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.106.
|
|
26
|
+
version: 0.106.21
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: byebug
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|