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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3fd060626d820a07606679fa6fb757370c67488b738976ec4f528e639bc1fb9c
4
- data.tar.gz: c424aefa6932893e0aca282dd774e1ed6ca2c074fb5879a1bebc6d0087cc7ee8
3
+ metadata.gz: 5121f740f430a7b89feba081f1057d6cace00c8a9f4f153c29f9d9993c6278c5
4
+ data.tar.gz: d0eab9f0bd3ecfdb7895121529375ec0a5ad655e772b9786da6feef7c5f08c16
5
5
  SHA512:
6
- metadata.gz: 159b814f757a730a0b78680eb185c437e66870d80da63bb1de59294c158ee7973d560b53baef2f9cb85d0ed6aa3fd8e16186217a2796f0fe0287fa430d8e79aa
7
- data.tar.gz: 426252194e9f2852e2e28c7855260145af6a0b4a42d5eab3061dcda070c3d4d93e39ac454c86776997ac6eb300f0b6c81725dedbe576e291ec8efc9e9555177f
6
+ metadata.gz: 03d98b3a3ec84faeda0521ebdb0c33aff202fe4ce80b19d779215481d89193654f7f5b04f825160e26716090de55803310e6eaaf2881ec964e73f0885ff992de
7
+ data.tar.gz: 9195383bd91089453a807e0cd386d24741f20a4e88a10d132ec9d37d2df7e0710202cbebcfc29d9565216739c1a12d8638e3c368ce9925a55cda95e4dd25f4fd
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## v0.86.24, 1 January 2019
2
+
3
+ - Python: Augment hashes from pip-compile if necessary
4
+
1
5
  ## v0.86.23, 1 January 2019
2
6
 
3
7
  - Bump rubygems and bundler versions
@@ -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(/^~\>?/, "")
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dependabot
4
- VERSION = "0.86.23"
4
+ VERSION = "0.86.24"
5
5
  end
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.23
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.1
521
+ rubygems_version: 3.0.2
522
522
  signing_key:
523
523
  specification_version: 4
524
524
  summary: Automated dependency management