7f601eb7fcRealFileUtils makes calls to ::File && ::Dir - so we need to deactivate FakeFS if we intend RealFileUtils to use the RealFile and RealDir class. Closes#24
Scott Taylor
2009-12-02 03:14:32 -0500
8355d15ec2activate! & deactivate! state properly in tests (which allows easy replication of bug reported in #24)
Scott Taylor
2009-12-02 03:13:46 -0500
c2ccf482b9Extract common requires in test files to test/test_helper.rb Run individual spec files with RUBYLIB=test ruby test/<test-file> (Thanks mislav)
Scott Taylor
2009-12-02 02:52:37 -0500
52462b0e46Use require 'fakefs/safe' in test helper requires. Temporarily fixes#24
Scott Taylor
2009-12-02 02:46:50 -0500
4445850d6dDisplay a warning (not a LoadError) in the rakefile if rspec isn't around
Scott Taylor
2009-12-02 02:23:58 -0500
80187db69fanal-retentive formatting
Scott Taylor
2009-12-02 02:21:48 -0500
bd53cbaa0eAdd spec task
Scott Taylor
2009-12-02 02:21:19 -0500
9212ba104aFileUtils.rm should be able to delete two or more files. Closes#23
Keita Urashima
2009-11-25 01:21:25 +0900
ea5705d560Remove unnecessary constants
Scott Taylor
2009-11-24 04:35:09 -0500
71dd1050f4Spacing + alignment
Scott Taylor
2009-11-24 04:31:53 -0500
50193f2a75Add FileTest#exist? Swap out FileTest for FakeFS::FileTest. Closes#14
Scott Taylor
2009-11-24 04:27:26 -0500
bdb3fa4ac0raise Errno::EEXIST when Dir.mkdir is called with an existing directory. Closes#21.
Scott Taylor
2009-11-24 04:08:14 -0500
ceffec3023Update docs for proper usage of FakeFS::SpecHelpers
Scott Taylor
2009-11-23 23:34:59 -0500
a35f3b12b2Fix a path in the README
Scott Taylor
2009-11-23 23:22:59 -0500
f9e665bda9Fix a test for ruby 1.9.1 (question mark *must* end the method in 1.9.1?)
Scott Taylor
2009-11-08 13:23:31 -0500
fc7515fd08Add NotImplementedErrors for missing methods on File for ruby 1.9.1
Scott Taylor
2009-11-08 13:17:57 -0500
f30beb33feFix a test name
Scott Taylor
2009-11-08 11:08:30 -0500
02b76af287Add File#to_i (an alias for fileno)
Scott Taylor
2009-11-08 01:17:42 -0500
1e685ed25eImplement File#to_io
Scott Taylor
2009-11-08 01:13:28 -0500
254012644aRemove unused ivar
Scott Taylor
2009-11-08 01:09:05 -0500
15c1fd83a1Remove File.open - it is implemented by StringIO
Scott Taylor
2009-11-08 01:08:12 -0500
9e7e71b166Remove File#flush (it is implemented by StringIO)
Scott Taylor
2009-11-08 01:06:34 -0500
2877f7d4c1Cleanup trailing whitespace
Scott Taylor
2009-11-08 01:04:16 -0500
d2264eb646Fix FakeFS#close
Scott Taylor
2009-11-08 00:56:00 -0500
dd8ff05eecMake sure that no StringIO instance methods leak out FakeFS::File that aren't in File
Scott Taylor
2009-11-04 02:57:08 -0500
daad2bb625Ensure that every method in IO and File (RealFile) is in FakeFS::File (since File < IO). raise NotImplemenetedErrors for methods which have not yet been implemented.
Scott Taylor
2009-11-01 18:07:01 -0500
95b06b00dfCleanup FakeFS::File by descending from StringIO.
Scott Taylor
2009-11-01 18:03:51 -0500
ba4de58233Add File#pos=, File#tell=
Scott Taylor
2009-11-01 17:47:33 -0500
9e50475cb3Add File#pos
Scott Taylor
2009-11-01 17:44:30 -0500
20791f3846update contributors
Chris Wanstrath
2009-10-30 10:03:44 -0700
bda25083fcupdate docs
Chris Wanstrath
2009-10-30 10:03:19 -0700
548e78426dghetto-check the tests
Chris Wanstrath
2009-10-30 10:02:41 -0700
f3ab9f70b5create docs
Chris Wanstrath
2009-10-06 21:44:05 -0700
f5894c2cfduse sdoc-helpers gem
Chris Wanstrath
2009-10-06 21:32:54 -0700
1a74c89910fix jeweler instructions
Chris Wanstrath
2009-10-06 21:15:18 -0700
11242af667no gemspec in git
Chris Wanstrath
2009-10-06 21:15:00 -0700
b989fa9cf1add list and gems
Chris Wanstrath
2009-10-06 21:12:14 -0700
615c9cbdc4insllation / meta / contributors in readme
Chris Wanstrath
2009-10-06 21:07:28 -0700
e4ea7e1406Merge remote branch 'smt/hard_links_and_deletion'
Chris Wanstrath
2009-10-06 20:55:11 -0700
cc032a7381use new jeweler gemspec.version = feature, hooray
Chris Wanstrath
2009-10-06 20:53:42 -0700
c00d450662Add File::delete and alias File::unlink. Get those, plus FileUtils.rm to work properly with hard links. Closes#8
Scott Taylor
2009-10-01 02:42:29 -0400
bdcdc26d49Add hard links. Closes#11
Scott Taylor
2009-10-01 01:39:07 -0400
7e927d8ff0Add File.symlink as an alias for FileUtils.ln_s
Scott Taylor
2009-09-30 01:26:52 -0400
34a88c4e63Start File::Stat. Add Stat#symlink?, stat#directory?
Scott Taylor
2009-09-30 01:23:26 -0400
cb9de5938fmethod_missing should always be private
Scott Taylor
2009-09-29 22:57:14 -0400
a9877659d1Call the test task what it is
Scott Taylor
2009-09-29 22:55:23 -0400
72aca398acRun all test files in test directory
Scott Taylor
2009-09-29 22:54:17 -0400
6f08568d8fAdd File.link as a copy operation
Scott Taylor
2009-09-29 22:48:50 -0400
731122a1acRefactor mode code
Scott Taylor
2009-09-30 03:44:42 -0400
6d44186cf7Truncate an existing file in "w", "w+" modes.
Scott Taylor
2009-09-30 03:36:56 -0400
3a5098092cRaise an IOError when a file is read in a write-only mode.
Scott Taylor
2009-09-30 03:28:33 -0400
0b7d45b985Don't attempt to create a missing file in File.write (the mode guarantees that the file will already be present)
Scott Taylor
2009-09-30 03:22:28 -0400
e3446636e5Create files in w, w+, a, and a+ modes when calling File.new and the file is missing.
Scott Taylor
2009-09-30 03:20:59 -0400
17e2e47027Raise an error when opening a file which does not exist in read-write ('r+') mode
Scott Taylor
2009-09-30 03:13:58 -0400
2881614123Raise an Errno::ENOENT error when opening a file which does not exist
Scott Taylor
2009-09-30 03:03:21 -0400
a8245db145Raise an error when giving File.open an illegal access mode. Set default mode for File.open to READ_ONLY
Scott Taylor
2009-09-30 02:57:10 -0400
6068034c29Don't allow writing in read-only mode
Scott Taylor
2009-09-30 02:52:25 -0400
20eb3f238eAdd file modes. Replace magic values with constants.
Scott Taylor
2009-09-30 02:45:48 -0400
a34f8e8bebImplemented File.size
Jon Yurek
2009-09-29 22:03:21 +0800
0da41d92a7Return result of yield from FakeFS block
msassak
2009-09-22 13:26:11 +0800
25e47887b0Merge branch 'master' of github.com:defunkt/fakefs
Chris Wanstrath
2009-09-21 19:43:17 -0700
1eb0b97207FakeFS 0.1.1
Chris Wanstrath
2009-09-21 19:43:13 -0700
fa89049964style tweaks
Chris Wanstrath
2009-09-21 19:42:23 -0700
0124b3ab89whitespace
Chris Wanstrath
2009-09-21 19:38:35 -0700
a22f0c5ee6Remove debug statements
Chris Wanstrath
2009-09-21 19:37:55 -0700
bbb659fcf8Add support for mkpath, an alias for mkdir_p on FileUtils
Rob Sanheim
2009-09-13 10:14:07 +0800
8e1d049ee4Updated File.open and File.new signature
Myles Eftos
2009-09-17 08:22:24 +0800
f6031458cdFixed FileUtils.rmdir and Dir.unlink
Myles Eftos
2009-09-14 03:16:20 +0800
c9bd3260c5Fixed FileUtils.rmdir and Dir.unlink
Myles Eftos
2009-09-14 03:15:12 +0800
a926ebf1c5Added File.extname and FileUtils.rmdir
Myles Eftos
2009-09-14 01:41:00 +0800