dependabot-bundler 0.119.3 → 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: fda284145d248716aeee09d40564d4c0751b104212ea5aca3af86ab4c60cad30
4
- data.tar.gz: 17ab40fd597b920e07a237629879b0b58a5fe44e5e28ef0e01aef14c396969c1
3
+ metadata.gz: b553f381d51096abea464d29db31481e5e9d0d115994defaedc34817215cd036
4
+ data.tar.gz: 7316b4fc824c9c0d2d8f503926cced66c76334bd271f866cc296f2ff5892d22e
5
5
  SHA512:
6
- metadata.gz: 2072e1ef9c1071f82be4880e0a62f4a20e387e75a76b75051c5690ab235da25fab74ee4c7b809907a7293cc9aa956fffac90dcf212f8a1f743e3eb306de0e769
7
- data.tar.gz: e352277354656f09e421fd2100cd94267797729259b1b0bb9a55033f84aeeeb4c6db3a255a891b51cac308aeebf1fb0d6adf3b3abbb23c94e5a183804fa411d1
6
+ metadata.gz: 715c7aa1a560d963e73feee11280cab3ce03aa3662ae7bfe4d6b2bb0f0a5bf39355ff3446259dbeb671b02cb170e14791d6a8f08c8d94a3c3b7932d57561145b
7
+ data.tar.gz: 59d1dbd6c9e8fcdd73dc62b27e2a56def85ccc0fdabe56ac2042e1fae07af158493c5bdd83e5abfaf98283259c9862a3fe4464357be53e9ab3c97ddc2e71363e
@@ -20,6 +20,7 @@ module Dependabot
20
20
  ]
21
21
  end
22
22
 
23
+ # rubocop:disable Metrics/PerceivedComplexity
23
24
  def updated_dependency_files
24
25
  updated_files = []
25
26
 
@@ -59,6 +60,7 @@ module Dependabot
59
60
 
60
61
  updated_files
61
62
  end
63
+ # rubocop:enable Metrics/PerceivedComplexity
62
64
 
63
65
  private
64
66
 
@@ -240,6 +240,7 @@ module Dependabot
240
240
  dependencies_to_unlock << gem_name
241
241
  end
242
242
 
243
+ # rubocop:disable Metrics/PerceivedComplexity
243
244
  def unlock_blocking_subdeps(dependencies_to_unlock, error)
244
245
  all_deps = ::Bundler::LockfileParser.new(sanitized_lockfile_body).
245
246
  specs.map(&:name).map(&:to_s)
@@ -268,6 +269,7 @@ module Dependabot
268
269
  # information to chart the full path through all conflicts unwound
269
270
  dependencies_to_unlock.append(*allowed_new_unlocks)
270
271
  end
272
+ # rubocop:enable Metrics/PerceivedComplexity
271
273
 
272
274
  def build_definition(dependencies_to_unlock)
273
275
  defn = ::Bundler::Definition.build(
@@ -407,6 +409,7 @@ module Dependabot
407
409
  rewrite(gemspec_content)
408
410
  end
409
411
 
412
+ # rubocop:disable Metrics/PerceivedComplexity
410
413
  def replacement_version_for_gemspec(gemspec_content)
411
414
  return "0.0.1" unless lockfile
412
415
 
@@ -423,6 +426,7 @@ module Dependabot
423
426
  spec = gemspec_specs.find { |s| s.name == gem_name }
424
427
  spec&.version || gemspec_specs.first&.version || "0.0.1"
425
428
  end
429
+ # rubocop:enable Metrics/PerceivedComplexity
426
430
 
427
431
  def relevant_credentials
428
432
  credentials.
@@ -214,6 +214,7 @@ module Dependabot
214
214
  lower_bound_req + ", <= #{latest_allowable_version}"
215
215
  end
216
216
 
217
+ # rubocop:disable Metrics/PerceivedComplexity
217
218
  def updated_version_req_lower_bound(filename)
218
219
  original_req = dependency.requirements.
219
220
  find { |r| r.fetch(:file) == filename }&.
@@ -234,6 +235,7 @@ module Dependabot
234
235
  ">= #{version_for_requirement || 0}"
235
236
  end
236
237
  end
238
+ # rubocop:enable Metrics/PerceivedComplexity
237
239
 
238
240
  def remove_git_source(content)
239
241
  FileUpdater::GitSourceRemover.new(
@@ -261,6 +263,7 @@ module Dependabot
261
263
  @lock_ruby_version && file == gemfile
262
264
  end
263
265
 
266
+ # rubocop:disable Metrics/PerceivedComplexity
264
267
  def replacement_version_for_gemspec(gemspec_content)
265
268
  return "0.0.1" unless lockfile
266
269
 
@@ -278,6 +281,7 @@ module Dependabot
278
281
  spec = gemspec_specs.find { |s| s.name == gem_name }
279
282
  spec&.version || gemspec_specs.first&.version || "0.0.1"
280
283
  end
284
+ # rubocop:enable Metrics/PerceivedComplexity
281
285
 
282
286
  def sanitized_lockfile_content
283
287
  re = FileUpdater::LockfileUpdater::LOCKFILE_ENDING
@@ -252,7 +252,6 @@ module Dependabot
252
252
 
253
253
  # Updates the version in a "<" or "<=" constraint to allow the given
254
254
  # version
255
- # rubocop:disable Metrics/PerceivedComplexity
256
255
  def update_greatest_version(requirement, version_to_be_permitted)
257
256
  if version_to_be_permitted.is_a?(String)
258
257
  version_to_be_permitted = Gem::Version.new(version_to_be_permitted)
@@ -278,8 +277,6 @@ module Dependabot
278
277
 
279
278
  Gem::Requirement.new("#{op} #{new_segments.join('.')}")
280
279
  end
281
-
282
- # rubocop:enable Metrics/PerceivedComplexity
283
280
  end
284
281
  end
285
282
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-bundler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.119.3
4
+ version: 0.119.4
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-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.3
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.3
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