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:
parent
5f08c9e2e0
commit
7c2bbd1c7d
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user