Skip to content
This repository was archived by the owner on Jul 14, 2021. It is now read-only.

Pulled in fix for joining paths on windows #232

Merged
merged 6 commits into from
Nov 13, 2014
Merged

Conversation

jaym
Copy link
Contributor

@jaym jaym commented Nov 13, 2014

#180
Pulled in Lamont's fix and updated the specs.

cc @opscode/client-engineers @bwmeier

lamont-granquist and others added 5 commits November 12, 2014 21:00

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@@ -69,7 +70,7 @@ def run_command

let(:omnibus_bin_dir) { "/foo/bin" }

let(:expected_PATH) { "#{omnibus_bin_dir}:#{user_bin_dir}:#{omnibus_embedded_bin_dir}:#{ENV['PATH']}" }
let(:expected_PATH) { [omnibus_bin_dir, user_bin_dir, omnibus_embedded_bin_dir, ENV['PATH']].join(File::PATH_SEPARATOR) }

let(:expected_GEM_ROOT) { Gem.default_dir.inspect }

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On line 92 (it won't let me comment there), can you add the expected error? .to raise_error(SomeError, "message")

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the person who wrote it explicitly didn't care:

# XXX: this isn't a test we just need to swallow the exception

@tyler-ball
Copy link
Contributor

👍

@btm
Copy link
Contributor

btm commented Nov 13, 2014

👍 also ran the tests locally. I had some unrelated test failures.

I'm going to merge this to clean up some confusion where a few of us are working on the same code now.

btm added a commit that referenced this pull request Nov 13, 2014
Pulled in fix for joining paths on windows
@btm btm merged commit 2a14aff into master Nov 13, 2014
@btm btm deleted the jdmundrawala/path-sep branch November 13, 2014 18:36
danielsdeleo added a commit that referenced this pull request Nov 13, 2014
jaym added a commit to jaym/chef-dk that referenced this pull request Nov 20, 2014
* canonical/master:
  Show the path checked on MissingComponentError
  Add verification of linked scripts on *nix
  Don't treat git local remotes as "remote"
  Update CHANGELOG for PR chef-boneyard#232
  Bump version and update changelog for 0.3.5
  Added comment about <> path separator in spec
  Used unbiased stub for path separator where it made sense
  stub was in the wrong place
  Tests pass for path separator change
  missing ,
  fix path joining for windows
  Added comment for with_file
  Factor out File.open(path, "wb+", block) into method
  Emit PATH warnings to stderr instead of stdout
  Update Changelog for 0.3.4, bump version
  Bump version and update changelog for 0.3.3
  Replaced w+ with wb+ to make comparisons on windows happy
  policyfile store_config_spec passes on windows
  Cookbook profiler git_specs pass on windows.
  cli_specs pass on Windows
ksubrama pushed a commit that referenced this pull request Jan 11, 2016
Add EL7 support to x86_64 build
@chef-boneyard chef-boneyard locked and limited conversation to collaborators Feb 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

6 participants