dependabot-hex 0.384.0 → 0.385.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 +4 -4
- data/lib/dependabot/hex/update_checker.rb +5 -5
- 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: c5d9723fe0658eadcd093dfe708fe932c1d5f93d4957fac0c4e2cec6e796903d
|
|
4
|
+
data.tar.gz: 2f473f391a55d83e4a3353719b86811b45c58237d36ac66a6843d89a48ffc486
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 699531c5c37ef832d693b246fd3359e768cc5aaba9fb3aa3209a77d03ae79086ff34294af2012d4f5b4605c694cca81013b06fa219635dad17c2c6f531831037
|
|
7
|
+
data.tar.gz: 71b30be5cd3f511eb61ac14ed1546be622b1d562972404cbc73f4137f28af4f220a2f5bae67a29a9df9882d1c706dc2a843c0a70bf7bfc44b023570c29f3acd6
|
|
@@ -90,7 +90,7 @@ module Dependabot
|
|
|
90
90
|
# of the latest tag that looks like a version.
|
|
91
91
|
if git_commit_checker.pinned_ref_looks_like_version? &&
|
|
92
92
|
latest_git_tag_is_resolvable?
|
|
93
|
-
new_tag = git_commit_checker.local_tag_for_latest_version
|
|
93
|
+
new_tag = git_commit_checker.local_tag_for_latest_version(update_cooldown)
|
|
94
94
|
return T.must(new_tag).fetch(:commit_sha)
|
|
95
95
|
end
|
|
96
96
|
|
|
@@ -125,7 +125,7 @@ module Dependabot
|
|
|
125
125
|
# we want to update that tag. The latest version will then be the SHA
|
|
126
126
|
# of the latest tag that looks like a version.
|
|
127
127
|
if git_commit_checker.pinned_ref_looks_like_version?
|
|
128
|
-
latest_tag = git_commit_checker.local_tag_for_latest_version
|
|
128
|
+
latest_tag = git_commit_checker.local_tag_for_latest_version(update_cooldown)
|
|
129
129
|
return latest_tag&.fetch(:commit_sha) || dependency.version
|
|
130
130
|
end
|
|
131
131
|
|
|
@@ -140,9 +140,9 @@ module Dependabot
|
|
|
140
140
|
|
|
141
141
|
@latest_git_tag_is_resolvable_checked = T.let(true, T.nilable(T::Boolean))
|
|
142
142
|
|
|
143
|
-
return false if git_commit_checker.local_tag_for_latest_version.nil?
|
|
143
|
+
return false if git_commit_checker.local_tag_for_latest_version(update_cooldown).nil?
|
|
144
144
|
|
|
145
|
-
replacement_tag = git_commit_checker.local_tag_for_latest_version
|
|
145
|
+
replacement_tag = git_commit_checker.local_tag_for_latest_version(update_cooldown)
|
|
146
146
|
|
|
147
147
|
prepared_files = FilePreparer.new(
|
|
148
148
|
dependency: dependency,
|
|
@@ -175,7 +175,7 @@ module Dependabot
|
|
|
175
175
|
# Update the git tag if updating a pinned version
|
|
176
176
|
if git_commit_checker.pinned_ref_looks_like_version? &&
|
|
177
177
|
latest_git_tag_is_resolvable?
|
|
178
|
-
new_tag = git_commit_checker.local_tag_for_latest_version
|
|
178
|
+
new_tag = git_commit_checker.local_tag_for_latest_version(update_cooldown)
|
|
179
179
|
return T.must(dependency_source_details).merge(ref: T.must(new_tag).fetch(:tag))
|
|
180
180
|
end
|
|
181
181
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dependabot-hex
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.385.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.385.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.385.0
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: debug
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -274,7 +274,7 @@ licenses:
|
|
|
274
274
|
- MIT
|
|
275
275
|
metadata:
|
|
276
276
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
|
277
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
|
277
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.385.0
|
|
278
278
|
rdoc_options: []
|
|
279
279
|
require_paths:
|
|
280
280
|
- lib
|