compressed-gzipped-assets 0.0.0 → 0.0.1

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.0
1
+ 0.0.1
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{compressed-gzipped-assets}
8
- s.version = "0.0.0"
8
+ s.version = "0.0.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ryan Shaw"]
@@ -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'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compressed-gzipped-assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Shaw