1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[bundler/bundler] Check for generic lockfiles

https://github.com/bundler/bundler/commit/344a881592
This commit is contained in:
David Rodríguez 2019-07-23 13:01:33 +02:00 committed by Hiroshi SHIBATA
parent bb50f87b69
commit 9d82962af3
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2
3 changed files with 3 additions and 5 deletions

View file

@ -62,7 +62,7 @@ RSpec.describe Bundler::Definition do
rack (1.0.0)
PLATFORMS
ruby
#{lockfile_platforms}
DEPENDENCIES
foo!

View file

@ -3,9 +3,7 @@
RSpec.describe "bundle platform" do
context "without flags" do
let(:bundle_platform_platforms_string) do
platforms = [rb]
platforms.unshift(specific_local_platform) if Bundler.feature_flag.bundler_3_mode?
platforms.map {|pl| "* #{pl}" }.join("\n")
local_platforms.reverse.map {|pl| "* #{pl}" }.join("\n")
end
it "returns all the output" do

View file

@ -324,7 +324,7 @@ RSpec.describe "bundle update" do
rack (1.0.0)
PLATFORMS
ruby
#{lockfile_platforms}
DEPENDENCIES
foo!