A sweet Sinatra extension for asset hosting. Roarrrrrrrr
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
README.markdown
Rakefile
VERSION
animalcracker.gemspec

README.markdown

Animal Cracker

Usage

In your Sinatra app somewhere:

require 'animalcracker'

class MyApp < Sinatra::Base
  register AnimalCracker::Server
  get_assets "/assets" # This is the root pathw where assets are to be found

  configure do
    AnimalCracker::AssetHost.configure(:asset_path => "./assets")
  end
end

NOW: JUST NEED TO MAKE THIS WORK :)