summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbronzdoc <lsagastume1990@gmail.com>2019-08-23 15:21:57 -0600
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-09-05 18:43:37 +0900
commit73574756f944280b920322d0034772c9aeb2bdac (patch)
treea60b4e5bf9a7fc3778c26e14ac808e29814c41cf
parent92be07b1e1a9ca3b0e2588817629c23ab1201701 (diff)
[rubygems/rubygems] Add missing parentheses
https://github.com/rubygems/rubygems/commit/f5972338e0
-rw-r--r--lib/rubygems/commands/build_command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/commands/build_command.rb b/lib/rubygems/commands/build_command.rb
index 0ea5582aae..e2b5def1e8 100644
--- a/lib/rubygems/commands/build_command.rb
+++ b/lib/rubygems/commands/build_command.rb
@@ -82,7 +82,7 @@ Gems can be saved to a specified filename with the output option:
if options[:build_path]
Dir.chdir(File.dirname(gemspec)) do
- spec = Gem::Specification.load File.basename(gemspec)
+ spec = Gem::Specification.load(File.basename(gemspec))
build_package(spec)
end
else