sassy-namespaces 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5de29c6930745583a511964cdd6bae9a00df96e6
4
- data.tar.gz: aab7cb7d42c64e4e0a91854b83fa57fceb97ea4b
3
+ metadata.gz: 06038572e7783786290f97184fac2816a8d2b047
4
+ data.tar.gz: bcbc5187ca4ec63055642874fe59ea1c09de2c8b
5
5
  SHA512:
6
- metadata.gz: 771e9dd0bd499a99caf00230d92b384c78dd6b8851d8a88160c83748b5c2b1548e85d6f59195bd55cb0c877f275ce495b4d00be2e42adba2a72acbcfa40d53c6
7
- data.tar.gz: 718e25b61dba1ef6d6d672c0a219c06e1788eefa78a1a3364ea4fc056ab34f8faa72af0c587c6268999b057a7f7c43d929bba4c7329555cf4ba0bbfbc39bfa85
6
+ metadata.gz: df1439ad8cb79fe6e93aeab12cb9a21b825cf1256e9988ef158beefb18d8c0ce018187722707c9c8491b7445241f6cce2c62b27489cac72e5144845bdea47ab7
7
+ data.tar.gz: 8e2dbd0cd2a46b4337470e449c9fe07f235b0ee8376645b247ea3663151920fe2b32014347cea7c95806e4244efea4b876adabad4e8e55bddc33bbd3107f7e97
@@ -5,6 +5,6 @@ extension_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
5
5
  Compass::Frameworks.register('sassy-namespaces', :path => extension_path)
6
6
 
7
7
  module SassyNamespaces
8
- VERSION = "0.1.5"
9
- DATE = "2014-03-18"
8
+ VERSION = "0.1.6"
9
+ DATE = "2014-03-20"
10
10
  end
@@ -41,7 +41,10 @@ $__sassy-namespaces: ();
41
41
  @return null;
42
42
  }
43
43
 
44
- @if $length > 0 {
44
+ @if $length == 1 {
45
+ @return $namespace;
46
+ }
47
+ @else if $length == 2 {
45
48
  $keys: nth($args, 1);
46
49
 
47
50
  @if length($keys) == 1 {
@@ -49,8 +52,9 @@ $__sassy-namespaces: ();
49
52
  } @else {
50
53
  @return map-get-deep($namespace, $args...);
51
54
  }
52
- } @else {
53
- @return $namespace;
55
+ }
56
+ @else {
57
+ @return null;
54
58
  }
55
59
  }
56
60
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sassy-namespaces
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Clark
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-18 00:00:00.000000000 Z
11
+ date: 2014-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass