smart_asset 0.4.5 → 0.4.6

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/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
 
@@ -1,3 +1,3 @@
1
1
  class SmartAsset
2
- VERSION = "0.4.5" unless defined?(::SmartAsset::VERSION)
2
+ VERSION = "0.4.6" unless defined?(::SmartAsset::VERSION)
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 4
8
- - 5
9
- version: 0.4.5
8
+ - 6
9
+ version: 0.4.6
10
10
  platform: ruby
11
11
  authors:
12
12
  - Winton Welsh