carrierwave-magic 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/carrierwave-magic.rb +0 -8
- data/lib/carrierwave-magic/version.rb +1 -1
- metadata +1 -1
data/lib/carrierwave-magic.rb
CHANGED
|
@@ -11,14 +11,6 @@ module CarrierWave
|
|
|
11
11
|
e.message << ' (You may need to install the ruby-filemagic gem)'
|
|
12
12
|
raise e
|
|
13
13
|
end
|
|
14
|
-
|
|
15
|
-
begin
|
|
16
|
-
require "mime/types"
|
|
17
|
-
rescue LoadError => e
|
|
18
|
-
e.message << " (You may need to install the mime-types gem)"
|
|
19
|
-
raise e
|
|
20
|
-
end
|
|
21
|
-
|
|
22
14
|
end
|
|
23
15
|
|
|
24
16
|
module ClassMethods
|