mirror of
https://github.com/ruby/ruby.git
synced 2025-08-25 14:05:02 +02:00
Merge RubyGems master@9be7858f7f17eae3058204f3c03e4b798ba18b9c
This version contains the some style changes by RuboCop. *9d810be0ed
*61ea98a727
*795893dce3
*9be7858f7f
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d1e6304a89
commit
4ae3df42f7
160 changed files with 1159 additions and 578 deletions
|
@ -23,17 +23,36 @@ class TestGemCommandsSetupCommand < Gem::TestCase
|
|||
FileUtils.mkdir_p 'bin'
|
||||
FileUtils.mkdir_p 'lib/rubygems/ssl_certs/rubygems.org'
|
||||
|
||||
File.open 'bin/gem', 'w' do |io| io.puts '# gem' end
|
||||
File.open 'lib/rubygems.rb', 'w' do |io| io.puts '# rubygems.rb' end
|
||||
File.open 'lib/rubygems/test_case.rb', 'w' do |io| io.puts '# test_case.rb' end
|
||||
File.open 'lib/rubygems/ssl_certs/rubygems.org/foo.pem', 'w' do |io| io.puts 'PEM' end
|
||||
File.open 'bin/gem', 'w' do
|
||||
|io| io.puts '# gem'
|
||||
end
|
||||
|
||||
File.open 'lib/rubygems.rb', 'w' do |io|
|
||||
io.puts '# rubygems.rb'
|
||||
end
|
||||
|
||||
File.open 'lib/rubygems/test_case.rb', 'w' do |io|
|
||||
io.puts '# test_case.rb'
|
||||
end
|
||||
|
||||
File.open 'lib/rubygems/ssl_certs/rubygems.org/foo.pem', 'w' do |io|
|
||||
io.puts 'PEM'
|
||||
end
|
||||
|
||||
FileUtils.mkdir_p 'bundler/exe'
|
||||
FileUtils.mkdir_p 'bundler/lib/bundler'
|
||||
|
||||
File.open 'bundler/exe/bundle', 'w' do |io| io.puts '# bundle' end
|
||||
File.open 'bundler/lib/bundler.rb', 'w' do |io| io.puts '# bundler.rb' end
|
||||
File.open 'bundler/lib/bundler/b.rb', 'w' do |io| io.puts '# b.rb' end
|
||||
File.open 'bundler/exe/bundle', 'w' do |io|
|
||||
io.puts '# bundle'
|
||||
end
|
||||
|
||||
File.open 'bundler/lib/bundler.rb', 'w' do |io|
|
||||
io.puts '# bundler.rb'
|
||||
end
|
||||
|
||||
File.open 'bundler/lib/bundler/b.rb', 'w' do |io|
|
||||
io.puts '# b.rb'
|
||||
end
|
||||
|
||||
FileUtils.mkdir_p 'default/gems'
|
||||
|
||||
|
@ -220,14 +239,29 @@ class TestGemCommandsSetupCommand < Gem::TestCase
|
|||
FileUtils.mkdir_p lib_rubygems_defaults
|
||||
FileUtils.mkdir_p lib_bundler
|
||||
|
||||
File.open securerandom_rb, 'w' do |io| io.puts '# securerandom.rb' end
|
||||
File.open securerandom_rb, 'w' do |io|
|
||||
io.puts '# securerandom.rb'
|
||||
end
|
||||
|
||||
File.open old_builder_rb, 'w' do |io| io.puts '# builder.rb' end
|
||||
File.open old_format_rb, 'w' do |io| io.puts '# format.rb' end
|
||||
File.open old_bundler_c_rb, 'w' do |io| io.puts '# c.rb' end
|
||||
File.open old_builder_rb, 'w' do |io|
|
||||
io.puts '# builder.rb'
|
||||
end
|
||||
|
||||
File.open engine_defaults_rb, 'w' do |io| io.puts '# jruby.rb' end
|
||||
File.open os_defaults_rb, 'w' do |io| io.puts '# operating_system.rb' end
|
||||
File.open old_format_rb, 'w' do |io|
|
||||
io.puts '# format.rb'
|
||||
end
|
||||
|
||||
File.open old_bundler_c_rb, 'w' do |io|
|
||||
io.puts '# c.rb'
|
||||
end
|
||||
|
||||
File.open engine_defaults_rb, 'w' do |io|
|
||||
io.puts '# jruby.rb'
|
||||
end
|
||||
|
||||
File.open os_defaults_rb, 'w' do |io|
|
||||
io.puts '# operating_system.rb'
|
||||
end
|
||||
|
||||
@cmd.remove_old_lib_files lib
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue