Sha256: ecf55229e3ed6de4e2ca35d08c7aa2dbcd3e3e5a72ab38502c478f84c80f2f7e

Contents?: true

Size: 387 Bytes

Versions: 7

Compression:

Stored size: 387 Bytes

Contents

module Sprockets
  module Helpers
    # `ManifestPath` uses the digest path and
    # prepends the prefix.
    class ManifestPath < AssetPath
      def initialize(uri, path, options = {})
        @uri     = uri
        @options = {
          :body   => false,
          :prefix => Helpers.prefix
        }.merge options
        
        @uri.path = path.to_s
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sprockets-helpers-0.8.0 lib/sprockets/helpers/manifest_path.rb
sprockets-helpers-0.7.2 lib/sprockets/helpers/manifest_path.rb
sprockets-helpers-0.7.1 lib/sprockets/helpers/manifest_path.rb
sprockets-helpers-0.7.0 lib/sprockets/helpers/manifest_path.rb
sprockets-helpers-0.6.1 lib/sprockets/helpers/manifest_path.rb
sprockets-helpers-0.6.0 lib/sprockets/helpers/manifest_path.rb
sprockets-helpers-0.5.0 lib/sprockets/helpers/manifest_path.rb