SassyExport 1.3.1 → 1.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 875b72084fad3d502ad40961e06d1f9988557ea0
4
- data.tar.gz: ab9a9c200b55347db06b0178ab6fb93fe884b6f9
3
+ metadata.gz: 87ea1c3c8713266858513866d0a792088031865c
4
+ data.tar.gz: 587439cd8bf59d4d7cdd76db8e420b6a3cf28b57
5
5
  SHA512:
6
- metadata.gz: 6e59df5bc10bee17f113dea3e6cb8a7ca98992be0cd5cd0cf883b82e41b57cb71cc570fa80a8f6121364dfba1ff905b9dd9ca2727ef575a3f6201b032c7a6766
7
- data.tar.gz: 8b34a55e3a21ea95db205e992873f669175e9fab2696f27ea895c2e88a5ff4cf80422c192b684d6604f71d03b231cbcce1287cbd6b6c1fa916058ece94503ac1
6
+ metadata.gz: 809e3e6944d4f209217fa2688e366b9f38901c8cdc0c8f5739452e7d37c32da46dce9deb7435116ed9f80f5f1b5c79f35840398719d4acd1776cdead23ca6e19
7
+ data.tar.gz: 441e95501327dd5570ca4d0e68feadb9753bbdd8568e055e50325ebf2c489629dfe2d55921b5cabde488dd8ee1fdd487f5e6d4d523e3d2e554e6fafa9895c47a
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.3.1"
10
+ VERSION = "1.3.2"
11
11
  DATE = "2014-07-24"
12
12
  end
13
13
 
@@ -1,12 +1,18 @@
1
- // SassyExport : convert passed map to json and write to path/to/filename.json
1
+ // SassyExport : convert passed map to json and write to <path>/<filename>.<ext>
2
2
  // ----------------------------------------------------------------------------------------------------
3
3
  // @param $path [string] : directory path and filename, valid extensions: [json | js]
4
4
  // @param $map [map] : map to convert to json
5
5
  // @param $pretty [bool] : pretty print json
6
6
  // @param $debug [bool] : print debug string with path
7
7
  // ----------------------------------------------------------------------------------------------------
8
- // @return $string | write json to path
8
+ // @return $string | write to path
9
9
 
10
10
  @mixin SassyExport($path, $map, $pretty: false, $debug: false) {
11
- @at-root { @if $debug { /* #{SassyExport($path, $map, $pretty, $debug)} */ } }
11
+ @at-root {
12
+ @if $debug {
13
+ /* #{SassyExport($path, $map, $pretty, $debug)} */
14
+ } @else {
15
+ %SassExport { /* #{SassyExport($path, $map, $pretty, $debug)} */ }
16
+ }
17
+ }
12
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.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ezekiel Gabrielse