SassyExport 1.0.14 → 1.0.15
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/lib/SassyExport.rb +2 -3
- 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: ef33f35c2904d12c62687c7e0f5b294cba05ff25
|
4
|
+
data.tar.gz: 6e0dc9ec84ec7f9446eb5ed3d6216837ed2493e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6719b0e70ea67360e4632cae0235bb539553dcf5e26d8bd040febab3a2db2473ae53b5cd1c3c853534d0d1b8a4ae5870c33d0d4b2cb8c23bc7f5fc43dc4a9d8a
|
7
|
+
data.tar.gz: ce9ecbd92f09818413e455b7ade395aa5581f5a5f4f131bc8f1e9db2bcb6c7b29d25530308f56b076c9b08fd7f97a16ca3227ad7e7b0586a4a024e2f7ef5dbc1
|
data/lib/SassyExport.rb
CHANGED
@@ -11,14 +11,13 @@ Compass::Frameworks.register('SassyExport', :path => extension_path)
|
|
11
11
|
# Version is a number. If a version contains alphas, it will be created as a prerelease version
|
12
12
|
# Date is in the form of YYYY-MM-DD
|
13
13
|
module SassyExport
|
14
|
-
VERSION = "1.0.
|
14
|
+
VERSION = "1.0.15"
|
15
15
|
DATE = "2014-06-02"
|
16
16
|
end
|
17
17
|
|
18
18
|
# SassyExport : write passed json string to path/to/filename.json
|
19
19
|
# ----------------------------------------------------------------------------------------------------
|
20
20
|
# @param path [string] : directory path to write string
|
21
|
-
# @param filename [string] : file name to write to path
|
22
21
|
# @param string [string] : json to write to filename
|
23
22
|
# ----------------------------------------------------------------------------------------------------
|
24
23
|
# @return string | write filename to path
|
@@ -30,6 +29,6 @@ module Sass::Script::Functions
|
|
30
29
|
# open file [create new file if file does not exist], write string to root/path/to/filename.json
|
31
30
|
File.open("#{root}#{path}", "w") { |f| f.write(json) }
|
32
31
|
# return string for use in css
|
33
|
-
return
|
32
|
+
return json
|
34
33
|
end
|
35
34
|
end
|