Ryan McGeary
|
c24b338a2e
|
Improved error handling for Dir.delete and Dir.entries
This better matches the behavior of Ruby 1.8 and 1.9
(Closes #91)
|
2011-09-05 14:20:21 -04:00 |
|
Ryan McGeary
|
14367140a3
|
Added basic File#to_path support (Closes #92)
|
2011-09-05 14:15:12 -04:00 |
|
Andrius Chamentauskas
|
a0e02ed974
|
Added fake FileTest.file? (Closes #94)
|
2011-09-05 14:10:16 -04:00 |
|
Scott Taylor
|
3762fa2b35
|
update version to 0.3.2
|
2011-05-02 23:05:08 -04:00 |
|
Mariusz Pietrzyk
|
8bf4b5aeb0
|
Raising Errno::ENOENT exception with a particular path instead of src, which may be an array.
Closes #59
|
2011-05-02 22:32:02 -04:00 |
|
Noah Paessel
|
2e55319dc0
|
add file#split. Closes #61
|
2011-05-02 22:11:21 -04:00 |
|
Scott Taylor
|
c2d7f46bcb
|
move around and reformat code
|
2011-05-02 22:02:59 -04:00 |
|
Eric MSP Veith
|
564387b6a3
|
Added Dir.mktmpdir and FileTest.directory? Closes #74
|
2011-05-02 22:00:05 -04:00 |
|
timo3377
|
12532c8e37
|
Alias mkdir_p + makedirs for compatability with Rails3. Closes #79
|
2011-05-02 21:37:37 -04:00 |
|
Lars Gierth
|
68c958df0d
|
Fixes File#check_file_existence! always prints empty path. Closes #34
|
2010-12-27 13:21:08 -05:00 |
|
Mariusz Pietrzyk
|
66c27ff31b
|
FakeFS::Dir.glob works with a given block. Closes #39. Closes #55.
|
2010-12-27 12:52:32 -05:00 |
|
Greg Campbell
|
4e9355dc9e
|
FileUtils.mv can now handle an array of sources
Closes #40. Closes #56
|
2010-12-27 12:49:48 -05:00 |
|
Greg Campbell
|
b91fddf98b
|
Allows FileUtils.mv to move into a directory.
This addresses the first comment on #40.
|
2010-12-27 12:48:56 -05:00 |
|
Scott Taylor
|
9505210a90
|
handle FileUtils.mkdir. Closes #37
Conflicts:
test/fakefs_test.rb
|
2010-12-27 12:43:32 -05:00 |
|
Aaron Suggs
|
31597f5836
|
File.join delegates to RealFile.join. Closes #31
|
2010-12-27 12:36:41 -05:00 |
|
Aaron Suggs
|
076ef40678
|
Add File.rename (a primitive of FileUtils.mv). Closes #29
|
2010-12-27 12:36:11 -05:00 |
|
Scott Taylor
|
d422c6a79f
|
Add File.utime for updating files' mtime. Closes #28
Conflicts:
lib/fakefs/file.rb
test/fakefs_test.rb
|
2010-12-27 12:01:45 -05:00 |
|
Scott Taylor
|
c59eb01b95
|
bump version to 0.3.1
|
2010-12-18 14:19:20 -05:00 |
|
Scott Taylor
|
d7363f7c56
|
update version to 0.3.0
|
2010-12-15 23:13:41 -05:00 |
|
Víctor Martínez
|
82db05e85d
|
Implemented File.autoclose?, File.autoclose=, File.fdatasync and File.size which are new on ruby-1.9.2
|
2010-12-15 23:01:54 -05:00 |
|
Scott Taylor
|
6759a99780
|
formatting tweaks
|
2010-12-15 23:01:21 -05:00 |
|
Víctor Martínez
|
8354db1b77
|
Implemented File.ctime, File.stat(file).ctime, File.open(file){|f| f.ctime }, File.mtime, File.stat(file).mtime and File.open(file){|f| f.mtime }
|
2010-12-15 23:00:03 -05:00 |
|
marano
|
25c3b4e632
|
Fixed issue where Dir glob would not work properly when doing /**/*.
|
2010-12-15 22:53:29 -05:00 |
|
Greg Campbell
|
c2a9c13345
|
FileUtils.mv accepts options. Closes #35.
|
2010-07-03 04:58:05 -04:00 |
|
Greg Campbell
|
97a68c01ba
|
FileUtils#mkdir_p accepts options. Closes #41.
|
2010-07-03 04:57:45 -04:00 |
|
Scott Taylor
|
5099b3cedb
|
whitespace
|
2010-06-22 01:56:14 -04:00 |
|
Scott Taylor
|
28950fa71c
|
move require stringio to FakeFS::File
|
2010-01-12 10:30:43 -05:00 |
|
Scott Taylor
|
491da764d1
|
Return true from FakeFS::activate! and ::deactivate!
|
2010-01-12 08:36:23 -05:00 |
|
Scott Taylor
|
53b74cf6c8
|
Add File::lstat, #lstat. Report the correct size for symlinks when using lstat. Closes Github #25
|
2010-01-12 00:52:11 -05:00 |
|
Scott Taylor
|
01735bb17a
|
Implement File#sysseek
|
2010-01-12 00:52:05 -05:00 |
|
Scott Taylor
|
75e4eeff65
|
Add File#syswrite, File#sysread. Closes Github #26
|
2010-01-12 00:51:58 -05:00 |
|
Scott Taylor
|
3c0f3e98d0
|
StringIO isn't automatically required in ruby 1.9.1
|
2009-12-05 16:50:47 -05:00 |
|
Scott Taylor
|
a2b69ab9cf
|
Whitespace
|
2009-12-05 16:43:53 -05:00 |
|
Mislav Marohnić
|
4530cb1e31
|
implement File::Stat#size
|
2009-12-02 03:18:09 -05:00 |
|
Keita Urashima
|
9212ba104a
|
FileUtils.rm should be able to delete two or more files. Closes #23
|
2009-11-25 22:33:29 -05:00 |
|
Scott Taylor
|
ea5705d560
|
Remove unnecessary constants
|
2009-11-24 04:48:54 -05:00 |
|
Scott Taylor
|
71dd1050f4
|
Spacing + alignment
|
2009-11-24 04:48:53 -05:00 |
|
Scott Taylor
|
50193f2a75
|
Add FileTest#exist? Swap out FileTest for FakeFS::FileTest. Closes #14
|
2009-11-24 04:48:43 -05:00 |
|
Scott Taylor
|
bdb3fa4ac0
|
raise Errno::EEXIST when Dir.mkdir is called with an existing directory. Closes #21.
|
2009-11-24 04:13:29 -05:00 |
|
Scott Taylor
|
fc7515fd08
|
Add NotImplementedErrors for missing methods on File for ruby 1.9.1
|
2009-11-08 13:27:51 -05:00 |
|
Scott Taylor
|
02b76af287
|
Add File#to_i (an alias for fileno)
|
2009-11-08 13:27:51 -05:00 |
|
Scott Taylor
|
1e685ed25e
|
Implement File#to_io
|
2009-11-08 13:27:50 -05:00 |
|
Scott Taylor
|
254012644a
|
Remove unused ivar
|
2009-11-08 13:27:50 -05:00 |
|
Scott Taylor
|
15c1fd83a1
|
Remove File.open - it is implemented by StringIO
|
2009-11-08 13:27:43 -05:00 |
|
Scott Taylor
|
9e7e71b166
|
Remove File#flush (it is implemented by StringIO)
|
2009-11-08 01:06:34 -05:00 |
|
Scott Taylor
|
2877f7d4c1
|
Cleanup trailing whitespace
|
2009-11-08 01:04:16 -05:00 |
|
Scott Taylor
|
d2264eb646
|
Fix FakeFS#close
|
2009-11-08 00:56:00 -05:00 |
|
Scott Taylor
|
dd8ff05eec
|
Make sure that no StringIO instance methods leak out FakeFS::File that aren't in File
|
2009-11-05 03:25:04 -05:00 |
|
Scott Taylor
|
daad2bb625
|
Ensure 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.
|
2009-11-05 03:22:39 -05:00 |
|
Scott Taylor
|
95b06b00df
|
Cleanup FakeFS::File by descending from StringIO.
|
2009-11-05 03:22:35 -05:00 |
|