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

- old
+ new

@@ -1,4 +1,30 @@ +# 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' -Compass::Frameworks.register('respondsass', - :stylesheets_directory => File.join(File.dirname(__FILE__), '..', 'stylesheets'), - :templates_directory => File.join(File.dirname(__FILE__), '..', 'templates')) + +# 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 \ No newline at end of file