diff options
author | Bundlerbot <bot@bundler.io> | 2018-10-17 17:38:54 +0000 |
---|---|---|
committer | Bundlerbot <bot@bundler.io> | 2018-10-17 17:38:54 +0000 |
commit | 18369b8a0999f11515e28603676f99ca376d7d93 (patch) | |
tree | 456cc07a39f12d2ba9734a04bca13323d081b6d2 /man | |
parent | a144e72484ee16fb57a13fb1ba1a54ebefaf5b2e (diff) | |
parent | 4e60117ece710fe99396d4a3f02d6430f7346fa3 (diff) | |
download | bundler-18369b8a0999f11515e28603676f99ca376d7d93.tar.gz |
Merge #6738
6738: Make RakeTask spec:deps OS agnostic r=segiddins a=leoarnold
@segiddins encouraged contributions towards support for Windows
https://github.com/bundler/bundler/issues/5992#issuecomment-326809543
As a first step towards this goal this commit introduces safe and
OS agnostic directory traversal in the first pieces of Ruby code
called when setting up a test environment.
### What was the end-user problem that led to this PR?
See #5992.
### What was your diagnosis of the problem?
File path concatenation explicitly used UNIX style file system separators.
### What is your fix for the problem, implemented in this PR?
Use `File.join` and `Pathname.join` instead. Define null device explicitly since Ruby 1.8.7 does not know `File::NULL`.
Co-authored-by: Leo Arnold <github@leoarnold.de>
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions