ruby-changes:46190
From: nobu <ko1@a...>
Date: Tue, 11 Apr 2017 00:26:54 +0900 (JST)
Subject: [ruby-changes:46190] nobu:r58304 (trunk): Make .gemspec slimmer.
nobu 2017-04-11 00:26:49 +0900 (Tue, 11 Apr 2017) New Revision: 58304 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58304 Log: Make .gemspec slimmer. This is the same code that RubyGems are using: https://github.com/rubygems/rubygems/commit/a1a5ab55cb1501cbfeee29131a56cfa2e763174f [ci skip] [Fix GH-1578] Author: V?\195?\173t Ondruch <vondruch@r...> Modified files: trunk/tool/rbinstall.rb Index: tool/rbinstall.rb =================================================================== --- tool/rbinstall.rb (revision 58303) +++ tool/rbinstall.rb (revision 58304) @@ -784,7 +784,7 @@ def install_default_gem(dir, srcdir) https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L784 puts "#{" "*30}#{gemspec.name} #{gemspec.version}" gemspec_path = File.join(default_spec_dir, "#{full_name}.gemspec") open_for_install(gemspec_path, $data_mode) do - gemspec.to_ruby + gemspec.to_ruby_for_cache end unless gemspec.executables.empty? then -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/