dependabot-dep 0.119.0.beta1 → 0.119.4

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: c7244709b306c4cba3d999e712f7f936f0480cd9978731b1ff93aa1ee79e6e38
4
- data.tar.gz: 2308bd61c8ec7c630c957e17301971802e8353e6f992b878bb1806520fc3c017
3
+ metadata.gz: 0df97a1794021ca69861e2bc87e829f08e10d86d1b76adf7cedfa64f835b99ea
4
+ data.tar.gz: c1283c5a33c1e59b7cba91865a8d646dc7466459cf5df65955c9fd9f9be7dba9
5
5
  SHA512:
6
- metadata.gz: 9e2d0c0fbc13aee70834e1d73a6b27fc78d487820f993c509303d359960b10fe1011322522c76b55fb13c24334ffb977798010f7bd391a81bd80ea541fda4bc3
7
- data.tar.gz: 5882e5431efcd88b1b1235ec0431733f80bedd8b49cb7d45a72995b7b28500261925d88be7553e9fc0072e1322ac8255ad9ae99da085c1991a7c70c1533c29f7
6
+ metadata.gz: baee875759c6ab46f2d746bd0a076d0b0da0a3d29574ef241fb37849c5be2bba64ac7f38c673549ddfb3c6af0a27c80565143932fd7947736b2a1aa194b6ea93
7
+ data.tar.gz: 2e42ea1a3f71f96d8dbf2c1f19f537bf0aad9a65f6a02524c33bafe7a8b1a3f18b4140abcbf095c1d5e2574efe17ded60cdfdb21b54514e5d564083a5f5e286e
@@ -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.beta1
4
+ version: 0.119.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-20 00:00:00.000000000 Z
11
+ date: 2020-09-15 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.beta1
19
+ version: 0.119.4
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.beta1
26
+ version: 0.119.4
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
@@ -170,7 +170,7 @@ homepage: https://github.com/dependabot/dependabot-core
170
170
  licenses:
171
171
  - Nonstandard
172
172
  metadata: {}
173
- post_install_message:
173
+ post_install_message:
174
174
  rdoc_options: []
175
175
  require_paths:
176
176
  - lib
@@ -185,8 +185,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
185
185
  - !ruby/object:Gem::Version
186
186
  version: 2.5.0
187
187
  requirements: []
188
- rubygems_version: 3.1.4
189
- signing_key:
188
+ rubygems_version: 3.1.2
189
+ signing_key:
190
190
  specification_version: 4
191
191
  summary: Go dep support for dependabot
192
192
  test_files: []