fakefs 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/fakefs/file.rb +4 -0
- data/lib/fakefs/version.rb +1 -1
- data/test/fakefs_test.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MmI3OWYyNmRhMWQ1YmVmZTkxY2IyN2U2MThiZmEwZmY3MDZhNDUzZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
Mjg3ODdmOWU0YjJkOWQwMTRiYmRkOGY0ZmQwNjBlNmRlNTBiMzM1OA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
M2YxM2ZiZGY2YmQ2ODk1MzQxZTJmZjc4NmYyYjNjODM1ZWYyYjY1NTBhNDQ5
|
10
|
+
YjAxMTNhOWIxYjg4ZWEzM2FhNDkyMDdhMWQ2ZDRkNjk2NDQ5YzFiMmQ2MWVh
|
11
|
+
NzkyZWE0OTA4ODFiNDAyMWFlMzY3OWU1YjYxZTgzNmE4MWNhY2E=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OTk3M2IyMDlhODI1MWZiNTY5OWRjNWIwODRlMTkwOWNhZGZjYzljNGE5MjRh
|
14
|
+
NjJiZjM5MDU5MjkzMTYwZjQ4OTk5NmQ1NjA1Y2Q4NmI3MDFiYWVmODEzZTM4
|
15
|
+
YzYzZmEyNDQ3YmNlNGMyNDAyMGJkYzcyMDNhZjExYjJhMGM4M2I=
|
data/lib/fakefs/file.rb
CHANGED
data/lib/fakefs/version.rb
CHANGED
data/test/fakefs_test.rb
CHANGED
@@ -1158,6 +1158,12 @@ class FakeFSTest < Test::Unit::TestCase
|
|
1158
1158
|
assert stringio.respond_to?(:size)
|
1159
1159
|
end
|
1160
1160
|
|
1161
|
+
def test_is_not_a_stringio
|
1162
|
+
File.open("foo", "w") do |f|
|
1163
|
+
assert !f.is_a?(StringIO), 'File is not a StringIO'
|
1164
|
+
end
|
1165
|
+
end
|
1166
|
+
|
1161
1167
|
def test_chdir_changes_directories_like_a_boss
|
1162
1168
|
# I know memes!
|
1163
1169
|
FileUtils.mkdir_p '/path'
|
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.5.
|
4
|
+
version: 0.5.2
|
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: 2014-03-
|
15
|
+
date: 2014-03-13 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: bundler
|