dependabot-dep 0.119.1 → 0.119.6

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: b76542b16d141751238341f42f1daa6a2f1e435a519e78f9052b46287962185f
4
- data.tar.gz: 53444889e068460865590f80f674838cb1f454b08205f710a81b5094e51a7e87
3
+ metadata.gz: 8c25a5e5f74a3c06c9605e000f92039a8ac0661a73c7749303ba73d11fb2b165
4
+ data.tar.gz: cc6a5bcb1ac2a5b43c4839a06f4121494c0f54dc0dfdb43572b20339306f5db0
5
5
  SHA512:
6
- metadata.gz: a0f5ad1f16d977bf92dc2c7ca5eb9c3ca9ea2c084a5339699fcced87991e196e7d9732e269ae0c23638e4587779febb5a6c9e73ee44ba2c6bf7df6bc42fd168f
7
- data.tar.gz: 8938fe1ca9db9197b27e9b67a886d925457d1e29309374bc2a6e76acdffb69b8a705137b9a51e61c189351d33ed548c63ad66af2b8388cdfa0345c1a33dd78e6
6
+ metadata.gz: a99fb667e7696e70c202220f9ca1be861c93143b1e48c6c6c667d9d6cbb4ff3c440ca8a3c279559296f5bca338178e7141c39feac7ac9f3bda165a626f86b712
7
+ data.tar.gz: 4125d180da2f565e3989962270be593ff03d2378fe29b3e100ff5861b34a2abf4333d5461bb6291cea3b3ba53c99d075252488afa6bc9d1056dfa1f148ce58f9
@@ -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.1
4
+ version: 0.119.6
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-28 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.1
19
+ version: 0.119.6
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.1
26
+ version: 0.119.6
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