smart_asset 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/smart_asset.rb +1 -1
- data/lib/smart_asset/version.rb +1 -1
- metadata +2 -2
data/lib/smart_asset.rb
CHANGED
@@ -126,7 +126,7 @@ class SmartAsset
|
|
126
126
|
if @config['append_random'].nil?
|
127
127
|
@config['append_random'] = {}
|
128
128
|
end
|
129
|
-
if @config['append_random']['development'].nil?
|
129
|
+
if @config['append_random'].is_a?(::Hash) && @config['append_random']['development'].nil?
|
130
130
|
@config['append_random']['development'] = true
|
131
131
|
end
|
132
132
|
|
data/lib/smart_asset/version.rb
CHANGED