Sha256: 6bfd9deb9aa6c36f752cbb25f28720c74e4d0c20cd0bf36aedf265516c1c94aa

Contents?: true

Size: 750 Bytes

Versions: 15

Compression:

Stored size: 750 Bytes

Contents

module ApplicationView
  module Config
    def compress_embedded_js?
      CONFIG["compress"]["embedded_js"]
    end
    
    def compress_js_assets?
      CONFIG["compress"]["js_assets"]
    end
    
    def compress_css?
      CONFIG["compress"]["css"]
    end
    
    def validate_embedded_js?
      CONFIG["validate"]["embedded_js"][YMDP_ENV]
    end
    
    def validate_js_assets?
      CONFIG["validate"]["js_assets"][YMDP_ENV]
    end
    
    def validate_json_assets?
      CONFIG["validate"]["json_assets"][YMDP_ENV]
    end
    
    def validate_html?
      CONFIG["validate"]["html"][YMDP_ENV]
    end
    
    def obfuscate?
      CONFIG["compress"]["obfuscate"]
    end
    
    def verbose?
      CONFIG["verbose"]
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
ymdp-0.0.17 lib/application_view/config.rb
ymdp-0.0.16 lib/application_view/config.rb
ymdp-0.0.15 lib/application_view/config.rb
ymdp-0.0.14 lib/application_view/config.rb
ymdp-0.0.13 lib/application_view/config.rb
ymdp-0.0.12 lib/application_view/config.rb
ymdp-0.0.11 lib/application_view/config.rb
ymdp-0.0.10 lib/application_view/config.rb
ymdp-0.0.9 lib/application_view/config.rb
ymdp-0.0.8 lib/application_view/config.rb
ymdp-0.0.7 lib/application_view/config.rb
ymdp-0.0.6 lib/application_view/config.rb
ymdp-0.0.5 lib/application_view/config.rb
ymdp-0.0.4 lib/application_view/config.rb
ymdp-0.0.3 lib/application_view/config.rb