lib/respondsass.rb in respondsass-1.0 vs lib/respondsass.rb in respondsass-1.1

- old
+ new

@@ -1,30 +1,4 @@ -# All gems that are required for this extension to work should go here. -# These are the requires you would normally put in your config.rb file -# By default, you should always included Compass. Do not include your -# extension. require 'compass' - -# This tells Compass what your Compass extension is called, and where to find -# its files -# Replace 'extension' with the name of your extension. Spaces allowed. -extension_path = File.expand_path(File.join(File.dirname(__FILE__), "..")) -Compass::Frameworks.register('respondsass', :path => extension_path) - -# Version and date of version for your Compass extension. -# Replace Extension with the name of your extension -# Letters, numbers, and underscores only -# Version is a number. If a version contains alphas, it will be created as -# a prerelease version -# Date is in the form of YYYY-MM-DD -module Respondsass - VERSION = "1.0" - DATE = "2013-06-01" -end - -# This is where any custom SassScript should be placed. The functions will be -# available on require of your extension without the need for users to import -# any partials. Uncomment below. - -# module Sass::Script::Functions -# -# end +Compass::Frameworks.register('respondsass', + :stylesheets_directory => File.join(File.dirname(__FILE__), '..', 'stylesheets'), + :templates_directory => File.join(File.dirname(__FILE__), '..', 'templates')) \ No newline at end of file