diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-12-15 08:32:54 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-12-15 10:54:09 +0900 |
commit | 2fa9f3c0322570dfb1672b49bc1f3306ef595131 (patch) | |
tree | bdb2889c822e634f931d27f2ca81c6192e6e5b0e /spec/bundler/support | |
parent | 7898f4243f5df9ead0bf91cc8c40907c559d18c0 (diff) |
Prepare to release rubygems-3.2.1 and bundler-2.2.1
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3901
Diffstat (limited to 'spec/bundler/support')
-rw-r--r-- | spec/bundler/support/artifice/vcr.rb | 1 | ||||
-rw-r--r-- | spec/bundler/support/platforms.rb | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/spec/bundler/support/artifice/vcr.rb b/spec/bundler/support/artifice/vcr.rb index 19670287b3..bd13a338b4 100644 --- a/spec/bundler/support/artifice/vcr.rb +++ b/spec/bundler/support/artifice/vcr.rb @@ -56,6 +56,7 @@ class BundlerVCRHTTP < Net::HTTP response = http.request_without_vcr(request, body, &response_block) @recording = false unless @recording + require "fileutils" FileUtils.mkdir_p(File.dirname(request_path)) binwrite(request_path, request_to_string(request)) binwrite(response_path, response_to_string(response)) diff --git a/spec/bundler/support/platforms.rb b/spec/bundler/support/platforms.rb index ab203919e7..0cb7f7cd29 100644 --- a/spec/bundler/support/platforms.rb +++ b/spec/bundler/support/platforms.rb @@ -94,7 +94,7 @@ module Spec end def local_platforms - [local, specific_local_platform].uniq + [specific_local_platform] end end end |