jameswilding
|
7444ef50b3
|
Fix that FakeFS method wouldn't call ::FakeFS.deactivate! when block raised an exception
|
2009-10-19 21:58:14 +08:00 |
|
Ben Mabey
|
b0830550fe
|
rspec example group helpers to turn fakefs on/off
|
2009-10-14 23:10:52 +08:00 |
|
Ben Mabey
|
b839944b13
|
ignoring vim swap files
|
2009-10-14 23:10:52 +08:00 |
|
dmathieu
|
20ef508317
|
Refactoring ln_sf and testing it
|
2009-10-14 15:36:13 +08:00 |
|
dmathieu
|
eb1cde19f9
|
Fileutils has a method ln_sf which forces the creation of a symlink
|
2009-10-14 15:36:13 +08:00 |
|
Chris Wanstrath
|
5f8fe542a0
|
order contributors by # of contributions
|
2009-10-07 01:38:08 -07:00 |
|
Chris Wanstrath
|
4560605325
|
spin out a CONTRIBUTORS file
|
2009-10-07 00:20:14 -07:00 |
|
Chris Wanstrath
|
5edc9e8489
|
add Nick
|
2009-10-07 00:19:26 -07:00 |
|
Nick Quaranto
|
8f26158a5a
|
Adding a passable implementation of File.mtime
|
2009-10-07 00:13:58 -07:00 |
|
Nick Quaranto
|
72e8ee62c7
|
Allowing File#read to chunk IO
|
2009-10-07 00:08:20 -07:00 |
|
Nick Quaranto
|
5deda9b456
|
File.size? actually returns nil instead of false
|
2009-10-07 00:06:43 -07:00 |
|
Nick Quaranto
|
e591d3b2d3
|
Adding File.size? too
|
2009-10-07 00:06:36 -07:00 |
|
Nick Quaranto
|
166ff444d9
|
Aliasing File.readable? to File.exist? so Rack::File can work
|
2009-10-07 00:06:28 -07:00 |
|
Chris Wanstrath
|
54cc2b7358
|
private_instance_methods returns symbols in 1.9
|
2009-10-06 22:03:39 -07:00 |
|
Chris Wanstrath
|
1c3a17ccc8
|
add Home link
|
2009-10-06 22:00:06 -07:00 |
|
Chris Wanstrath
|
c39b62c1c9
|
0.2.0
|
2009-10-06 21:48:44 -07:00 |
|
Chris Wanstrath
|
f5894c2cfd
|
use sdoc-helpers gem
|
2009-10-06 21:32:54 -07:00 |
|
Chris Wanstrath
|
1a74c89910
|
fix jeweler instructions
|
2009-10-06 21:15:18 -07:00 |
|
Chris Wanstrath
|
11242af667
|
no gemspec in git
|
2009-10-06 21:15:00 -07:00 |
|
Chris Wanstrath
|
b989fa9cf1
|
add list and gems
|
2009-10-06 21:12:14 -07:00 |
|
Chris Wanstrath
|
615c9cbdc4
|
insllation / meta / contributors in readme
|
2009-10-06 21:07:28 -07:00 |
|
Chris Wanstrath
|
e4ea7e1406
|
Merge remote branch 'smt/hard_links_and_deletion'
|
2009-10-06 20:55:11 -07:00 |
|
Chris Wanstrath
|
cc032a7381
|
use new jeweler gemspec.version = feature, hooray
|
2009-10-06 20:53:42 -07:00 |
|
Scott Taylor
|
c00d450662
|
Add File::delete and alias File::unlink. Get those, plus FileUtils.rm to work properly with hard links. Closes #8
|
2009-10-01 02:52:02 -04:00 |
|
Scott Taylor
|
bdcdc26d49
|
Add hard links. Closes #11
|
2009-10-01 02:46:07 -04:00 |
|
Scott Taylor
|
7e927d8ff0
|
Add File.symlink as an alias for FileUtils.ln_s
|
2009-10-01 02:46:07 -04:00 |
|
Scott Taylor
|
34a88c4e63
|
Start File::Stat. Add Stat#symlink?, stat#directory?
|
2009-10-01 02:46:07 -04:00 |
|
Scott Taylor
|
cb9de5938f
|
method_missing should always be private
|
2009-10-01 02:46:07 -04:00 |
|
Scott Taylor
|
a9877659d1
|
Call the test task what it is
|
2009-10-01 02:46:06 -04:00 |
|
Scott Taylor
|
72aca398ac
|
Run all test files in test directory
|
2009-10-01 02:46:06 -04:00 |
|
Scott Taylor
|
6f08568d8f
|
Add File.link as a copy operation
|
2009-10-01 02:46:06 -04:00 |
|
Scott Taylor
|
731122a1ac
|
Refactor mode code
|
2009-10-01 02:46:00 -04:00 |
|
Scott Taylor
|
6d44186cf7
|
Truncate an existing file in "w", "w+" modes.
|
2009-10-01 02:46:00 -04:00 |
|
Scott Taylor
|
3a5098092c
|
Raise an IOError when a file is read in a write-only mode.
|
2009-10-01 02:46:00 -04:00 |
|
Scott Taylor
|
0b7d45b985
|
Don't attempt to create a missing file in File.write (the mode guarantees that the file will already be present)
|
2009-10-01 02:46:00 -04:00 |
|
Scott Taylor
|
e3446636e5
|
Create files in w, w+, a, and a+ modes when calling File.new and the file is missing.
|
2009-10-01 02:46:00 -04:00 |
|
Scott Taylor
|
17e2e47027
|
Raise an error when opening a file which does not exist in read-write ('r+') mode
|
2009-10-01 02:46:00 -04:00 |
|
Scott Taylor
|
2881614123
|
Raise an Errno::ENOENT error when opening a file which does not exist
|
2009-10-01 02:45:59 -04:00 |
|
Scott Taylor
|
a8245db145
|
Raise an error when giving File.open an illegal access mode. Set default mode for File.open to READ_ONLY
|
2009-10-01 02:45:59 -04:00 |
|
Scott Taylor
|
6068034c29
|
Don't allow writing in read-only mode
|
2009-10-01 02:45:59 -04:00 |
|
Scott Taylor
|
20eb3f238e
|
Add file modes. Replace magic values with constants.
|
2009-10-01 02:45:59 -04:00 |
|
Jon Yurek
|
a34f8e8beb
|
Implemented File.size
|
2009-09-30 12:08:54 +08:00 |
|
msassak
|
0da41d92a7
|
Return result of yield from FakeFS block
Signed-off-by: Chris Wanstrath <chris@ozmm.org>
|
2009-09-23 18:46:58 +08:00 |
|
Chris Wanstrath
|
25e47887b0
|
Merge branch 'master' of github.com:defunkt/fakefs
|
2009-09-21 19:43:17 -07:00 |
|
Chris Wanstrath
|
1eb0b97207
|
FakeFS 0.1.1
|
2009-09-21 19:43:13 -07:00 |
|
Chris Wanstrath
|
fa89049964
|
style tweaks
|
2009-09-21 19:42:23 -07:00 |
|
Chris Wanstrath
|
0124b3ab89
|
whitespace
|
2009-09-21 19:38:35 -07:00 |
|
Chris Wanstrath
|
a22f0c5ee6
|
Remove debug statements
|
2009-09-21 19:37:55 -07:00 |
|
Rob Sanheim
|
bbb659fcf8
|
Add support for mkpath, an alias for mkdir_p on FileUtils
Signed-off-by: Chris Wanstrath <chris@ozmm.org>
|
2009-09-22 10:28:56 +08:00 |
|
Myles Eftos
|
8e1d049ee4
|
Updated File.open and File.new signature
|
2009-09-17 08:22:24 +08:00 |
|