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

ruby-changes:73481

From: David <ko1@a...>
Date: Thu, 8 Sep 2022 20:44:48 +0900 (JST)
Subject: [ruby-changes:73481] e0cd466ae7 (master): [rubygems/rubygems] Fix unused variable warning

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

From e0cd466ae71cd483b73d28128df1a02dd52fcb92 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...>
Date: Thu, 8 Sep 2022 12:10:34 +0200
Subject: [rubygems/rubygems] Fix unused variable warning

https://github.com/rubygems/rubygems/commit/ca8d47e53a
---
 spec/bundler/bundler/endpoint_specification_spec.rb | 2 --
 1 file changed, 2 deletions(-)

diff --git a/spec/bundler/bundler/endpoint_specification_spec.rb b/spec/bundler/bundler/endpoint_specification_spec.rb
index 81fcd76e01..7dd6925007 100644
--- a/spec/bundler/bundler/endpoint_specification_spec.rb
+++ b/spec/bundler/bundler/endpoint_specification_spec.rb
@@ -54,8 +54,6 @@ RSpec.describe Bundler::EndpointSpecification do https://github.com/ruby/ruby/blob/trunk/spec/bundler/bundler/endpoint_specification_spec.rb#L54
       let(:required_ruby_version) { existing_value }
 
       it "should return the current value when already set on endpoint specification" do
-        remote_spec = double(:remote_spec, :required_ruby_version => "remote_value", :required_rubygems_version => nil)
-
         expect(spec.required_ruby_version). eql?(existing_value)
       end
     end
-- 
cgit v1.2.1


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

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