dependabot-core 0.86.23 → 0.86.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/dependabot/utils/java_script/requirement.rb +3 -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: 5121f740f430a7b89feba081f1057d6cace00c8a9f4f153c29f9d9993c6278c5
|
4
|
+
data.tar.gz: d0eab9f0bd3ecfdb7895121529375ec0a5ad655e772b9786da6feef7c5f08c16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03d98b3a3ec84faeda0521ebdb0c33aff202fe4ce80b19d779215481d89193654f7f5b04f825160e26716090de55803310e6eaaf2881ec964e73f0885ff992de
|
7
|
+
data.tar.gz: 9195383bd91089453a807e0cd386d24741f20a4e88a10d132ec9d37d2df7e0710202cbebcfc29d9565216739c1a12d8638e3c368ce9925a55cda95e4dd25f4fd
|
data/CHANGELOG.md
CHANGED
@@ -57,12 +57,14 @@ module Dependabot
|
|
57
57
|
private
|
58
58
|
|
59
59
|
# rubocop:disable Metrics/PerceivedComplexity
|
60
|
+
# rubocop:disable Metrics/CyclomaticComplexity
|
60
61
|
def convert_js_constraint_to_ruby_constraint(req_string)
|
61
62
|
return req_string if req_string.match?(/^([A-Za-uw-z]|v[^\d])/)
|
62
63
|
|
63
64
|
req_string = req_string.gsub(/(?:\.|^)[xX*]/, "")
|
64
65
|
|
65
66
|
if req_string.empty? then ">= 0"
|
67
|
+
elsif req_string.start_with?("~>") then req_string
|
66
68
|
elsif req_string.start_with?("~") then convert_tilde_req(req_string)
|
67
69
|
elsif req_string.start_with?("^") then convert_caret_req(req_string)
|
68
70
|
elsif req_string.include?(" - ") then convert_hyphen_req(req_string)
|
@@ -71,6 +73,7 @@ module Dependabot
|
|
71
73
|
end
|
72
74
|
end
|
73
75
|
# rubocop:enable Metrics/PerceivedComplexity
|
76
|
+
# rubocop:enable Metrics/CyclomaticComplexity
|
74
77
|
|
75
78
|
def convert_tilde_req(req_string)
|
76
79
|
version = req_string.gsub(/^~\>?/, "")
|
data/lib/dependabot/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.86.
|
4
|
+
version: 0.86.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
@@ -518,7 +518,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
518
518
|
- !ruby/object:Gem::Version
|
519
519
|
version: 2.7.3
|
520
520
|
requirements: []
|
521
|
-
rubygems_version: 3.0.
|
521
|
+
rubygems_version: 3.0.2
|
522
522
|
signing_key:
|
523
523
|
specification_version: 4
|
524
524
|
summary: Automated dependency management
|