dependabot-dep 0.119.0 → 0.119.5

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: bde8a3f9bac976742996174145819227eab928b63af014bb6142a3032595fb5b
4
- data.tar.gz: e04cd3d6b28262f6b8041ea13a259aabcacdc2ccbdef378f97a951ae79e154c5
3
+ metadata.gz: c0032326abb5c677228c758e3d2f74b011e1b2e439956eb6e26032009645c944
4
+ data.tar.gz: 00a6d96885b21cfe75485714b8f3bed8783ba319f103324e20aa8456cfc77931
5
5
  SHA512:
6
- metadata.gz: db62c7ce50885fe820be24e610d0c96091b8b29f2fbf0d60d0a053c8ddb26935eef99a4a156447206d3e6aac27cb89193a8c6db4e69b205b039c8b5656586d86
7
- data.tar.gz: 74d323c8abc033380c33b1013e85dd810b6128b00179821cd1735670e28fb890b7ea6e6fd7a2c8bc0f37b2ad1b92c257dc16b35f0d90ed7d4ea934beb61e5df5
6
+ metadata.gz: 66fffff9a14731a1793ad221cf1f7b8d9f0adba3ed3e635974d21968983b28b0e21566e01464f6acd1960d0527415d0192b6ae836f4f87a6e2adf1d611be2401
7
+ data.tar.gz: e0bace189198866a1d0ccc5a7a0038cfaeb6dff63c539edd2b724cde8f86b2e6266f4b5702a25fd5f10a9e86015177df1e4d0336640a8e9238dca76a0299a65b
@@ -21,6 +21,7 @@ module Dependabot
21
21
  )
22
22
  end
23
23
 
24
+ # rubocop:disable Metrics/PerceivedComplexity
24
25
  # Used in dependabot-backend, which doesn't have access to any Go
25
26
  # helpers.
26
27
  # TODO: remove the need for this.
@@ -52,6 +53,7 @@ module Dependabot
52
53
 
53
54
  import_details[2]
54
55
  end
56
+ # rubocop:enable Metrics/PerceivedComplexity
55
57
 
56
58
  def self.fetch_path_metadata(path)
57
59
  # TODO: This is not robust! Instead, we should shell out to Go and
@@ -60,7 +60,6 @@ module Dependabot
60
60
  private
61
61
 
62
62
  def convert_go_constraint_to_ruby_constraint(req_string)
63
- req_string = req_string
64
63
  req_string = convert_wildcard_characters(req_string)
65
64
 
66
65
  if req_string.match?(WILDCARD_REGEX)
@@ -93,7 +93,6 @@ module Dependabot
93
93
  dependency_files.none? { |f| f.type == "package_main" }
94
94
  end
95
95
 
96
- # rubocop:disable Metrics/PerceivedComplexity
97
96
  def latest_resolvable_version_for_git_dependency
98
97
  return latest_version if modules_dependency?
99
98
 
@@ -127,8 +126,6 @@ module Dependabot
127
126
  nil
128
127
  end
129
128
 
130
- # rubocop:enable Metrics/PerceivedComplexity
131
-
132
129
  def version_from_tag(tag)
133
130
  # To compare with the current version we either use the commit SHA
134
131
  # (if that's what the parser picked up) of the tag name.
@@ -168,6 +168,7 @@ module Dependabot
168
168
  lower_bound_req + ", <= #{latest_allowable_version}"
169
169
  end
170
170
 
171
+ # rubocop:disable Metrics/PerceivedComplexity
171
172
  def lower_bound_version
172
173
  @lower_bound_version ||=
173
174
  if version_from_lockfile
@@ -185,6 +186,7 @@ module Dependabot
185
186
  version_from_requirement || 0
186
187
  end
187
188
  end
189
+ # rubocop:enable Metrics/PerceivedComplexity
188
190
 
189
191
  def version_from_lockfile
190
192
  return unless lockfile
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-dep
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.119.0
4
+ version: 0.119.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-26 00:00:00.000000000 Z
11
+ date: 2020-09-21 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.119.0
19
+ version: 0.119.5
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.119.0
26
+ version: 0.119.5
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 0.88.0
103
+ version: 0.90.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 0.88.0
110
+ version: 0.90.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: vcr
113
113
  requirement: !ruby/object:Gem::Requirement