compass-connector 0.7.1 → 0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/compass-connector/configuration.rb +11 -4
- data/lib/compass-connector.rb +1 -1
- metadata +1 -1
@@ -1,11 +1,18 @@
|
|
1
1
|
require "compass/configuration"
|
2
2
|
|
3
3
|
CompassConnector::Resolver.configuration().each do |key,value|
|
4
|
-
if
|
5
|
-
value
|
6
|
-
|
4
|
+
if key == "plugins"
|
5
|
+
value.each do |lib,version|
|
6
|
+
gem lib, version
|
7
|
+
require lib
|
8
|
+
end
|
9
|
+
else
|
10
|
+
if value.is_a?String and value.start_with?(":")
|
11
|
+
value[0]=''
|
12
|
+
value = value.to_sym
|
13
|
+
end
|
14
|
+
Compass.configuration.send(key+"=", value)
|
7
15
|
end
|
8
|
-
Compass.configuration.send(key+"=", value)
|
9
16
|
end
|
10
17
|
|
11
18
|
Compass.configuration.http_path = "/"
|
data/lib/compass-connector.rb
CHANGED