Sha256: 0aa00104d1673eefa394da3aa853deee0b4bfcb3bcea0506c727d0f3edbcc5b3

Contents?: true

Size: 514 Bytes

Versions: 6

Compression:

Stored size: 514 Bytes

Contents

# Frozen-string-literal: true
# Copyright: 2012 - 2017 - MIT License
# Encoding: utf-8

module Jekyll
  module Assets
    # --
    # Inherits from and overrides some of Sprockets asset,
    #   this way we can have some external assets that do not
    #   break the way we work or the way Sprockets works.
    # --
    class Url < Sprockets::Asset
      alias hexdigest id
      alias digest_path filename
      alias url filename
      alias digest id

      def integrity
        nil
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
jekyll-assets-3.0.5 lib/jekyll/assets/url.rb
jekyll-assets-3.0.4 lib/jekyll/assets/url.rb
jekyll-assets-3.0.3 lib/jekyll/assets/url.rb
jekyll-assets-3.0.2 lib/jekyll/assets/url.rb
jekyll-assets-3.0.1 lib/jekyll/assets/url.rb
jekyll-assets-3.0.0 lib/jekyll/assets/url.rb