fakefs 0.6.3 → 0.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/CONTRIBUTORS +9 -9
- data/Rakefile +1 -0
- data/lib/fakefs/file_test.rb +4 -0
- data/lib/fakefs/version.rb +1 -1
- data/test/fakefs_test.rb +10 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NjI0YTBmYzk5YzJiYzllMDgxYTRkZTY5N2M2ZGVjZmM4ZDUzMjFiNw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MjBjMTVhNTk1ZjliZjFiODcxZWYxMGMxMDE0ODA3Zjk4MWRjZWUzZg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OTM1ZmFjZjkxMDQ4M2Q5ZWIxMGU1N2UwMDc4YzAzYWJmYTg1ZDdmZmUzZmVk
|
10
|
+
YTZlOWUwYmY3MWE1MWExNDE2YzI0YzM0NmM0ZTQ3MDE1OGVjYWU1OTVmMjUx
|
11
|
+
M2UzNjkxNGIzMzE2Yzc0ODU1NDZhYTE1ZTI2ZGJlNjBkNTkxOGQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YjAzZTNiMzYyOTBjNTlkMzc5MDQ4MzZjZDIwZDdlN2I4OTJhODAzNDJkYzg0
|
14
|
+
N2UyNzA3NDY0ZjY4ZWZmYTUwMWZkZTAyYjFkZjg1ODRmODQ4MmFkMWE0N2Rk
|
15
|
+
MzM1ZDMwMzJmMTFlNWNmNjAzNGI5ZDQ2ZDJmOWM5YmNmZTAyZTI=
|
data/CONTRIBUTORS
CHANGED
@@ -32,50 +32,50 @@ Maarten Hoogendoorn <maarten@moretea.nl>
|
|
32
32
|
Jon Yurek <jyurek@thoughtbot.com>
|
33
33
|
Jared Luxenberg <jared@jaredlux.com>
|
34
34
|
DSIW <dsiw@dsiw-it.de>
|
35
|
-
doc75 <github@virlet.org>
|
36
35
|
Lars Gierth <lars.gierth@gmail.com>
|
37
36
|
Greg Campbell <gtcampbell@gmail.com>
|
37
|
+
doc75 <github@virlet.org>
|
38
38
|
marano <thiagomarano@gmail.com>
|
39
39
|
Ben Mabey <ben@benmabey.com>
|
40
|
-
Mark <mark@amerine.net>
|
41
40
|
Jorge Orlando Munoz <jmunoz@altavistaed.com>
|
41
|
+
Mark <mark@amerine.net>
|
42
42
|
Sam Goldstein <sam@aboutus.org>
|
43
43
|
Adam Alboyadjian <adam@vistahigherlearning.com>
|
44
44
|
Rick Salevsky <rsalevsky@suse.com>
|
45
45
|
Scott Petersen <petersen@centtech.com>
|
46
|
-
Ryan McGeary <ryan@mcgeary.org>
|
47
46
|
Emil Soman <emil.soman@gmail.com>
|
47
|
+
Ryan McGeary <ryan@mcgeary.org>
|
48
48
|
Matt Todd <chiology@gmail.com>
|
49
49
|
Noah Paessel <knowuh@gmail.com>
|
50
50
|
dmathieu <42@dmathieu.com>
|
51
51
|
Oleg Sukhodolsky <os97673@gmail.com>
|
52
|
+
Jakub Jirutka <jakub@jirutka.cz>
|
52
53
|
Winston Lee <lee.winston@gmail.com>
|
53
54
|
Radek Simko <radek.simko@gmail.com>
|
54
55
|
Grayson Wright <wright.grayson@gmail.com>
|
55
56
|
Zequez <zequez@gmail.com>
|
56
57
|
jameswilding <james@jameswilding.net>
|
57
58
|
Ed Ruder <ed@squareup.com>
|
58
|
-
Tymon Tobolski <i@teamon.eu>
|
59
59
|
Benjamin Oakes <hello@benjaminoakes.com>
|
60
|
+
Tymon Tobolski <i@teamon.eu>
|
60
61
|
Scott Barron <scott@elitists.net>
|
61
|
-
Eric Daspet <eric.daspet@survol.fr>
|
62
62
|
Andrius Chamentauskas <andrius.chamentauskas@gmail.com>
|
63
|
+
Eric Daspet <eric.daspet@survol.fr>
|
64
|
+
Matt Hoyle <matt@deployable.co>
|
63
65
|
Xavier Shay <xavier@squareup.com>
|
64
66
|
W. Andrew Loe III <andrew@andrewloe.com>
|
65
|
-
Matt Hoyle <matt@deployable.co>
|
66
67
|
Travis Herrick <travis@carbonfive.com>
|
67
68
|
Keita Urashima <ursm@ursm.jp>
|
68
69
|
rambutan <usul@usul-HP-EliteBook-8460p.(none)>
|
69
|
-
msassak <msassak@gmail.com>
|
70
70
|
andrea longhi <andrea@spaghetticode.it>
|
71
71
|
= <gokulnath@mobme.in>
|
72
72
|
Matthew Morgan <lytithwyn@gmail.com>
|
73
|
+
msassak <msassak@gmail.com>
|
73
74
|
David Reese <david@whatcould.com>
|
74
75
|
Andrius Chamentauskas <sinsiliux@gmail.com>
|
75
76
|
timo3377 <tim.linquist@gmail.com>
|
76
|
-
Michael Scherer <misc@zarb.org>
|
77
77
|
Matt Rogers <mattrogers@sbcglobal.net>
|
78
|
-
|
78
|
+
Michael Scherer <misc@zarb.org>
|
79
79
|
Paolo Gianrossi <paolino.gianrossi@gmail.com>
|
80
80
|
Mislav Marohnić <mislav.marohnic@gmail.com>
|
81
81
|
Rob Sanheim <rsanheim@gmail.com>
|
data/Rakefile
CHANGED
data/lib/fakefs/file_test.rb
CHANGED
data/lib/fakefs/version.rb
CHANGED
data/test/fakefs_test.rb
CHANGED
@@ -2414,6 +2414,16 @@ class FakeFSTest < Test::Unit::TestCase
|
|
2414
2414
|
assert !FileTest.file?('/path/to/somedir')
|
2415
2415
|
end
|
2416
2416
|
|
2417
|
+
def test_filetest_readable_returns_correct_values
|
2418
|
+
assert !FileTest.readable?('not-here.txt'), 'missing files are not readable'
|
2419
|
+
|
2420
|
+
FileUtils.touch 'here.txt'
|
2421
|
+
assert FileTest.readable?('here.txt'), 'existing files are readable'
|
2422
|
+
|
2423
|
+
FileUtils.mkdir 'dir'
|
2424
|
+
assert FileTest.readable?('dir'), 'directories are readable'
|
2425
|
+
end
|
2426
|
+
|
2417
2427
|
def test_filetest_writable_returns_correct_values
|
2418
2428
|
assert !FileTest.writable?('not-here.txt'), 'missing files are not writable'
|
2419
2429
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fakefs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Wanstrath
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2015-01-
|
15
|
+
date: 2015-01-15 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: bundler
|