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 |
|
Scott Taylor
|
f59e9ba94e
|
whitespace fix
|
2010-12-15 22:55:56 -05:00 |
|
marano
|
25c3b4e632
|
Fixed issue where Dir glob would not work properly when doing /**/*.
|
2010-12-15 22:53:29 -05:00 |
|
Scott Taylor
|
aa0cb96b8e
|
update CONTRIBUTORS
|
2010-07-03 04:58:49 -04: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
|
522d871217
|
Make the default rake task [:test, :spec]
|
2010-01-12 08:50:51 -05:00 |
|
Scott Taylor
|
491da764d1
|
Return true from FakeFS::activate! and ::deactivate!
|
2010-01-12 08:36:23 -05:00 |
|
Scott Taylor
|
8ae8692ec7
|
Fix a test name
|
2010-01-12 08:33:39 -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
|
2069d3d16d
|
Use color in tests if the redgreen package is around
|
2010-01-11 23:14:23 -05:00 |
|
Scott Taylor
|
5a98b220d0
|
Add .autotest
|
2010-01-11 23:08:44 -05:00 |
|
Chris Wanstrath
|
30d7ba0ee2
|
add Contributing section to the readme
|
2010-01-11 18:10:23 -08: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 |
|
Scott Taylor
|
4bd78884a9
|
Make verify.rb more dynamic. Check for both class and instance methods of:
* RealFile
* RealFile::Stat
* RealFileUtils
* RealDir
* RealFileTest
|
2009-12-04 05:02:48 -05:00 |
|
Scott Taylor
|
522976f09c
|
Fix test/verify.rb to report the correct missing methods
|
2009-12-04 04:54:09 -05:00 |
|
Scott Taylor
|
f68cad18a0
|
Fix the comment to verify.rb
|
2009-12-04 04:52:46 -05:00 |
|
Scott Taylor
|
2296655ca9
|
Call FakeFS.activate! && FakeFS.deactivate! when surrounding RealFileUtils - "test/subdir" was accidentally being created on the file system
|
2009-12-04 04:50:04 -05:00 |
|
Scott Taylor
|
b346c80e19
|
Cleanup "here" test helper
|
2009-12-04 04:48:56 -05:00 |
|
Scott Taylor
|
74cb8d9ecf
|
use require "test_helper" in *all* tests
|
2009-12-04 04:38:44 -05:00 |
|
Mislav Marohnić
|
4530cb1e31
|
implement File::Stat#size
|
2009-12-02 03:18:09 -05:00 |
|
Scott Taylor
|
7f601eb7fc
|
RealFileUtils makes calls to ::File && ::Dir - so we need to deactivate FakeFS if we intend RealFileUtils to use the RealFile and RealDir class. Closes #24
|
2009-12-02 03:18:09 -05:00 |
|
Scott Taylor
|
8355d15ec2
|
activate! & deactivate! state properly in tests (which allows easy replication of bug reported in #24)
|
2009-12-02 03:18:09 -05:00 |
|
Scott Taylor
|
c2ccf482b9
|
Extract common requires in test files to test/test_helper.rb Run individual spec files with RUBYLIB=test ruby test/<test-file> (Thanks mislav)
|
2009-12-02 03:18:09 -05:00 |
|
Scott Taylor
|
52462b0e46
|
Use require 'fakefs/safe' in test helper requires. Temporarily fixes #24
|
2009-12-02 03:18:03 -05:00 |
|
Scott Taylor
|
4445850d6d
|
Display a warning (not a LoadError) in the rakefile if rspec isn't around
|
2009-12-02 03:16:35 -05:00 |
|
Scott Taylor
|
80187db69f
|
anal-retentive formatting
|
2009-12-02 03:15:44 -05:00 |
|
Scott Taylor
|
bd53cbaa0e
|
Add spec task
|
2009-12-02 03:15:44 -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
|
ceffec3023
|
Update docs for proper usage of FakeFS::SpecHelpers
|
2009-11-23 23:34:59 -05:00 |
|
Scott Taylor
|
a35f3b12b2
|
Fix a path in the README
|
2009-11-23 23:22:59 -05:00 |
|
Scott Taylor
|
f9e665bda9
|
Fix a test for ruby 1.9.1 (question mark *must* end the method in 1.9.1?)
|
2009-11-08 13:27:51 -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
|
f30beb33fe
|
Fix a test name
|
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 |
|