true 0.2.0.rc.2 → 0.2.0.rc.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -0
  3. data/lib/true.rb +8 -3
  4. metadata +5 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: acb303911922a97634919c220c206f88c497210f
4
- data.tar.gz: 0a376a1af4a21990323a99d8fb28afb672464174
3
+ metadata.gz: b1f9246c747e6317687cf3b12d73e661f0d182d7
4
+ data.tar.gz: f6569b50c4af50405626308e4a85d80650832ae1
5
5
  SHA512:
6
- metadata.gz: 61a91a7d52f619381570811c8c51a8bec51beaf14280b7099910f77055fb36d5e719142772ceeaf012ea6e5916b3421a7ad6c7b85b7d8f7547a32a1af5a248b7
7
- data.tar.gz: 463c8e2257e88e7c317e028f1938aa95faa916f1dd9b59441150c27e6fd8a83f5b5d72e1a7c72a4a6ae01e5202f50011477106ad9d95986ec6f7c1a86d59f58d
6
+ metadata.gz: 219a1513a99c839904e30961dae729e615e5f65fd7cbd28315a9bf0ea826438af16a30a0009a18c27c830d2b5a28d79e1a2856c9019a3d6e09d1ca76a892f036
7
+ data.tar.gz: 44dd4b91557b6fc9fc4ba99ee547e4dd8ed4f207c8dd43bd46201e0fa3404dd9b363dfe1b008e5b2c3595f1498faf2380e8324850db27feaab9658769ed845e9
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.2.0.rc.2
@@ -1,7 +1,12 @@
1
+ true_stylesheets_path = File.expand_path(File.join(File.dirname(__FILE__), '..', 'sass'))
1
2
  begin
2
3
  require 'compass'
3
- Compass::Frameworks.register('true',
4
- :stylesheets_directory => File.expand_path(File.join(File.dirname(__FILE__), '..', 'sass')))
4
+ Compass::Frameworks.register('true', :stylesheets_directory => true_stylesheets_path)
5
5
  rescue LoadError
6
- # compass not found, don't register with it.
6
+ # compass not found, register on the Sass path via the environment.
7
+ if ENV.has_key?("SASSPATH")
8
+ ENV["SASSPATH"] = ENV["SASSPATH"] + File::PATH_SEPARATOR + true_stylesheets_path
9
+ else
10
+ ENV["SASSPATH"] = true_stylesheets_path
11
+ end
7
12
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: 'true'
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.rc.2
4
+ version: 0.2.0.rc.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Meyer
@@ -48,6 +48,7 @@ files:
48
48
  - CHANGELOG.md
49
49
  - LICENSE.txt
50
50
  - README.md
51
+ - VERSION
51
52
  homepage: http://eric.andmeyer.com/true
52
53
  licenses: []
53
54
  metadata: {}
@@ -68,12 +69,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
69
  version: '0'
69
70
  required_rubygems_version: !ruby/object:Gem::Requirement
70
71
  requirements:
71
- - - '>='
72
+ - - '>'
72
73
  - !ruby/object:Gem::Version
73
- version: '1.2'
74
+ version: 1.3.1
74
75
  requirements: []
75
76
  rubyforge_project: 'true'
76
- rubygems_version: 2.0.3
77
+ rubygems_version: 2.0.0.rc.2
77
78
  signing_key:
78
79
  specification_version: 3
79
80
  summary: Testing framework for Sass libraries.