From 5335ce0e060c7a2a0b01c57f8f8a64254f2658e1 Mon Sep 17 00:00:00 2001 From: hsbt Date: Wed, 21 Nov 2018 10:20:47 +0000 Subject: Merge master branch from rubygems/rubygems upstream. * Enable Style/MethodDefParentheses in Rubocop https://github.com/rubygems/rubygems/pull/2478 * Enable Style/MultilineIfThen in Rubocop https://github.com/rubygems/rubygems/pull/2479 * Fix required_ruby_version with prereleases and improve error message https://github.com/rubygems/rubygems/pull/2344 * Fix bundler rubygems binstub not properly looking for bundler https://github.com/rubygems/rubygems/pull/2426 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/rubygems/test_gem_resolver_specification.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/rubygems/test_gem_resolver_specification.rb') diff --git a/test/rubygems/test_gem_resolver_specification.rb b/test/rubygems/test_gem_resolver_specification.rb index 50ac7ec3a1..c184cea352 100644 --- a/test/rubygems/test_gem_resolver_specification.rb +++ b/test/rubygems/test_gem_resolver_specification.rb @@ -7,7 +7,7 @@ class TestGemResolverSpecification < Gem::TestCase attr_writer :source attr_reader :spec - def initialize spec + def initialize(spec) super() @spec = spec @@ -62,4 +62,3 @@ class TestGemResolverSpecification < Gem::TestCase end end - -- cgit v1.2.3