fakefs 0.14.0 → 0.14.1

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: 31db99cb7de1e5f339b6c41d82f61680c648e36f319e5d1973299a2b3effe347
4
- data.tar.gz: b18014abd60aa12ba08bc037164cec52ddc005c1a780d17ed6a7a6e9906af399
3
+ metadata.gz: 954f3fc7ea36c08c05e1c2ca89e91adf4428c12a10106b3b7a4d40bd9f4423d1
4
+ data.tar.gz: 9390881fc9ee94194ae5949b1ca51d094a90d51f7f41386212599c28cb7f15bb
5
5
  SHA512:
6
- metadata.gz: 814c3fe4b2eb600b674adbb0d903550a3a3fdf1a6209660b0f9dea7f4d90657981e2078e5e584aca8972c738fbddd73f39b20c3704970a368ee3b17a174e2d2c
7
- data.tar.gz: 70892ade1983519bdb0900005dadd09e1d620ed457754c02bc12f5505dac61a74d8dfdeca8d801c22db4d2c24445fbed9b6cad343d16f8beb87867c1692a0a1c
6
+ metadata.gz: 55ef32d6dce753f635cf136c51ca520cb43ac23327479b3c7c8b7851cd4162702d033be69d2404c1a7efc23b8c34b4df0848cb1aabf2730e42d8ce3152557ca7
7
+ data.tar.gz: 869f3a78cfa683cce97204c7c72abd40e1085bf6febfdad85fca7492b16f3f520185ff539169ea9e8779abea7c7a17915b9290855975837349ca8d7c84d21428
@@ -604,7 +604,7 @@ module FakeFS
604
604
 
605
605
  def read(length = nil, buf = '')
606
606
  read_buf = super(length, buf)
607
- read_buf.force_encoding('ASCII-8BIT') if binary_mode?
607
+ read_buf&.force_encoding('ASCII-8BIT') if binary_mode?
608
608
  read_buf
609
609
  end
610
610
 
@@ -1,7 +1,7 @@
1
1
  module FakeFS
2
2
  # Version module
3
3
  module Version
4
- VERSION = '0.14.0'.freeze
4
+ VERSION = '0.14.1'.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: 0.14.0
4
+ version: 0.14.1
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: 2018-05-16 00:00:00.000000000 Z
15
+ date: 2018-05-17 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: bump