dependabot-bundler 0.220.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: 58b8373f1a79444ec9ef16e6ff31a074ce35957d9b0c9856499b5e9f8140d9fb
4
- data.tar.gz: 487bfbe027a7f76d6f31b3765a2109f32e8c83a4e47576739007a678676c1c8a
3
+ metadata.gz: d4b0cd1d53ff5dd4949d1a05f4997f58226952701c028a0fe55dffba229c73ed
4
+ data.tar.gz: 326a9af151e726b984e87e21198960bf723291630b4a7400a95322bad5b9f0d7
5
5
  SHA512:
6
- metadata.gz: acd726064702bd95ea4f44ade4416f67a1c7650bb46ec8384171bff0d36f18663168dff4f1a68be0a3346d02b6cdee740f0a927978a66e4acc54b0fbf5ae4eaf
7
- data.tar.gz: 192b98572506201f8b92e967813011638a7936fade21d2ef723e8dc66c1ae5d171483ed153ef1ef908ca9b0e3be11b169fa54f18acf6a6076e75bf058dc3ac51
6
+ metadata.gz: 1e4792a504b20d2a44babbd01a9bf006efb583afd1c4f7968c35c41965e832f88fa530f02e12f5a908faf5e15558d7166f42eae7c4b17595bb6dd7e6acce1808
7
+ data.tar.gz: 4b431dab95098f6419c9e3d8c06701519f8262a6bfe558d95f3890b7326a793824f9ab9b080bbab93dd64c05b2dbba6f2f2145fd8d3b300f6d0eeede94f286ce
@@ -64,7 +64,7 @@ module Functions
64
64
  # Dependencies that have been unlocked for the update (including
65
65
  # sub-dependencies)
66
66
  unlocked_gems = definition.instance_variable_get(:@unlock).
67
- fetch(:gems).reject { |gem| __keep_on_prune?(gem) }
67
+ fetch(:gems)
68
68
  bundler_opts = {
69
69
  cache_all: true,
70
70
  cache_all_platforms: true,
@@ -84,15 +84,6 @@ module Functions
84
84
  end
85
85
  end
86
86
 
87
- # This is not officially supported and may be removed without notice.
88
- def __keep_on_prune?(spec_name)
89
- unless (specs = Bundler.settings[:persistent_gems_after_clean])
90
- return false
91
- end
92
-
93
- specs.include?(spec_name)
94
- end
95
-
96
87
  # Copied from Bundler::Runtime: Modified to only prune gems that have
97
88
  # been unlocked
98
89
  def prune_gem_cache(resolve, cache_path, unlocked_gems)
@@ -65,7 +65,7 @@ module Functions
65
65
  # Dependencies that have been unlocked for the update (including
66
66
  # sub-dependencies)
67
67
  unlocked_gems = definition.instance_variable_get(:@unlock).
68
- fetch(:gems).reject { |gem| __keep_on_prune?(gem) }
68
+ fetch(:gems)
69
69
  bundler_opts = {
70
70
  cache_all: true,
71
71
  cache_all_platforms: true,
@@ -85,15 +85,6 @@ module Functions
85
85
  end
86
86
  end
87
87
 
88
- # This is not officially supported and may be removed without notice.
89
- def __keep_on_prune?(spec_name)
90
- unless (specs = Bundler.settings[:persistent_gems_after_clean])
91
- return false
92
- end
93
-
94
- specs.include?(spec_name)
95
- end
96
-
97
88
  # Copied from Bundler::Runtime: Modified to only prune gems that have
98
89
  # been unlocked
99
90
  def prune_gem_cache(resolve, cache_path, unlocked_gems)
@@ -23,9 +23,8 @@ module Dependabot
23
23
  "Repo must contain either a Gemfile, a gemspec, or a gems.rb."
24
24
  end
25
25
 
26
- def package_manager_version
26
+ def ecosystem_versions
27
27
  {
28
- ecosystem: "bundler",
29
28
  package_managers: {
30
29
  "bundler" => Helpers.detected_bundler_version(lockfile)
31
30
  }
@@ -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.220.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-06-12 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,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.220.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.220.0
26
+ version: 0.222.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.7.1
33
+ version: 1.8.0
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.7.1
40
+ version: 1.8.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: gpgme
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -136,34 +136,6 @@ dependencies:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
138
  version: 1.17.1
139
- - !ruby/object:Gem::Dependency
140
- name: simplecov
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - "~>"
144
- - !ruby/object:Gem::Version
145
- version: 0.22.0
146
- type: :development
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - "~>"
151
- - !ruby/object:Gem::Version
152
- version: 0.22.0
153
- - !ruby/object:Gem::Dependency
154
- name: simplecov-console
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - "~>"
158
- - !ruby/object:Gem::Version
159
- version: 0.9.1
160
- type: :development
161
- prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - "~>"
165
- - !ruby/object:Gem::Version
166
- version: 0.9.1
167
139
  - !ruby/object:Gem::Dependency
168
140
  name: stackprof
169
141
  requirement: !ruby/object:Gem::Requirement
@@ -296,7 +268,7 @@ licenses:
296
268
  - Nonstandard
297
269
  metadata:
298
270
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
299
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.220.0
271
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.222.0
300
272
  post_install_message:
301
273
  rdoc_options: []
302
274
  require_paths: