compass-connector 0.7.1 → 0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,11 +1,18 @@
1
1
  require "compass/configuration"
2
2
 
3
3
  CompassConnector::Resolver.configuration().each do |key,value|
4
- if value.is_a?String and value.start_with?(":")
5
- value[0]=''
6
- value = value.to_sym
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 = "/"
@@ -28,7 +28,7 @@ module CompassConnector
28
28
  class Resolver
29
29
 
30
30
  @process = nil
31
- @api_version = 1
31
+ @api_version = 2
32
32
 
33
33
  private_class_method
34
34
  def self.resolver(method, *args)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass-connector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: '0.8'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: