ruby-changes:61088
From: David <ko1@a...>
Date: Fri, 8 May 2020 14:13:59 +0900 (JST)
Subject: [ruby-changes:61088] 43daf4d288 (master): [rubygems/rubygems] Fix ruby warning about unused local variables
https://git.ruby-lang.org/ruby.git/commit/?id=43daf4d288 From 43daf4d288926c90af716ff0d8306501fd1b3a13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> Date: Mon, 23 Mar 2020 17:51:45 +0100 Subject: [rubygems/rubygems] Fix ruby warning about unused local variables https://github.com/rubygems/rubygems/commit/cca2fccd95 diff --git a/test/rubygems/test_gem_spec_fetcher.rb b/test/rubygems/test_gem_spec_fetcher.rb index d1633c4..0a55c5d 100644 --- a/test/rubygems/test_gem_spec_fetcher.rb +++ b/test/rubygems/test_gem_spec_fetcher.rb @@ -176,7 +176,7 @@ class TestGemSpecFetcher < Gem::TestCase https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_spec_fetcher.rb#L176 fetcher.spec 'examp', 1 end - suggestions = @sf.suggest_gems_from_name('examplw', type = :latest, num_results = 1) + suggestions = @sf.suggest_gems_from_name('examplw', :latest, 1) assert_equal ['example'], suggestions suggestions = @sf.suggest_gems_from_name('other') -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/