fakefs 1.7.0 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fakefs/file.rb +1 -1
- data/lib/fakefs/io.rb +7 -7
- data/lib/fakefs/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e8927be6abec55f007c7e506a952e715415bacde44cf649e04c12d33b16ecab
|
4
|
+
data.tar.gz: a25489d361ce7ab7c5421c8685285507a19750ed87ef770432d5d10240cb5545
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47fa5277d6012a8b89cda9f380949aac619286cd9b025f39b3b298aae3b5586474ae1858095886e9cdcdd93b1e9517bd63c51d0db50c6ffb8bae2a048b5f127d
|
7
|
+
data.tar.gz: 2f6871703b0c795b555b55e8792ecc926f866bfe95675518f01b0ff27e3cf1a17825f35b8547b9d2213b94a2d1270ed06a62727c7c8220669b9dbd20a927de5b
|
data/lib/fakefs/file.rb
CHANGED
data/lib/fakefs/io.rb
CHANGED
@@ -2,19 +2,19 @@ module FakeFS
|
|
2
2
|
# FakeFS IO class inherit root IO
|
3
3
|
# Only minimal mocks are provided as IO may be used by ruby's internals
|
4
4
|
class IO < ::IO
|
5
|
-
# Redirects ::IO.binread to ::FakeFS::File.
|
6
|
-
def self.binread(*args
|
7
|
-
::FakeFS::File.
|
5
|
+
# Redirects ::IO.binread to ::FakeFS::File.binread
|
6
|
+
def self.binread(*args)
|
7
|
+
::FakeFS::File.binread(*args)
|
8
8
|
end
|
9
9
|
|
10
10
|
# Redirects ::IO.read to ::FakeFS::File.read
|
11
|
-
def self.read(*args
|
12
|
-
::FakeFS::File.read(*args
|
11
|
+
def self.read(*args)
|
12
|
+
::FakeFS::File.read(*args)
|
13
13
|
end
|
14
14
|
|
15
15
|
# Redirects ::IO.write to ::FakeFS::File.write
|
16
|
-
def self.write(*args
|
17
|
-
::FakeFS::File.write(*args
|
16
|
+
def self.write(*args)
|
17
|
+
::FakeFS::File.write(*args)
|
18
18
|
end
|
19
19
|
end
|
20
20
|
end
|
data/lib/fakefs/version.rb
CHANGED
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: 1.
|
4
|
+
version: 1.8.0
|
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: 2022-06-
|
15
|
+
date: 2022-06-25 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: bump
|