dependabot-common 0.124.4 → 0.125.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.
Potentially problematic release.
This version of dependabot-common might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/dependabot/shared_helpers.rb +3 -1
- data/lib/dependabot/update_checkers/base.rb +10 -0
- data/lib/dependabot/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e489f6c5c7b1d69d80357335298b9f9fcc3b7e2d0055a93b598efe2988694574
|
4
|
+
data.tar.gz: ed57cd62c40ba0180c679c83ba7998ffc37c2762abd909b1b7f49b6a396d52c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 858eda286ffc2e3874ddb279b692774566f3016566265896a21620bed3d2a0da44917ccf554f01d7902bbd28b4399e47fcb89a64f1212351cc82a1f9dc8417be
|
7
|
+
data.tar.gz: dc2e6cc12d8890d3c4646e8757239d452ca3ab478599fa8438b73eaf8cce816bdc4402dcac640fe425689c7a0e0f72b20516be01ba1d37b826f75d54058a1e11
|
@@ -19,6 +19,7 @@ module Dependabot
|
|
19
19
|
"#{Excon::USER_AGENT} ruby/#{RUBY_VERSION} "\
|
20
20
|
"(#{RUBY_PLATFORM}) "\
|
21
21
|
"(+https://github.com/dependabot/dependabot-core)"
|
22
|
+
SIGKILL = 9
|
22
23
|
|
23
24
|
class ChildProcessFailed < StandardError
|
24
25
|
attr_reader :error_class, :error_message, :error_backtrace
|
@@ -108,7 +109,8 @@ module Dependabot
|
|
108
109
|
args: args,
|
109
110
|
time_taken: time_taken,
|
110
111
|
stderr_output: stderr ? stderr[0..50_000] : "", # Truncate to ~100kb
|
111
|
-
process_exit_value: process.to_s
|
112
|
+
process_exit_value: process.to_s,
|
113
|
+
process_termsig: process.termsig
|
112
114
|
}
|
113
115
|
|
114
116
|
response = JSON.parse(stdout)
|
@@ -93,6 +93,16 @@ module Dependabot
|
|
93
93
|
raise NotImplementedError
|
94
94
|
end
|
95
95
|
|
96
|
+
# Finds any dependencies in the lockfile that have a subdependency on the
|
97
|
+
# given dependency that do not satisfy the target_version.
|
98
|
+
# @return [Array<Hash{String => String}]
|
99
|
+
# name [String] the blocking dependencies name
|
100
|
+
# version [String] the version of the blocking dependency
|
101
|
+
# requirement [String] the requirement on the target_dependency
|
102
|
+
def conflicting_dependencies
|
103
|
+
[] # return an empty array for ecosystems that don't support this yet
|
104
|
+
end
|
105
|
+
|
96
106
|
def latest_resolvable_previous_version(_updated_version)
|
97
107
|
dependency.version
|
98
108
|
end
|
data/lib/dependabot/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-common
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.125.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-codecommit
|