fffs 0.0.12.1 → 0.0.12.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/fffs/file.rb +1 -1
  2. metadata +2 -2
data/lib/fffs/file.rb CHANGED
@@ -38,7 +38,7 @@ class File
38
38
  @mime = 'text/plain'
39
39
 
40
40
  @content = content.clone
41
- @content.force_encoding 'ASCII-8BIT'
41
+ @content.force_encoding('ASCII-8BIT') rescue nil
42
42
  end
43
43
 
44
44
  def name= (value)
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: fffs
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.12.1
5
+ version: 0.0.12.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - meh.
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-06-02 00:00:00 Z
13
+ date: 2011-06-06 00:00:00 Z
14
14
  dependencies: []
15
15
 
16
16
  description: A virtual filesystem for embedded data.