SassyExport 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/lib/SassyExport.rb CHANGED
@@ -12,7 +12,7 @@ Compass::Frameworks.register('SassyExport', :path => extension_path)
12
12
  # ----------------------------------------------------------------------------------------------------
13
13
 
14
14
  module SassyExport
15
- VERSION = "1.0.3"
15
+ VERSION = "1.0.4"
16
16
  DATE = "2014-05-31"
17
17
  end
18
18
 
@@ -25,7 +25,7 @@ end
25
25
  # @return string | write filename to path
26
26
 
27
27
  module Sass::Script::Functions
28
- def SassyJSON_export(path, filename, string)
28
+ def SassyExport(path, filename, string)
29
29
  # define root path up to current folder
30
30
  root = File.dirname(options[:filename] || ".")
31
31
  # open file [create new file if file does not exist], write $string to $root/$path/$filename
@@ -9,10 +9,10 @@
9
9
  // ----------------------------------------------------------------------------------------------------
10
10
  // @return creates placeholeder | write filename to path
11
11
 
12
- @mixin json_export($path, $filename, $map) {
12
+ @mixin SassyExport($path, $filename, $map) {
13
13
  @at-root {
14
- %json_export {
15
- content: "#{SassyJSON_export(unquote($path), unquote($filename), unquote(json_encode($map)))}";
14
+ %SassyExport {
15
+ content: "#{SassyExport(unquote($path), unquote($filename), unquote(json_encode($map)))}";
16
16
  }
17
17
  }
18
18
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: SassyExport
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: