dependabot-bundler 0.186.1 → 0.189.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: 9af5a8ef11c57a769fa8c49967027f67883445ff9b41400372f12d3ef5ef01a9
|
4
|
+
data.tar.gz: 6891cb89aaed233730474e7ce7de2d23cae09f9978325dbfc4302bfd467476a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eecea0791813dc98cbb6ae2284de05bae7659490f0c875ea861d68fcfb2e6f3968621acf8a2fdf8144549c07ed2c90acc663a1420081cac279ee721e690ac996
|
7
|
+
data.tar.gz: 3629aad72bfc7c57a0d17980eda0621f1a71f5a92c9c3d0065feba6c66e5fb135630ab2eaa4bcfda04cd3165378a43f6f311655ef6c859b3c52487c46cfaf6bd
|
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.189.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-17 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.189.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.189.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: debase
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,14 +128,14 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 1.
|
131
|
+
version: 1.29.1
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 1.
|
138
|
+
version: 1.29.1
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: ruby-debug-ide
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|