ruby-changes:57556
From: bronzdoc <ko1@a...>
Date: Thu, 5 Sep 2019 20:20:07 +0900 (JST)
Subject: [ruby-changes:57556] 400d693863 (master): [rubygems/rubygems] Remove useless gem setup
https://git.ruby-lang.org/ruby.git/commit/?id=400d693863 From 400d693863cc8b500d9bcaee9529a395f3fe6da7 Mon Sep 17 00:00:00 2001 From: bronzdoc <lsagastume1990@g...> Date: Sun, 18 Aug 2019 15:25:29 -0600 Subject: [rubygems/rubygems] Remove useless gem setup https://github.com/rubygems/rubygems/commit/c8913e37a7 diff --git a/test/rubygems/test_gem_commands_build_command.rb b/test/rubygems/test_gem_commands_build_command.rb index 8a16038..19575dc 100644 --- a/test/rubygems/test_gem_commands_build_command.rb +++ b/test/rubygems/test_gem_commands_build_command.rb @@ -243,21 +243,12 @@ class TestGemCommandsBuildCommand < Gem::TestCase https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_commands_build_command.rb#L243 end def test_execute_without_gem_name - some_gem = util_spec "some_gem" do |s| - s.license = "AGPL-3.0" - s.files = ["README.md"] - end - + some_gem = util_spec "some_gem" gemspec_dir = File.join(@tempdir, "build_command_gem") gemspec_file = File.join(gemspec_dir, some_gem.spec_name) - readme_file = File.join(gemspec_dir, 'README.md') FileUtils.mkdir_p(gemspec_dir) - File.open(readme_file, "w") do |f| - f.write("My awesome gem") - end - File.open(gemspec_file, "w") do |gs| gs.write(some_gem.to_ruby) end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/