Sha256: e28ba38090b8004ca0d59342f7bc14df9eadc82243380c8a8697067db578192c

Contents?: true

Size: 775 Bytes

Versions: 2

Compression:

Stored size: 775 Bytes

Contents

# Require any additional compass plugins here.
project_type = :stand_alone
css_dir = "tmp"
sass_dir = "sass"
images_dir = "images"
output_style = :compact
# To enable relative image paths using the images_url() function:
# http_images_path = :relative
http_images_path = "/images"
line_comments = false

asset_cache_buster do |path, file|
  pathname = Pathname.new(path)
  
  case pathname.basename(pathname.extname).to_s
  when "grid"
    new_path = "%s/%s-BUSTED%s" % [pathname.dirname, pathname.basename(pathname.extname), pathname.extname]
    {:path => new_path, :query => nil}
  when "feed"
    "query_string"
  when "dk"
    {:query => "query_string"}
  end
end


asset_host do |path|
  "http://assets%d.example.com" % (path.size % 4)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
compass-sourcemaps-0.12.3.sourcemaps.a4836f1 test/fixtures/stylesheets/busted_image_urls/config.rb
compass-sourcemaps-0.12.2.sourcemaps.57a186c test/fixtures/stylesheets/busted_image_urls/config.rb