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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ce09ec8d126543da5199d5a49c32ac6e7122895c2a07985a0216a9b45105f6bc
4
- data.tar.gz: 0bbcbe864737bc302f7c8f079f448f8f3a89128fb5bcdcd35c42c062b8d7c2aa
3
+ metadata.gz: 8e8927be6abec55f007c7e506a952e715415bacde44cf649e04c12d33b16ecab
4
+ data.tar.gz: a25489d361ce7ab7c5421c8685285507a19750ed87ef770432d5d10240cb5545
5
5
  SHA512:
6
- metadata.gz: 22575e664d52f74dc4c14d84d8981c751d33a43e94b52891e51e9b1cc5000838f25fd8f8709de48908f4d01ad489c51d4aa0865fc6b1c82b77c63e0814d93d01
7
- data.tar.gz: e570516fa4e06a352b1b90bf643331b296f60684920a51a65a897913fa7c1a91a2a2ea092bcb363d8727442281851fa3f3fe497d09100bbf5e1b2f4bbe3e8274
6
+ metadata.gz: 47fa5277d6012a8b89cda9f380949aac619286cd9b025f39b3b298aae3b5586474ae1858095886e9cdcdd93b1e9517bd63c51d0db50c6ffb8bae2a048b5f127d
7
+ data.tar.gz: 2f6871703b0c795b555b55e8792ecc926f866bfe95675518f01b0ff27e3cf1a17825f35b8547b9d2213b94a2d1270ed06a62727c7c8220669b9dbd20a927de5b
data/lib/fakefs/file.rb CHANGED
@@ -574,7 +574,7 @@ module FakeFS
574
574
  end
575
575
 
576
576
  def readpartial(*)
577
- raise NotImplementedError
577
+ super
578
578
  end
579
579
 
580
580
  def atime
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.read
6
- def self.binread(*args, **keywords)
7
- ::FakeFS::File.read(*args, **keywords)
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, **keywords)
12
- ::FakeFS::File.read(*args, **keywords)
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, **keywords)
17
- ::FakeFS::File.write(*args, **keywords)
16
+ def self.write(*args)
17
+ ::FakeFS::File.write(*args)
18
18
  end
19
19
  end
20
20
  end
@@ -1,7 +1,7 @@
1
1
  module FakeFS
2
2
  # Version module
3
3
  module Version
4
- VERSION = '1.7.0'.freeze
4
+ VERSION = '1.8.0'.freeze
5
5
 
6
6
  def self.to_s
7
7
  VERSION
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.7.0
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-19 00:00:00.000000000 Z
15
+ date: 2022-06-25 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: bump