SassyExport 1.0.9 → 1.0.10
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/lib/SassyExport.rb +2 -2
- metadata +1 -1
data/lib/SassyExport.rb
CHANGED
@@ -11,7 +11,7 @@ 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.10"
|
15
15
|
DATE = "2014-05-31"
|
16
16
|
end
|
17
17
|
|
@@ -26,7 +26,7 @@ end
|
|
26
26
|
module Sass::Script::Functions
|
27
27
|
def SassyExport(path, filename, string)
|
28
28
|
# define root path up to current folder
|
29
|
-
root = File.dirname(
|
29
|
+
root = File.expand_path File.dirname(__FILE__)
|
30
30
|
# open file [create new file if file does not exist], write $string to $root/$path/$filename
|
31
31
|
File.open("#{root}/#{path}/#{filename}.json", "w") { |f| f.write(string) }
|
32
32
|
# return string for use in css
|