lib/slippery/assets.rb in slippery-0.0.3 vs lib/slippery/assets.rb in slippery-0.1.0

- old
+ new

@@ -1,14 +1,13 @@ -require 'fileutils' - # Manage the assets and their URI/path module Slippery module Assets - ASSETS_PATH = '../../../assets/' + ASSETS_PATH = ROOT.join('assets') # Copies the assets locally def self.embed_locally - FileUtils.cp_r(File.expand_path(ASSETS_PATH, __FILE__), './') + raise 'damn' + FileUtils.cp_r(ASSETS_PATH, './') end # returns a composer returning a URI for a given relative file path # considering if the asset is local or not def self.path_composer(local)