ruby-changes:61231
From: Hiroshi <ko1@a...>
Date: Wed, 13 May 2020 07:55:27 +0900 (JST)
Subject: [ruby-changes:61231] aecbb78517 (master): Use relative path in ruby core repository
https://git.ruby-lang.org/ruby.git/commit/?id=aecbb78517 From aecbb78517ed1ae2c6c5d118b569fad5993b83e3 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Mon, 11 May 2020 22:00:20 +0900 Subject: Use relative path in ruby core repository diff --git a/spec/bundler/quality_spec.rb b/spec/bundler/quality_spec.rb index 177eb50..3891de4 100644 --- a/spec/bundler/quality_spec.rb +++ b/spec/bundler/quality_spec.rb @@ -233,7 +233,7 @@ RSpec.describe "The library itself" do https://github.com/ruby/ruby/blob/trunk/spec/bundler/quality_spec.rb#L233 ] files_to_require = lib_tracked_files.grep(/\.rb$/) - exclusions files_to_require.reject! {|f| f.start_with?("lib/bundler/vendor") } - files_to_require.map! {|f| File.expand_path("../#{f}", __dir__) } + files_to_require.map! {|f| File.expand_path(root.join("#{f}"), __dir__) } sys_exec!("ruby -w") do |input, _, _| files_to_require.each do |f| input.puts "require '#{f}'" -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/