Sha256: 8c8c3d0e7fd6a99fee15a9f8de6b554eba29a3162947be0a8e45d061dbcde008

Contents?: true

Size: 294 Bytes

Versions: 9

Compression:

Stored size: 294 Bytes

Contents

module Spontaneous::Rack::Back
  class SiteAssets < Base
    def initialize(charset = "UTF-8")
      @environment = Spontaneous::Asset::Environment.preview
      @app = Spontaneous::Rack::AssetServer.new(@environment, charset)
    end

    def call(env)
      @app.call(env)
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
spontaneous-0.2.0.beta10 lib/spontaneous/rack/back/site_assets.rb
spontaneous-0.2.0.beta9 lib/spontaneous/rack/back/site_assets.rb
spontaneous-0.2.0.beta8 lib/spontaneous/rack/back/site_assets.rb
spontaneous-0.2.0.beta7 lib/spontaneous/rack/back/site_assets.rb
spontaneous-0.2.0.beta6 lib/spontaneous/rack/back/site_assets.rb
spontaneous-0.2.0.beta5 lib/spontaneous/rack/back/site_assets.rb
spontaneous-0.2.0.beta4 lib/spontaneous/rack/back/site_assets.rb
spontaneous-0.2.0.beta3 lib/spontaneous/rack/back/site_assets.rb
spontaneous-0.2.0.beta2 lib/spontaneous/rack/back/site_assets.rb