dependabot-python 0.95.71 → 0.95.72
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 -2
- data/lib/dependabot/python/file_parser.rb +1 -1
- data/lib/dependabot/python/file_parser/pipfile_files_parser.rb +1 -1
- data/lib/dependabot/python/file_parser/poetry_files_parser.rb +3 -3
- data/lib/dependabot/python/update_checker/latest_version_finder.rb +1 -1
- 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: 2eb5583d55dd7157dae5faaafdcbbac286d7f0c54ffcadf7b8ebc94b73c41aae
|
4
|
+
data.tar.gz: f6d60708bd74261b7025e10266e797abc1fb611f9e3b137dd3b34ab6aa6db241
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 873eb9908ae453dd843ca7b74a9defc1f26f30c9170a9c45b93f03b9751e864134231da1a3093b7a6e9a0795b5a55b9aea4138fd37eaecdde69e86c58cbb5996
|
7
|
+
data.tar.gz: f95a830c234390842ed2f879a59df93c64179dfc83fe3a23fddeafd8b526d1e10ae50d0e54f8f337554dab7f983adca9447ce67d1bab5ffd5e2a162157d0742a
|
@@ -138,7 +138,7 @@ module Dependabot
|
|
138
138
|
raise "No Pipfile" unless pipfile
|
139
139
|
|
140
140
|
@parsed_pipfile ||= TomlRB.parse(pipfile.content)
|
141
|
-
rescue TomlRB::ParseError
|
141
|
+
rescue TomlRB::ParseError, TomlRB::ValueOverwriteError
|
142
142
|
raise Dependabot::DependencyFileNotParseable, pipfile.path
|
143
143
|
end
|
144
144
|
|
@@ -146,7 +146,7 @@ module Dependabot
|
|
146
146
|
raise "No pyproject.toml" unless pyproject
|
147
147
|
|
148
148
|
@parsed_pyproject ||= TomlRB.parse(pyproject.content)
|
149
|
-
rescue TomlRB::ParseError
|
149
|
+
rescue TomlRB::ParseError, TomlRB::ValueOverwriteError
|
150
150
|
raise Dependabot::DependencyFileNotParseable, pyproject.path
|
151
151
|
end
|
152
152
|
|
@@ -189,7 +189,7 @@ module Dependabot
|
|
189
189
|
return true if poetry_lock || pyproject_lock
|
190
190
|
|
191
191
|
!TomlRB.parse(pyproject.content).dig("tool", "poetry").nil?
|
192
|
-
rescue TomlRB::ParseError
|
192
|
+
rescue TomlRB::ParseError, TomlRB::ValueOverwriteError
|
193
193
|
raise Dependabot::DependencyFileNotParseable, pyproject.path
|
194
194
|
end
|
195
195
|
|
@@ -126,7 +126,7 @@ module Dependabot
|
|
126
126
|
|
127
127
|
def parsed_pipfile
|
128
128
|
@parsed_pipfile ||= TomlRB.parse(pipfile.content)
|
129
|
-
rescue TomlRB::ParseError
|
129
|
+
rescue TomlRB::ParseError, TomlRB::ValueOverwriteError
|
130
130
|
raise Dependabot::DependencyFileNotParseable, pipfile.path
|
131
131
|
end
|
132
132
|
|
@@ -94,19 +94,19 @@ module Dependabot
|
|
94
94
|
|
95
95
|
def parsed_pyproject
|
96
96
|
@parsed_pyproject ||= TomlRB.parse(pyproject.content)
|
97
|
-
rescue TomlRB::ParseError
|
97
|
+
rescue TomlRB::ParseError, TomlRB::ValueOverwriteError
|
98
98
|
raise Dependabot::DependencyFileNotParseable, pyproject.path
|
99
99
|
end
|
100
100
|
|
101
101
|
def parsed_pyproject_lock
|
102
102
|
@parsed_pyproject_lock ||= TomlRB.parse(pyproject_lock.content)
|
103
|
-
rescue TomlRB::ParseError
|
103
|
+
rescue TomlRB::ParseError, TomlRB::ValueOverwriteError
|
104
104
|
raise Dependabot::DependencyFileNotParseable, pyproject_lock.path
|
105
105
|
end
|
106
106
|
|
107
107
|
def parsed_poetry_lock
|
108
108
|
@parsed_poetry_lock ||= TomlRB.parse(poetry_lock.content)
|
109
|
-
rescue TomlRB::ParseError
|
109
|
+
rescue TomlRB::ParseError, TomlRB::ValueOverwriteError
|
110
110
|
raise Dependabot::DependencyFileNotParseable, poetry_lock.path
|
111
111
|
end
|
112
112
|
|
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.95.
|
4
|
+
version: 0.95.72
|
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.95.
|
19
|
+
version: 0.95.72
|
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.95.
|
26
|
+
version: 0.95.72
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|