dependabot-hex 0.221.0 → 0.222.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e0ac8f31268af6200b37a368e2d87b45598b2a59ca8611773b1dd535cc3af65
|
4
|
+
data.tar.gz: 9ebc83f62a5e6b3e489cd880ad8b695e1fc915708878645ab95eff4070b913eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3427555eefbfad5bd8e74938c985a485491b71a275d51f703aa833bca50b6a7552ab2f5d793f82fbd542b85ae9a6706f3b791842a18d4b289220e0e9fd6da2d5
|
7
|
+
data.tar.gz: 8d1772570934d84dad29cc9822ab4f112a72416dc5223e512145049ea293fa8811ca38416c16107181617d253fdad147562f2747a53f8089887b841a9edeebc9
|
@@ -26,13 +26,7 @@ module Dependabot
|
|
26
26
|
end
|
27
27
|
|
28
28
|
def new_source_type
|
29
|
-
|
30
|
-
dependency.requirements.map { |r| r.fetch(:source) }.uniq.compact
|
31
|
-
|
32
|
-
return "default" if sources.empty?
|
33
|
-
raise "Multiple sources! #{sources.join(', ')}" if sources.count > 1
|
34
|
-
|
35
|
-
sources.first[:type] || sources.first.fetch("type")
|
29
|
+
dependency.source_type
|
36
30
|
end
|
37
31
|
|
38
32
|
def find_source_from_hex_listing
|
@@ -14,7 +14,7 @@ module Dependabot
|
|
14
14
|
|
15
15
|
# Override the version pattern to allow local versions
|
16
16
|
quoted = OPS.keys.map { |k| Regexp.quote k }.join "|"
|
17
|
-
PATTERN_RAW = "\\s*(#{quoted})?\\s*(#{Hex::Version::VERSION_PATTERN})\\s*"
|
17
|
+
PATTERN_RAW = "\\s*(#{quoted})?\\s*(#{Hex::Version::VERSION_PATTERN})\\s*".freeze
|
18
18
|
PATTERN = /\A#{PATTERN_RAW}\z/
|
19
19
|
|
20
20
|
# Returns an array of requirements. At least one requirement from the
|
@@ -162,12 +162,7 @@ module Dependabot
|
|
162
162
|
end
|
163
163
|
|
164
164
|
def dependency_source_details
|
165
|
-
|
166
|
-
dependency.requirements.map { |r| r.fetch(:source) }.uniq.compact
|
167
|
-
|
168
|
-
raise "Multiple sources! #{sources.join(', ')}" if sources.count > 1
|
169
|
-
|
170
|
-
sources.first
|
165
|
+
dependency.source_details
|
171
166
|
end
|
172
167
|
|
173
168
|
def fetch_latest_resolvable_version(unlock_requirement:)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-hex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.222.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-25 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.
|
19
|
+
version: 0.222.0
|
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.
|
26
|
+
version: 0.222.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: debug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -216,7 +216,7 @@ licenses:
|
|
216
216
|
- Nonstandard
|
217
217
|
metadata:
|
218
218
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
219
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
219
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.222.0
|
220
220
|
post_install_message:
|
221
221
|
rdoc_options: []
|
222
222
|
require_paths:
|