bard-sass 0.2.0 → 0.2.1

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: df30c23fafd978a0bff78fe553581f34e19027c2
4
- data.tar.gz: a68c8eb70863aa6b5db38a96735c07334d983308
3
+ metadata.gz: 8a4975a203b021cd07c6c646e8d177084d07e76b
4
+ data.tar.gz: d42aed95009cf90983f76fcc12bfa0955df97c0b
5
5
  SHA512:
6
- metadata.gz: ed090ae7d322a51610bb96b3ac94fb2936b578afe0a4abd08dd46fcaace835cc88d0009c26851e157e90aa8cdab14f9629111a36265a6f4b17cce8a0c5ba6c17
7
- data.tar.gz: b98259aaddac836ebe17c0b751589826252a5dc297caafb70a04733b06041b67a74f96b45f08831e68e039c09a242681e057ebfc498d11f8db20676b65c06fa4
6
+ metadata.gz: d903b8eb8b859fbf2a48d000bde322c08df3e4c70c8ac2f09ab78d72d4ad4dca1b937b7d73fc2858329c1b3afa7638cba407c24e6991811529552fcce837f309
7
+ data.tar.gz: c89afdc77b47404cf94926af085ad8d6c7af101a5981a469d7a2b9dc6375d6c4be1248553b5c5d46a6aee3cf0ecdd6fff41f06796ec8c5e71407532dc20450ca
@@ -1,5 +1,5 @@
1
1
  module Bard
2
2
  module Sass
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
@@ -38,7 +38,7 @@
38
38
  @mixin font-face(
39
39
  $font-family,
40
40
  $file-path,
41
- $file-formats,
41
+ $file-formats
42
42
  ) {
43
43
  @font-face {
44
44
  font-family: $font-family;
@@ -93,3 +93,27 @@
93
93
  @return $src;
94
94
  }
95
95
 
96
+ /// Checks if a list contains a value(s).
97
+ ///
98
+ /// @argument {list} $list
99
+ /// The list to check against.
100
+ ///
101
+ /// @argument {list} $values
102
+ /// A single value or list of values to check for.
103
+ ///
104
+ /// @return {boolean}
105
+ ///
106
+ /// @access private
107
+
108
+ @function _contains(
109
+ $list,
110
+ $values...
111
+ ) {
112
+ @each $value in $values {
113
+ @if type-of(index($list, $value)) != "number" {
114
+ @return false;
115
+ }
116
+ }
117
+
118
+ @return true;
119
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bard-sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Gubitosa