[前][次][番号順一覧][スレッド一覧]

ruby-changes:61487

From: David <ko1@a...>
Date: Fri, 5 Jun 2020 07:33:17 +0900 (JST)
Subject: [ruby-changes:61487] 1914c4e9b1 (master): [rubygems/rubygems] Pass `--deployment` flag directly

https://git.ruby-lang.org/ruby.git/commit/?id=1914c4e9b1

From 1914c4e9b1b68ac0650f4c3cdf91d9499bbfcf49 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...>
Date: Mon, 25 May 2020 12:17:52 +0200
Subject: [rubygems/rubygems] Pass `--deployment` flag directly

This spec is run only in bundler 2 mode, and it's testing the
`--deployment` flag specifically.

https://github.com/rubygems/rubygems/commit/a5d91c68b6

diff --git a/spec/bundler/commands/outdated_spec.rb b/spec/bundler/commands/outdated_spec.rb
index 2fa3e26..5cbbf8f 100644
--- a/spec/bundler/commands/outdated_spec.rb
+++ b/spec/bundler/commands/outdated_spec.rb
@@ -537,7 +537,7 @@ RSpec.describe "bundle outdated" do https://github.com/ruby/ruby/blob/trunk/spec/bundler/commands/outdated_spec.rb#L537
 
   context "after bundle install --deployment", :bundler => "< 3" do
     before do
-      install_gemfile <<-G, forgotten_command_line_options(:deployment => true)
+      install_gemfile <<-G, :deployment => true
         source "#{file_uri_for(gem_repo2)}"
 
         gem "rack"
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]