gem_liux1 0.5.8 → 0.5.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module GemLiux1
2
- VERSION = "0.5.8"
2
+ VERSION = "0.5.9"
3
3
  end
data/lib/gem_liux1.rb CHANGED
@@ -14,15 +14,12 @@
14
14
 
15
15
 
16
16
  testall_stylesheets_path = File.expand_path(File.join(File.dirname(__FILE__), '..', 'stylesheets'))
17
+ ENV['SASS_PATH'] ||= ''
17
18
  begin
18
19
  require 'compass'
19
20
  Compass::Frameworks.register('testall', :stylesheets_directory => testall_stylesheets_path)
20
21
  rescue LoadError
21
- # compass not found, register on the Sass path via the environment.
22
- if ENV.has_key?("SASSPATH")
23
- ENV["SASSPATH"] = ENV["SASSPATH"] + File::PATH_SEPARATOR + testall_stylesheets_path
24
- else
25
- ENV["SASSPATH"] = testall_stylesheets_path
26
- end
27
22
  end
23
+ # compass not found, register on the Sass path via the environment.
24
+ ENV['SASS_PATH'] += File::PATH_SEPARATOR + true_stylesheets_path
28
25
 
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: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 8
10
- version: 0.5.8
9
+ - 9
10
+ version: 0.5.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - a