SassyLists 0.4.8 → 0.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.md +1 -0
- data/lib/SassyLists.rb +2 -2
- data/stylesheets/SassyLists/_purge.scss +1 -6
- metadata +2 -2
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
* `0.4.9`: removing `compact()` alias for `purge()` (ref [#23](https://github.com/Team-Sass/SassyLists/issues/23))
|
3
4
|
* `0.4.8`: adding `shuffle()`
|
4
5
|
* `0.4.7`: dramatically improving `sort()` performances and removing all its dependencies
|
5
6
|
* `0.4.6`: fixing an issue when passing an empty list to `chunk()` and improved code quality
|
data/lib/SassyLists.rb
CHANGED
@@ -5,8 +5,8 @@ Compass::Frameworks.register('SassyLists', :path => extension_path)
|
|
5
5
|
# Version is a number. If a version contains alphas, it will be created as a prerelease version
|
6
6
|
# Date is in the form of YYYY-MM-DD
|
7
7
|
module SassyLists
|
8
|
-
VERSION = "0.4.
|
9
|
-
DATE = "2014-01-
|
8
|
+
VERSION = "0.4.9"
|
9
|
+
DATE = "2014-01-20"
|
10
10
|
end
|
11
11
|
|
12
12
|
module Sass::Script::Functions
|
@@ -2,7 +2,6 @@
|
|
2
2
|
// -------------------------------------------------------------------------------
|
3
3
|
// @documentation http://sassylists.com/documentation.html#purge
|
4
4
|
// -------------------------------------------------------------------------------
|
5
|
-
// @alias `compact()`
|
6
5
|
// @alias `clean()`
|
7
6
|
// -------------------------------------------------------------------------------
|
8
7
|
// @example purge(a null b false c) => a, b, c
|
@@ -24,11 +23,7 @@
|
|
24
23
|
@return $result;
|
25
24
|
}
|
26
25
|
|
27
|
-
//
|
28
|
-
@function compact($list) {
|
29
|
-
@return purge($list);
|
30
|
-
}
|
31
|
-
|
26
|
+
// Alias
|
32
27
|
@function clean($list) {
|
33
28
|
@return purge($list);
|
34
29
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: SassyLists
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-01-
|
12
|
+
date: 2014-01-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sass
|