SassyExport 1.0.16 → 1.1.0
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.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/SassyExport.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2b5f61b639e7e5a3b68e219446d3a4736ec08d79
|
|
4
|
+
data.tar.gz: ce04ad399009cce61d626752c5be8bba12f1246f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 92af948797a97578ce2fad65438508ef0087304434e67d1b5b320304b88989146afbf0a544f03eaf849396cdcf84fa3f8210247874c48060e2bd9474c270fdf5
|
|
7
|
+
data.tar.gz: d3b6da6afb1d073a89d7762e99a622eed73347d57d249ec3ba6496b017fb5adc2fa3f906cd1586499eb1e73ac741bee73eee9d809bd866049692e04575d801df
|
data/README.md
CHANGED
|
@@ -53,10 +53,10 @@ New JSON file is created at `./json/hello.json`. As you can see, `$path` is rela
|
|
|
53
53
|
|
|
54
54
|
#### Breakdown
|
|
55
55
|
|
|
56
|
-
The `SassyExport()` mixin takes a directory/filename.json `$path`, and a Sass `$map` as arguments. It
|
|
56
|
+
The `SassyExport()` mixin takes a directory/filename.json `$path`, and a Sass `$map` as arguments. It converts the `$map` into a JSON map through Ruby, and then creates a new file (or updates an existing file), and writes the contents of the json string to it. I'm no Ruby expert, so if you belive that you could improve the small amount of code here, feel free to.
|
|
57
57
|
|
|
58
58
|
Enjoy.
|
|
59
59
|
|
|
60
|
-
##
|
|
60
|
+
## Also Check Out
|
|
61
61
|
|
|
62
|
-
* [
|
|
62
|
+
* [SassyJSON](https://github.com/HugoGiraudel/SassyJSON)
|
data/lib/SassyExport.rb
CHANGED
|
@@ -7,7 +7,7 @@ Compass::Frameworks.register('SassyExport', :path => extension_path)
|
|
|
7
7
|
# Version is a number. If a version contains alphas, it will be created as a prerelease version
|
|
8
8
|
# Date is in the form of YYYY-MM-DD
|
|
9
9
|
module SassyExport
|
|
10
|
-
VERSION = "1.0
|
|
10
|
+
VERSION = "1.1.0"
|
|
11
11
|
DATE = "2014-06-04"
|
|
12
12
|
end
|
|
13
13
|
|