cloudseed 0.1.0 → 0.1.1

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/cloudseed.rb +1 -0
  2. metadata +2 -2
data/lib/cloudseed.rb CHANGED
@@ -22,6 +22,7 @@ module CloudSeed
22
22
  end
23
23
 
24
24
  def is_compressable?(mime)
25
+ return false unless mime
25
26
  return mime.start_with?('text/') ||
26
27
  COMPRESSABLE.any?{|c| mime.start_with?(c) }
27
28
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Kurt Mackey