bourbon 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,17 +1,11 @@
1
- // functions/_compact.scss
1
+ // Remove `false` values from a list
2
2
 
3
- /**
4
- * Sass implementation of `compact` function from the bourbon.rb library
5
- */
6
- @function compact($var-1, $var-2: false, $var-3: false, $var-4: false, $var-5: false, $var-6: false, $var-7: false, $var-8: false, $var-9: false, $var-10: false, $var-11: false, $var-12: false,$var-13: false, $var-14: false, $var-15: false, $var-16: false) {
7
- $list: ();
8
- $vars: $var-1, $var-2, $var-3, $var-4, $var-5, $var-6, $var-7, $var-8, $var-9, $var-10, $var-11, $var-12, $var-13, $var-14, $var-15;
9
-
10
- @each $var in $vars {
11
- @if $var {
12
- $list: append($list, $var, comma);
13
- }
3
+ @function compact($vars...) {
4
+ $list: ();
5
+ @each $var in $vars {
6
+ @if $var {
7
+ $list: append($list, $var, comma);
14
8
  }
15
-
16
- @return $list;
9
+ }
10
+ @return $list;
17
11
  }
@@ -5,12 +5,7 @@
5
5
  $G7: false, $G8: false,
6
6
  $G9: false, $G10: false,
7
7
  $pos: 50% 50%,
8
- $shape-size: ellipse cover,
9
- $deprecated-pos1: center center,
10
- $deprecated-pos2: center center,
11
- $deprecated-radius1: 0,
12
- $deprecated-radius2: 50,
13
- $fallback: false) {
8
+ $shape-size: ellipse cover) {
14
9
 
15
10
  @each $value in $G1, $G2 {
16
11
  $first-val: nth($value, 1);
@@ -1,3 +1,3 @@
1
1
  module Bourbon
2
- VERSION = "3.0.0"
2
+ VERSION = "3.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bourbon
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -20,11 +20,11 @@ authors:
20
20
  autorequire:
21
21
  bindir: bin
22
22
  cert_chain: []
23
- date: 2012-12-06 00:00:00.000000000 Z
23
+ date: 2012-12-07 00:00:00.000000000 Z
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: sass
27
- requirement: &70282866974140 !ruby/object:Gem::Requirement
27
+ requirement: &70316178000920 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 3.2.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70282866974140
35
+ version_requirements: *70316178000920
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: thor
38
- requirement: &70282866973720 !ruby/object:Gem::Requirement
38
+ requirement: &70316178000500 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70282866973720
46
+ version_requirements: *70316178000500
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: aruba
49
- requirement: &70282866973180 !ruby/object:Gem::Requirement
49
+ requirement: &70316177999960 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0.4'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70282866973180
57
+ version_requirements: *70316177999960
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: rake
60
- requirement: &70282866972700 !ruby/object:Gem::Requirement
60
+ requirement: &70316177999480 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,7 +65,7 @@ dependencies:
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70282866972700
68
+ version_requirements: *70316177999480
69
69
  description: ! 'The purpose of Bourbon Vanilla Sass Mixins is to provide a comprehensive
70
70
  framework of
71
71