dependabot-bundler 0.221.0 → 0.222.0

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: d40d32f52d7c7b0a2123fbce414596aa59453e3b6499a27ea8dd9ce03d26decc
4
- data.tar.gz: 31f43c44fa56a3ac4514924f4ea07ee4bea54aeb7899a0b80b89eac843ea5408
3
+ metadata.gz: d4b0cd1d53ff5dd4949d1a05f4997f58226952701c028a0fe55dffba229c73ed
4
+ data.tar.gz: 326a9af151e726b984e87e21198960bf723291630b4a7400a95322bad5b9f0d7
5
5
  SHA512:
6
- metadata.gz: 87a2ec83bf5572ffb184a545fed9933253d3cfc6611beb4916b93c4834c809ddbef1f9be399954dafae3bb23f84df392897b9154c594d46f96cc99d42432bee5
7
- data.tar.gz: e070f67c42e490d443873805a1fa8d2e2d86b3bc013403bb4bd367d9103c9b2a618ac26769045c07aa98788112f78660b2808a65ba7436a30e6862d3ace7942a
6
+ metadata.gz: 1e4792a504b20d2a44babbd01a9bf006efb583afd1c4f7968c35c41965e832f88fa530f02e12f5a908faf5e15558d7166f42eae7c4b17595bb6dd7e6acce1808
7
+ data.tar.gz: 4b431dab95098f6419c9e3d8c06701519f8262a6bfe558d95f3890b7326a793824f9ab9b080bbab93dd64c05b2dbba6f2f2145fd8d3b300f6d0eeede94f286ce
@@ -50,13 +50,7 @@ module Dependabot
50
50
  end
51
51
 
52
52
  def new_source_type
53
- sources =
54
- dependency.requirements.map { |r| r.fetch(:source) }.uniq.compact
55
-
56
- return "default" if sources.empty?
57
- raise "Multiple sources! #{sources.join(', ')}" if sources.count > 1
58
-
59
- sources.first[:type] || sources.first.fetch("type")
53
+ dependency.source_type
60
54
  end
61
55
 
62
56
  def find_source_from_rubygems
@@ -306,12 +306,7 @@ module Dependabot
306
306
  end
307
307
 
308
308
  def dependency_source_details
309
- sources =
310
- dependency.requirements.map { |r| r.fetch(:source) }.uniq.compact
311
-
312
- raise "Multiple sources! #{sources.join(', ')}" if sources.count > 1
313
-
314
- sources.first
309
+ dependency.source_details
315
310
  end
316
311
 
317
312
  def force_updater
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.221.0
4
+ version: 0.222.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-13 00:00:00.000000000 Z
11
+ date: 2023-07-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.221.0
19
+ version: 0.222.0
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.221.0
26
+ version: 0.222.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -268,7 +268,7 @@ licenses:
268
268
  - Nonstandard
269
269
  metadata:
270
270
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
271
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.221.0
271
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.222.0
272
272
  post_install_message:
273
273
  rdoc_options: []
274
274
  require_paths: