Sha256: 535524097308bca5ea164da0651e8137324dd65ad9d66fa4702c02abaa1f637b

Contents?: true

Size: 746 Bytes

Versions: 57

Compression:

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

57 entries across 56 versions & 6 rubygems

Version Path
arcabouco-0.2.13 vendor/bundle/gems/compass-1.0.3/test/fixtures/stylesheets/busted_image_urls/config.rb
compass-1.0.3 test/fixtures/stylesheets/busted_image_urls/config.rb
compass-1.1.0.alpha.3 test/fixtures/stylesheets/busted_image_urls/config.rb
compass-1.1.0.alpha.2 test/fixtures/stylesheets/busted_image_urls/config.rb
compass-1.1.0.alpha.1 test/fixtures/stylesheets/busted_image_urls/config.rb
compass-1.1.0.alpha.0 test/fixtures/stylesheets/busted_image_urls/config.rb
compass-1.0.1 test/fixtures/stylesheets/busted_image_urls/config.rb
compass-1.0.0 test/fixtures/stylesheets/busted_image_urls/config.rb
compass-1.0.0.rc.1 test/fixtures/stylesheets/busted_image_urls/config.rb
compass-1.0.0.rc.0 test/fixtures/stylesheets/busted_image_urls/config.rb
compass-0.12.7 test/fixtures/stylesheets/busted_image_urls/config.rb
compass-1.0.0.alpha.21 test/fixtures/stylesheets/busted_image_urls/config.rb
compass-1.0.0.alpha.20 test/fixtures/stylesheets/busted_image_urls/config.rb
sadui-0.0.4 vendor/bundle/ruby/2.1.0/gems/compass-0.12.3/test/fixtures/stylesheets/busted_image_urls/config.rb
sadui-0.0.4 vendor/bundle/ruby/2.0.0/gems/compass-0.12.3/test/fixtures/stylesheets/busted_image_urls/config.rb
compass-0.12.6 test/fixtures/stylesheets/busted_image_urls/config.rb
compass-0.12.5 test/fixtures/stylesheets/busted_image_urls/config.rb
compass-0.12.4 test/fixtures/stylesheets/busted_image_urls/config.rb
compass-1.0.0.alpha.19 test/fixtures/stylesheets/busted_image_urls/config.rb
compass-0.12.3 test/fixtures/stylesheets/busted_image_urls/config.rb