gem_liux2 0.1.7 → 0.1.8

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 GemLiux2
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
data/lib/gem_liux2.rb CHANGED
@@ -22,6 +22,10 @@ module GemLiux2
22
22
 
23
23
  # Paths
24
24
 
25
+ def base_directory(*subdirs)
26
+ File.expand_path(File.join(File.dirname(__FILE__), "..", *subdirs))
27
+ end
28
+
25
29
  # Environment detection helpers
26
30
 
27
31
  def compass?
@@ -32,11 +36,11 @@ module GemLiux2
32
36
 
33
37
  def configure_sass
34
38
  require 'sass'
35
- ::Sass.load_paths << testcss_stylesheets_path
39
+ ::Sass.load_paths << base_directory("scss")
36
40
  end
37
41
 
38
42
  def register_compass_extension
39
- ::Compass::Frameworks.register('testcss', :stylesheets_directory => testcss_stylesheets_path)
43
+ ::Compass::Frameworks.register('testcss', :stylesheets_directory => base_directory("scss"))
40
44
  end
41
45
 
42
46
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem_liux2
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 7
10
- version: 0.1.7
9
+ - 8
10
+ version: 0.1.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - test1