dependabot-bundler 0.392.0 → 0.393.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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 39fcadba0e242442b3e47d0eb3217a64830dde572424d06266a89b31bbfde55a
|
|
4
|
+
data.tar.gz: 99a0d72550c281c293e7a6ccd8e992402e3df5e44bf7bdb9c2473938c5eb98d0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 825f095afb8b27e725f15a083b0301a686e020d6a9023817b2a7a9f35c0b8d98df667fe583d1bccb270ae9232778e04b326fead86ec2bc778769ed0d36f5d8e2
|
|
7
|
+
data.tar.gz: 240587e72dec8f0184e0cdd91c8506e6cb84d7d01c449a006560c52237345e5cbd3536b92462a45c61f83a2c95471dcf5e58a2363337af815bf85deabb8d64a7
|
|
@@ -49,7 +49,7 @@ module Dependabot
|
|
|
49
49
|
#
|
|
50
50
|
# @param dependency [Dependabot::Dependency] the dependency to check
|
|
51
51
|
# @param target_version [String] the version to check
|
|
52
|
-
# @return [Array<Hash{String =>
|
|
52
|
+
# @return [Array<Hash{String => Object}]
|
|
53
53
|
# * name [String] the blocking dependencies name
|
|
54
54
|
# * version [String] the version of the blocking dependency
|
|
55
55
|
# * requirement [String] the requirement on the target_dependency
|
|
@@ -58,7 +58,7 @@ module Dependabot
|
|
|
58
58
|
dependency: Dependabot::Dependency,
|
|
59
59
|
target_version: String
|
|
60
60
|
)
|
|
61
|
-
.returns(T::Array[
|
|
61
|
+
.returns(T::Array[Dependabot::UpdateCheckers::Conflict])
|
|
62
62
|
end
|
|
63
63
|
def conflicting_dependencies(dependency:, target_version:)
|
|
64
64
|
return [] if lockfile.nil?
|
|
@@ -131,7 +131,7 @@ module Dependabot
|
|
|
131
131
|
cooldown_options_builder.release_cooldown_options(@update_cooldown)
|
|
132
132
|
end
|
|
133
133
|
|
|
134
|
-
sig { override.returns(T::Array[
|
|
134
|
+
sig { override.returns(T::Array[Dependabot::UpdateCheckers::Conflict]) }
|
|
135
135
|
def conflicting_dependencies
|
|
136
136
|
ConflictingDependencyResolver.new(
|
|
137
137
|
dependency_files: dependency_files,
|
|
@@ -297,7 +297,7 @@ module Dependabot
|
|
|
297
297
|
# we want to update that tag. The latest version will then be the SHA
|
|
298
298
|
# of the latest tag that looks like a version.
|
|
299
299
|
latest_tag = git_commit_checker.local_tag_for_pinned_version_ref(git_dependency_cooldown)
|
|
300
|
-
return latest_tag.
|
|
300
|
+
return latest_tag.tag_sha || dependency.version if latest_tag
|
|
301
301
|
|
|
302
302
|
# If the dependency is pinned to a tag that doesn't look like a
|
|
303
303
|
# version then there's nothing we can do.
|
|
@@ -321,7 +321,7 @@ module Dependabot
|
|
|
321
321
|
# of the latest tag that looks like a version.
|
|
322
322
|
if latest_git_tag_is_resolvable?
|
|
323
323
|
new_tag = git_commit_checker.local_tag_for_pinned_version_ref(git_dependency_cooldown)
|
|
324
|
-
return new_tag&.
|
|
324
|
+
return new_tag&.tag_sha
|
|
325
325
|
end
|
|
326
326
|
|
|
327
327
|
# If the dependency is pinned to a tag that doesn't look like a
|
|
@@ -358,7 +358,7 @@ module Dependabot
|
|
|
358
358
|
latest_tag_details = git_commit_checker.local_tag_for_pinned_version_ref(git_dependency_cooldown)
|
|
359
359
|
return false unless latest_tag_details
|
|
360
360
|
|
|
361
|
-
git_tag_resolvable?(latest_tag_details.
|
|
361
|
+
git_tag_resolvable?(latest_tag_details.tag)
|
|
362
362
|
end
|
|
363
363
|
|
|
364
364
|
sig { params(release: T.untyped).returns(T::Boolean) }
|
|
@@ -376,7 +376,7 @@ module Dependabot
|
|
|
376
376
|
# Update the git tag if updating a pinned version
|
|
377
377
|
if latest_git_tag_is_resolvable?
|
|
378
378
|
new_tag = git_commit_checker.local_tag_for_pinned_version_ref(git_dependency_cooldown)
|
|
379
|
-
return T.must(dependency_source_details).merge(ref: T.must(new_tag).
|
|
379
|
+
return T.must(dependency_source_details).merge(ref: T.must(new_tag).tag)
|
|
380
380
|
end
|
|
381
381
|
|
|
382
382
|
# Otherwise return the original source
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dependabot-bundler
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.393.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dependabot
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - '='
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 0.
|
|
18
|
+
version: 0.393.0
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - '='
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 0.
|
|
25
|
+
version: 0.393.0
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: parallel
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -354,7 +354,7 @@ licenses:
|
|
|
354
354
|
- MIT
|
|
355
355
|
metadata:
|
|
356
356
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
|
357
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
|
357
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.393.0
|
|
358
358
|
rdoc_options: []
|
|
359
359
|
require_paths:
|
|
360
360
|
- lib
|