Sha256: 80810f3601c15ba93a61938f3f50a58752d949a8b583f96f6f4b1bef3fc8dd20
Contents?: true
Size: 780 Bytes
Versions: 1
Compression:
Stored size: 780 Bytes
Contents
require 'json' require 'forwardable' require 'mime/types' require 'logger' require 'pp' coffee_type = MIME::Type.new('text/coffeescript') do |t| t.encoding = '8bit' t.extensions = %w{coffee} end sass_type = MIME::Type.new('text/sass') do |t| t.encoding = '8bit' t.extensions = %w{sass scss} end MIME::Types.add coffee_type, sass_type module Assette extend self CONFIG_WRAPPER = 'ASSETTE CONFIG' VERSION = File.open(File.expand_path(File.dirname(__FILE__)+'/../VERSION')).read.freeze def logger @logger ||= Logger.new(STDOUT) end def logger=(l) @logger = l end end %w{config reader readers post_processor post_processors compiled_file file template_set template view_helper}.each do |f| require File.dirname(__FILE__)+'/assette/'+f end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
assette-0.0.6 | lib/assette.rb |