SassyExport 1.3.3 → 1.3.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a3c3e18cfe073e85dddbfa3417f8a36612b4e5e0
4
- data.tar.gz: feb2c593aed507edc440be127163718abd63344d
3
+ metadata.gz: 53a2037c252f87301b442132aa0753395cc21490
4
+ data.tar.gz: 0d24e4153961b47146865ad0fd5b0a56fa49626d
5
5
  SHA512:
6
- metadata.gz: fe01b1754d5043e6a4f95ef5a80278ea4e2c8f2f667d4c60df64d11eeca45fd27741c6b0b86e732b65dba6a5bc2f6b99a974030b8c07f41b0096206a2372d100
7
- data.tar.gz: 6978dee499e0212e8b2ece33509271ceabd4ed316e4f11354b6f0ac4a5ab1e5cc6cbc57f88f8344996b00776b9be952d4a9c9ff7bfcbb062b1a0bf00a74d8f00
6
+ metadata.gz: 1012f46777a605f95238e52507ee60364bb4c0e61c65511a38f271d5328d5d8e35b69d8fe2e7de88fd627ebc37909fae6823deee6b2b83d5bbc50ca6065e22c2
7
+ data.tar.gz: 92eee1d0afb7b658b0a421ad0c45a78e36aa2a5fe0328e0f63ef61946ec686a7aa1b3322fc979f67bb74e163b3cae5d69bfa5a4f64da23cfb872f15a443ff8f3
data/README.md CHANGED
@@ -54,7 +54,7 @@ New JSON file is created at `./json/hello.json`. As you can see, `$path` is rela
54
54
 
55
55
  #### Breakdown
56
56
 
57
- The `SassyExport()` mixin takes a \<directory\>/\<filename\>.\<ext\> `$path` and a Sass `$map` as arguments. You can export straight to a Javascript object by using the extension `.js` instead of `.json`.
57
+ The `SassyExport()` mixin takes a `\<directory\>/\<filename\>.\<ext\>` `$path` and a Sass `$map` as arguments. You can export straight to a Javascript object by using the extension `.js` instead of `.json`.
58
58
  There are also optional arguments: `$pretty` which defaults to `false`, but will print pretty JSON (nicely indented) if set to `true`; and `$debug` which will print debug information if set to `true`.
59
59
 
60
60
  It converts the `$map` into either a JSON map or Javascript object through Ruby, then creates a new directory/file (or updates an existing directory/file), and writes the contents of the JSON string to it.
data/lib/SassyExport.rb CHANGED
@@ -7,8 +7,8 @@ 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.3"
11
- DATE = "2014-07-24"
10
+ VERSION = "1.3.4"
11
+ DATE = "2014-07-29"
12
12
  end
13
13
 
14
14
  # SassyExport : convert passed map to json and write to path/to/filename.json
@@ -10,9 +10,9 @@
10
10
  @mixin SassyExport($path, $map, $pretty: false, $debug: false) {
11
11
  @at-root {
12
12
  @if $debug {
13
- /* #{SassyExport($path, $map, $pretty, $debug)} */
13
+ /*! #{SassyExport($path, $map, $pretty, $debug)} */
14
14
  } @else {
15
- %SassExport { /* #{SassyExport($path, $map, $pretty, $debug)} */ }
15
+ %SassExport { /*! #{SassyExport($path, $map, $pretty, $debug)} */ }
16
16
  }
17
17
  }
18
18
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: SassyExport
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3
4
+ version: 1.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ezekiel Gabrielse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-24 00:00:00.000000000 Z
11
+ date: 2014-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json