gem_liux1 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/gem_liux1/version.rb +1 -1
  2. data/lib/gem_liux1.rb +12 -22
  3. metadata +3 -3
@@ -1,3 +1,3 @@
1
1
  module GemLiux1
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
data/lib/gem_liux1.rb CHANGED
@@ -1,16 +1,16 @@
1
- # module GemLiux1
2
- # module Init
3
- # def base_directory(*subdirs)
4
- # File.expand_path(File.join(File.dirname(__FILE__), "..", *subdirs))
5
- # end
6
- # module_function :base_directory
7
- # end
8
- # end
1
+ module GemLiux1
2
+ module Init
3
+ def base_directory(*subdirs)
4
+ File.expand_path(File.join(File.dirname(__FILE__), "..", *subdirs))
5
+ end
6
+ module_function :base_directory
7
+ end
8
+ end
9
9
 
10
- # begin
11
- # require "compass"
12
- # Compass::Frameworks.register("test2345",:test2345_directory => GemLiux1::Init.base_directory("stylesheets"))
13
- # end
10
+ begin
11
+ require "compass"
12
+ Compass::Frameworks.register("test2345",:stylesheets_directory => GemLiux1::Init.base_directory("stylesheets"))
13
+ end
14
14
 
15
15
 
16
16
  # testall_stylesheets_path = File.expand_path(File.join(File.dirname(__FILE__), '..', 'stylesheets'))
@@ -25,13 +25,3 @@
25
25
  # ENV["SASSPATH"] = testall_stylesheets_path
26
26
  # end
27
27
  # end
28
-
29
- testall_stylesheets_path = File.expand_path(File.join(File.dirname(__FILE__), '..', 'stylesheets'))
30
- ENV['SASS_PATH'] ||= ''
31
- begin
32
- require 'compass'
33
- ENV['SASS_PATH'] = ENV['SASS_PATH'] + File::PATH_SEPARATOR + Compass.configuration.sass_load_paths.join(File::PATH_SEPARATOR)
34
- rescue LoadError
35
- end
36
- # compass not found, register on the Sass path via the environment.
37
- ENV['SASS_PATH'] += File::PATH_SEPARATOR + testall_stylesheets_path
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem_liux1
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 2
10
- version: 0.3.2
9
+ - 3
10
+ version: 0.3.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - a