dshelf 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/dshelf/dfile.rb +1 -1
  2. data/lib/dshelf.rb +1 -1
  3. metadata +2 -2
data/lib/dshelf/dfile.rb CHANGED
@@ -43,7 +43,7 @@ class DistributedFile
43
43
  return @mimetype if @mimetype
44
44
  @mimetype = MIME::Types.type_for(File.basename path)
45
45
  @mimetype = if @mimetype.empty?
46
- ""
46
+ "application/octet-stream"
47
47
  else
48
48
  @mimetype[0]
49
49
  end
data/lib/dshelf.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module DistributedShelf
2
- VERSION = '0.2.7'
2
+ VERSION = '0.2.8'
3
3
 
4
4
  @@config = {}
5
5
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 7
9
- version: 0.2.7
8
+ - 8
9
+ version: 0.2.8
10
10
  platform: ruby
11
11
  authors:
12
12
  - Phil Pirozhkov