turquoise 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module Turquoise
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
data/lib/turquoise.rb CHANGED
@@ -1,3 +1,16 @@
1
- module Turquoise
2
- # Your code goes here...
3
- end
1
+ require 'compass'
2
+
3
+ if defined?(Compass)
4
+ options = Hash.new
5
+
6
+ extension_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
7
+ base_directory = File.join(File.dirname(__FILE__), '..')
8
+ stylesheets_dir = File.join(base_directory, 'stylesheets')
9
+ templates_dir = File.join(base_directory, 'templates')
10
+
11
+ options[:extension_path] = File.expand_path(extension_path)
12
+ options[:stylesheets_directory] = File.expand_path(stylesheets_dir)
13
+ options[:templates_directory] = File.expand_path(templates_dir)
14
+
15
+ Compass::Frameworks.register('turquoise', options)
16
+ end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 6
9
- version: 0.0.6
8
+ - 7
9
+ version: 0.0.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - Volkan Unsal
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-12-18 00:00:00 -05:00
17
+ date: 2010-12-20 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -44,7 +44,6 @@ files:
44
44
  - Gemfile
45
45
  - Rakefile
46
46
  - lib/turquoise.rb
47
- - lib/turquoise/compass_extension.rb
48
47
  - lib/turquoise/version.rb
49
48
  - stylesheets/_my_extension.sass
50
49
  - templates/project/ie.scss
@@ -1,13 +0,0 @@
1
- if defined?(Compass)
2
- options = Hash.new
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)
11
-
12
- Compass::Frameworks.register('turquoise', options)
13
- end