Skip to content
This repository was archived by the owner on Oct 26, 2018. It is now read-only.

Conversation

@robertzx
Copy link

@robertzx robertzx commented Nov 9, 2010

Awesome gem! This was a lifesaver.

I've got a few changes on my fork that you might want:

  • When an asset is excluded by the exclude pattern, the tag helpers shouldn't generate Cloudfront URLs because the asset (probably) won't be there.
  • The CSS image URL got overly greedy on non-quoted URLs in some cases - this mostly bit me on minified CSS files generated by Jammit
  • Test cases for both of the above.
  • Example rake task for uploading

thanks,
Robert

rsanders and others added 28 commits November 8, 2010 13:57
* release/v1.1.0_mime:
  add some speculative font mime types (widespread disagreement on this)
… => true, don't use CF asset host

if any asset source name matches "^//", treat it as a full URL in compute_public_path
* release/z1.1.0.4:
  Bumped version to z1.1.0.4
  Use ERB to process paperclip.yml.
* release/z1.1.0.4:
  Bumped version to z1.1.0.4
* master:
  fix case mismatch with right_aws
  Removed expiry header as requested by PT 27722733
  fix bug in tests related to timestamp/asset_id caching
  if stylesheet or javascript include/link tags have recursive or cache => true, don't use CF asset host if any asset source name matches "^//", treat it as a full URL in compute_public_path
  ignore :cache=>true all.{js,css} files
  add bugs file
  add some speculative font mime types (widespread disagreement on this)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants