dependabot-bundler 0.186.1 → 0.187.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74e210cda55ec43731c1a8c58b679f806566cd3ab793251c5cf54be52e2e41bc
|
4
|
+
data.tar.gz: e162e75ef3bac5bee2b04edd81d201ead66050c210c383876863bbb065688f17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f7d707de1a8dde237bf6b98eabcf442b0e14540e33633b172f7317e6de354d61fd4ad36d49437bbe27fc31da3bd25e0079d8c5fae7b4df896eadc43d3a49a57
|
7
|
+
data.tar.gz: 58d71fe67588f3e17a5b6afa6e975320a6bd4c70f52c3706698c3a5aa275bc07ffad536fa1646995d8592afb4a40f3e28e3f63dbfd1112a39eba29612f8cca5d
|
data/helpers/v2/build
CHANGED
@@ -22,6 +22,6 @@ cd "$install_dir"
|
|
22
22
|
|
23
23
|
# NOTE: Sets `BUNDLED WITH` to match the installed v2 version in Gemfile.lock
|
24
24
|
# forcing specs and native helpers to run with the same version
|
25
|
-
BUNDLER_VERSION=2.3.
|
26
|
-
BUNDLER_VERSION=2.3.
|
27
|
-
BUNDLER_VERSION=2.3.
|
25
|
+
BUNDLER_VERSION=2.3.13 bundle config --local path ".bundle"
|
26
|
+
BUNDLER_VERSION=2.3.13 bundle config --local without "test"
|
27
|
+
BUNDLER_VERSION=2.3.13 bundle install
|
@@ -21,10 +21,6 @@ RSpec.configure do |config|
|
|
21
21
|
config.raise_errors_for_deprecations!
|
22
22
|
end
|
23
23
|
|
24
|
-
# Duplicated in lib/dependabot/bundler/file_updater/lockfile_updater.rb
|
25
|
-
# TODO: Stop sanitizing the lockfile once we have bundler 2 installed
|
26
|
-
LOCKFILE_ENDING = /(?<ending>\s*(?:RUBY VERSION|BUNDLED WITH).*)/m.freeze
|
27
|
-
|
28
24
|
def project_dependency_files(project)
|
29
25
|
project_path = File.expand_path(File.join("../../spec/fixtures/projects/bundler2", project))
|
30
26
|
|
@@ -36,7 +32,6 @@ def project_dependency_files(project)
|
|
36
32
|
files = files.select { |f| File.file?(f) }
|
37
33
|
files.map do |filename|
|
38
34
|
content = File.read(filename)
|
39
|
-
content = content.gsub(LOCKFILE_ENDING, "") if filename == "Gemfile.lock"
|
40
35
|
{
|
41
36
|
name: filename,
|
42
37
|
content: content
|
@@ -217,7 +217,7 @@ module Dependabot
|
|
217
217
|
File.write(path, file.content)
|
218
218
|
end
|
219
219
|
|
220
|
-
File.write(lockfile.name,
|
220
|
+
File.write(lockfile.name, lockfile.content) if lockfile
|
221
221
|
end
|
222
222
|
|
223
223
|
def private_registry_credentials
|
@@ -234,12 +234,6 @@ module Dependabot
|
|
234
234
|
dependency_files.find { |f| f.name == "Gemfile.lock" } ||
|
235
235
|
dependency_files.find { |f| f.name == "gems.locked" }
|
236
236
|
end
|
237
|
-
|
238
|
-
# TODO: Stop sanitizing the lockfile once we have bundler 2 installed
|
239
|
-
def sanitized_lockfile_body
|
240
|
-
re = FileUpdater::LockfileUpdater::LOCKFILE_ENDING
|
241
|
-
lockfile.content.gsub(re, "")
|
242
|
-
end
|
243
237
|
end
|
244
238
|
end
|
245
239
|
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.
|
4
|
+
version: 0.187.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-13 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.
|
19
|
+
version: 0.187.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.
|
26
|
+
version: 0.187.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: debase
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|