Omnibus pull request #124

merged 19 commits into from Apr 17, 2012


None yet
9 participants

jfirebaugh commented Apr 17, 2012

It looked like fakefs needed some maintenance work, so I reviewed, merged, and tested the following pull requests:

sometimesfood and others added some commits Sep 6, 2011

Add advise function to File which is in ruby 1.9.3. As it is only a h…
…int to the

os in some cases, the function does nothing.
add external encoding as default to File @content string,
handle hash as second parameter to File::new,
extend FakeFS::FileSystem::clone method to accept 'target' as a optional parameter,
fix Dir::mkdir for nested structure
Substitute Pathname to get tests to pass in ruby 1.9.3
Moved pathname.rb from ruby 1.9.2 into project in order to continue compatibility to 1.9.3 where
the functionality has been moved into c. In the c version of the file, the unset_const trick
doesn't work because the constant rb_cFile in the c file is never modified. I think this is
actually a bug in how ruby MRI operates, but the fix is a little bit complicated.
Merge pull request #115 from autohaus24/ruby_193_compatibility
improvements needed when upgrading to ruby 1.9.3
Merge pull request #118 from mmriis/chown_chmod
implemented chown and chmod
Merge pull request #116 from wijet/master
[PATCH] FileUtils.cp and FileUtils.cp_r support array as source
Merge pull request #97 from sometimesfood/dir_mkdir_subdir
Fix creation of absolute path subdirs with Dir.mkdir, closes #96

Merge pull request #102 from marano/issue_102
Dir.mkdir would fail if path starts with dot.


rue added a commit that referenced this pull request Apr 17, 2012

@rue rue merged commit d2f7d6f into fakefs:master Apr 17, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment