dependabot-cargo 0.115.1 → 0.115.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df175d04b102d39c8778e1e86f95ff9d6ea0d934d278333239fb6830dc301ec0
|
4
|
+
data.tar.gz: e6afb869ca614c559929531b5076f5a02158fed290ca5ae66c7070d6b3c98e6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39344bd23c446dffa065e3daff355e478d95d2dff5abe9fe4eb7a85fb9d1f6f5e63f667f23ac4fc417503c95b96346d2b8405d08536299ce9d1e3ec73c0910f7
|
7
|
+
data.tar.gz: c89c423c4a03f5c9365d8f87b5f82189dd3bad72063b3c65e1fdc25be1f471f0914f8d409a73cf9269d655d67612949e028412d11d4c5b3bd0cd75ef85b926b2
|
@@ -98,7 +98,6 @@ module Dependabot
|
|
98
98
|
files
|
99
99
|
end
|
100
100
|
|
101
|
-
# rubocop:disable Metrics/CyclomaticComplexity
|
102
101
|
# rubocop:disable Metrics/PerceivedComplexity
|
103
102
|
def fetch_path_dependency_files(file:, previously_fetched_files:)
|
104
103
|
current_dir = file.name.rpartition("/").first
|
@@ -133,7 +132,7 @@ module Dependabot
|
|
133
132
|
raise Dependabot::PathDependenciesNotReachable,
|
134
133
|
unfetchable_required_path_deps
|
135
134
|
end
|
136
|
-
|
135
|
+
|
137
136
|
# rubocop:enable Metrics/PerceivedComplexity
|
138
137
|
|
139
138
|
def path_dependency_paths_from_file(file)
|
@@ -217,7 +216,6 @@ module Dependabot
|
|
217
216
|
|
218
217
|
# Check whether a path is required or not. It will not be required if
|
219
218
|
# an alternative source (i.e., a git source) is also specified
|
220
|
-
# rubocop:disable Metrics/AbcSize
|
221
219
|
# rubocop:disable Metrics/CyclomaticComplexity
|
222
220
|
# rubocop:disable Metrics/PerceivedComplexity
|
223
221
|
def required_path?(file, path)
|
@@ -256,7 +254,7 @@ module Dependabot
|
|
256
254
|
|
257
255
|
false
|
258
256
|
end
|
259
|
-
|
257
|
+
|
260
258
|
# rubocop:enable Metrics/CyclomaticComplexity
|
261
259
|
# rubocop:enable Metrics/PerceivedComplexity
|
262
260
|
|
@@ -7,8 +7,6 @@ require "dependabot/cargo/file_updater"
|
|
7
7
|
require "dependabot/cargo/file_updater/manifest_updater"
|
8
8
|
require "dependabot/cargo/file_parser"
|
9
9
|
require "dependabot/shared_helpers"
|
10
|
-
|
11
|
-
# rubocop:disable Metrics/ClassLength
|
12
10
|
module Dependabot
|
13
11
|
module Cargo
|
14
12
|
class FileUpdater
|
@@ -68,8 +66,6 @@ module Dependabot
|
|
68
66
|
raise Dependabot::DependencyFileNotResolvable, error.message
|
69
67
|
end
|
70
68
|
|
71
|
-
# rubocop:disable Metrics/AbcSize
|
72
|
-
# rubocop:disable Metrics/CyclomaticComplexity
|
73
69
|
# rubocop:disable Metrics/PerceivedComplexity
|
74
70
|
def better_specification_needed?(error)
|
75
71
|
return false if @custom_specification
|
@@ -99,8 +95,7 @@ module Dependabot
|
|
99
95
|
@custom_specification = spec_options.first
|
100
96
|
true
|
101
97
|
end
|
102
|
-
|
103
|
-
# rubocop:enable Metrics/CyclomaticComplexity
|
98
|
+
|
104
99
|
# rubocop:enable Metrics/PerceivedComplexity
|
105
100
|
|
106
101
|
def dependency_spec
|
@@ -378,4 +373,3 @@ module Dependabot
|
|
378
373
|
end
|
379
374
|
end
|
380
375
|
end
|
381
|
-
# rubocop:enable Metrics/ClassLength
|
@@ -7,8 +7,6 @@ require "dependabot/cargo/update_checker"
|
|
7
7
|
require "dependabot/cargo/file_parser"
|
8
8
|
require "dependabot/cargo/version"
|
9
9
|
require "dependabot/errors"
|
10
|
-
|
11
|
-
# rubocop:disable Metrics/ClassLength
|
12
10
|
module Dependabot
|
13
11
|
module Cargo
|
14
12
|
class UpdateChecker
|
@@ -80,8 +78,6 @@ module Dependabot
|
|
80
78
|
end
|
81
79
|
end
|
82
80
|
|
83
|
-
# rubocop:disable Metrics/AbcSize
|
84
|
-
# rubocop:disable Metrics/CyclomaticComplexity
|
85
81
|
# rubocop:disable Metrics/PerceivedComplexity
|
86
82
|
def better_specification_needed?(error)
|
87
83
|
return false if @custom_specification
|
@@ -111,8 +107,7 @@ module Dependabot
|
|
111
107
|
@custom_specification = spec_options.first
|
112
108
|
true
|
113
109
|
end
|
114
|
-
|
115
|
-
# rubocop:enable Metrics/CyclomaticComplexity
|
110
|
+
|
116
111
|
# rubocop:enable Metrics/PerceivedComplexity
|
117
112
|
|
118
113
|
def dependency_spec
|
@@ -431,4 +426,3 @@ module Dependabot
|
|
431
426
|
end
|
432
427
|
end
|
433
428
|
end
|
434
|
-
# rubocop:enable Metrics/ClassLength
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-cargo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.115.
|
4
|
+
version: 0.115.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-12-
|
11
|
+
date: 2019-12-20 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.115.
|
19
|
+
version: 0.115.2
|
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.115.
|
26
|
+
version: 0.115.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|