dependabot-dep 0.119.3 → 0.120.1

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: e46547b7c75cd11e0f4409ad4eb17b85826ede6b24538ab70787f22d799d9711
4
- data.tar.gz: 06ff52917a5a9c42925c99a5b607c2f0b707f6bfa76de7d8829f7c35c5f5cbea
3
+ metadata.gz: 9f66fe844429992c22b4dc43b93864145b731e87e58d6c6dbcb6379e36d449e8
4
+ data.tar.gz: 310c17b53b60383bbbb35e038ae9f0f8d8763a9d9e4199a248755ada9bf8f6d7
5
5
  SHA512:
6
- metadata.gz: 92aa4fc47d3be353ad02878866ee7e455a4ec97ab282df41a0968af7e9670120d380ff7ad80816e71ab920c6a32e9be4e038a9fc73525f1a5041489cd0adf4c4
7
- data.tar.gz: 784e0f6af249ad6c01f0b481806232dff11c946373b62d261ffb492fe09be045fa2e4a7e9b19925c20ba2e843557237dabc03687c519002064a86dff871f31a3
6
+ metadata.gz: 22a7ab9592d10bd86f86c5289000ae00aad9e3fc6c9efaf202a1f1d74df95f49c1a345c900617ca4c77d9299303efa25eb33e051627fb6e8eebb97fd482b335a
7
+ data.tar.gz: b9a21a4beadfda6d4e8d20ef95311d43c167b5e9671f401982249408f31577921df8dd0320bcde3b0f8c0920c0542cf79d5d90a1005d55bda6f4c89700162145
@@ -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.3
4
+ version: 0.120.1
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-10 00:00:00.000000000 Z
11
+ date: 2020-09-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.119.3
19
+ version: 0.120.1
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.3
26
+ version: 0.120.1
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