compressed-gzipped-assets 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/compressed-gzipped-assets.gemspec +1 -1
- data/lib/compressed-gzipped-assets.rb +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.1
|
@@ -46,7 +46,7 @@ end # ActionView::Helpers::AssetTagHelper
|
|
46
46
|
|
47
47
|
module AssetCompressorWithGoogleClosureOrYUI
|
48
48
|
class << self
|
49
|
-
CONFIG = YAML.load_file(File.join(RAILS_ROOT, 'config', 'asset_compressor_with_google_closure_or_yui.yml'))[RAILS_ENV]
|
49
|
+
CONFIG = YAML.load_file(File.join(RAILS_ROOT, 'config', 'asset_compressor_with_google_closure_or_yui.yml'))[RAILS_ENV] rescue {}
|
50
50
|
|
51
51
|
def compilation_level
|
52
52
|
CONFIG['compilation_level'] || 'SIMPLE_OPTIMIZATIONS'
|