1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Adjust the rubycop rules of Bundler upstream repository.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2019-02-20 10:43:23 +00:00
parent 5f08c9e2e0
commit 7c2bbd1c7d
3 changed files with 3 additions and 3 deletions

View file

@ -464,7 +464,7 @@ RSpec.describe "bundle clean" do
gem = ruby_core? ? ENV["BUNDLE_GEM"] : "gem"
sys_exec! "#{gem} list"
expect(out).to include("foo (1.0.1, 1.0)")
expect(out).to include("foo (1.0.1, 1.0)")
end
it "cleans system gems when --force is used" do

View file

@ -228,7 +228,7 @@ RSpec.describe "The library itself" do
if ruby_core?
spec = Gem::Specification.load(gemspec.to_s)
spec.bindir = "libexec"
File.open(root.join("bundler.gemspec").to_s, "w"){|f| f.write spec.to_ruby }
File.open(root.join("bundler.gemspec").to_s, "w") {|f| f.write spec.to_ruby }
gem_command! :build, root.join("bundler.gemspec").to_s
FileUtils.rm(root.join("bundler.gemspec").to_s)
else

View file

@ -316,7 +316,7 @@ module Spec
if ruby_core?
spec = Gem::Specification.load(gemspec.to_s)
spec.bindir = "libexec"
File.open(root.join("bundler.gemspec").to_s, "w"){|f| f.write spec.to_ruby }
File.open(root.join("bundler.gemspec").to_s, "w") {|f| f.write spec.to_ruby }
Dir.chdir(root) { gem_command! :build, root.join("bundler.gemspec").to_s }
FileUtils.rm(root.join("bundler.gemspec"))
else