Sha256: 725cf2e38d51f5f7cf7b56ee0ba948733db1da9d141f42471e7ca161f54f3548

Contents?: true

Size: 373 Bytes

Versions: 10

Compression:

Stored size: 373 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

10 entries across 10 versions & 2 rubygems

Version Path
sprockets-helpers-1.3.0 lib/sprockets/helpers/manifest_path.rb
sprockets-helpers-1.2.3 lib/sprockets/helpers/manifest_path.rb
sprockets-helpers-1.2.2 lib/sprockets/helpers/manifest_path.rb
arcabouco-0.2.13 vendor/bundle/gems/sprockets-helpers-1.2.1/lib/sprockets/helpers/manifest_path.rb
sprockets-helpers-1.2.1 lib/sprockets/helpers/manifest_path.rb
sprockets-helpers-1.2.0 lib/sprockets/helpers/manifest_path.rb
sprockets-helpers-1.1.0 lib/sprockets/helpers/manifest_path.rb
sprockets-helpers-1.0.1 lib/sprockets/helpers/manifest_path.rb
sprockets-helpers-1.0.0 lib/sprockets/helpers/manifest_path.rb
sprockets-helpers-0.9.1 lib/sprockets/helpers/manifest_path.rb