turquoise 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/turquoise/compass_extension.rb +8 -2
- data/lib/turquoise/version.rb +1 -1
- metadata +2 -2
@@ -1,7 +1,13 @@
|
|
1
1
|
if defined?(Compass)
|
2
2
|
options = Hash.new
|
3
|
-
|
4
|
-
|
3
|
+
|
4
|
+
|
5
|
+
base_directory = File.join(File.dirname(__FILE__), '..', '..')
|
6
|
+
stylesheets_dir = File.join(base_directory, 'stylesheets')
|
7
|
+
templates_dir = File.join(base_directory, 'templates')
|
8
|
+
|
9
|
+
options[:stylesheets_directory] = File.expand_path(stylesheets_dir)
|
10
|
+
options[:templates_directory] = File.expand_path(templates_dir)
|
5
11
|
|
6
12
|
Compass::Frameworks.register('turquoise', options)
|
7
13
|
end
|
data/lib/turquoise/version.rb
CHANGED