lib/sinatra/classy_assets.rb in classy_assets-0.1.1 vs lib/sinatra/classy_assets.rb in classy_assets-0.1.2
- old
+ new
@@ -12,9 +12,10 @@
app.configure_sprockets_helpers do |config|
manifest_file = ::File.join(::ClassyAssets::Configuration.public_path, ::ClassyAssets::Configuration.asset_prefix, 'manifset.json')
config.asset_host = ::ClassyAssets::Configuration.asset_host
config.debug = ::ClassyAssets::Configuration.debug_mode
+ config.digest = ::ClassyAssets::Configuration.asset_digest
config.environment = ::ClassyAssets::Configuration.sprockets
config.manifest = ::Sprockets::Manifest.new(::ClassyAssets::Configuration.sprockets, manifest_file) if ::File.exists? manifest_file
config.prefix = ::ClassyAssets::Configuration.asset_prefix
config.public_path = ::ClassyAssets::Configuration.public_path
end