dependabot-dep 0.119.2 → 0.120.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: bdb47ba5dce259082501bf4e0971debeb9065cc43419f6eb29516218c5a53b26
4
- data.tar.gz: d02bd8d1a04f04b9acb75df20f56f54852415f3be0ebc557ed377ab1bf6e7187
3
+ metadata.gz: 7c6804ed4e9b592af5826d480d2675d9096be3df13ace463bf228d2e1e1d3c41
4
+ data.tar.gz: 7cdbff5bad4344581871e1715c9f36f15c736f1c6df66bf5bbd24bca720546f4
5
5
  SHA512:
6
- metadata.gz: 7afe2e477dffc8daee7ef65aaa2b3ae8308ac56dc81edb3e9204cd6967b5514524f6fa24dbf466766308d596c35ae62f3b8e61c0a0d448e921b8cd6c518c1287
7
- data.tar.gz: a4ab82b8e0642562b7f1074b01e6a0c854c725cf334c53625d3eb5a190959e01121afcae9b8a316ebb35880ea73635abba94259611637805c3dcd864440f5d5e
6
+ metadata.gz: 9c97881ebb252dfa7f360613184377d0b7a10fbc15f551d5ee4346427b9825d9baa9fd5a8b9b8a7e1ad8b25118e6569d28c530357fe854fa72c05f3e976e958e
7
+ data.tar.gz: 0b99797cbd47e39fb8a75800c1f2ba27664cfdb1837f0a75b681cba557291289192e67774e784c3166591f45f80c9c3f11d966e3084a28d007841ebe7c62502a
@@ -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.2
4
+ version: 0.120.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-02 00:00:00.000000000 Z
11
+ date: 2020-09-24 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.2
19
+ version: 0.120.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.119.2
26
+ version: 0.120.0
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.91.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.91.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: vcr
113
113
  requirement: !ruby/object:Gem::Requirement