chriseppstein-compass 0.5.3 → 0.5.4
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.
- data/VERSION +1 -1
- data/compass.gemspec +2 -2
- data/lib/compass/configuration.rb +7 -3
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.5.
|
|
1
|
+
0.5.4
|
data/compass.gemspec
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = %q{compass}
|
|
3
|
-
s.version = "0.5.
|
|
3
|
+
s.version = "0.5.4"
|
|
4
4
|
|
|
5
5
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
|
6
6
|
s.authors = ["Chris Eppstein"]
|
|
7
|
-
s.date = %q{2009-03-
|
|
7
|
+
s.date = %q{2009-03-16}
|
|
8
8
|
s.default_executable = %q{compass}
|
|
9
9
|
s.description = %q{Sass-Based CSS Meta-Framework. Semantic, Maintainable CSS.}
|
|
10
10
|
s.email = %q{chris@eppsteins.net}
|
|
@@ -114,6 +114,12 @@ module Compass
|
|
|
114
114
|
end
|
|
115
115
|
|
|
116
116
|
def to_sass_engine_options
|
|
117
|
+
engine_opts = {:load_paths => sass_load_paths}
|
|
118
|
+
engine_opts[:style] = output_style if output_style
|
|
119
|
+
engine_opts
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
def sass_load_paths
|
|
117
123
|
load_paths = []
|
|
118
124
|
if project_path && sass_dir
|
|
119
125
|
load_paths << File.join(project_path, sass_dir)
|
|
@@ -121,9 +127,7 @@ module Compass
|
|
|
121
127
|
Compass::Frameworks::ALL.each do |framework|
|
|
122
128
|
load_paths << framework.stylesheets_directory
|
|
123
129
|
end
|
|
124
|
-
|
|
125
|
-
engine_opts[:style] = output_style if output_style
|
|
126
|
-
engine_opts
|
|
130
|
+
load_paths
|
|
127
131
|
end
|
|
128
132
|
|
|
129
133
|
# Support for testing.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: chriseppstein-compass
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chris Eppstein
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-03-
|
|
12
|
+
date: 2009-03-16 00:00:00 -07:00
|
|
13
13
|
default_executable: compass
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|