SassyExport 1.3.4 → 1.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/SassyExport.rb +11 -7
- data/stylesheets/{SassyExport.scss → _SassyExport.scss} +0 -0
- metadata +7 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2b1768c99d5f417dd02b0e855f9aa2fa20a083a
|
4
|
+
data.tar.gz: 47be6265be40ffe56e78262372485168ea713f2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 498999b9ecdbc3187f5bd626e969b21cb91ad44d928b0e4e91415475b882abe39e9c47eebcda6bc7b085fe8da7dfb1bb9565f57d671b386db8114628bf94b583
|
7
|
+
data.tar.gz: f4c5781bb456c9e8ec7c02d9c29a4334caf616d59afe477fc91d5a43f8f621c0fbf277e7cb7392a9d82fdab185f7aaf301405eae9cf06b89090d71d1dcde2fbc
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# SassyExport [![Gem Version](https://badge.fury.io/rb/SassyExport.svg)](http://badge.fury.io/rb/SassyExport)
|
2
2
|
|
3
|
-
SassyExport is a lightweight
|
3
|
+
SassyExport is a lightweight Sass extension that allows you to export an encoded Sass map into an external JSON file. Use it anyway you like.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
data/lib/SassyExport.rb
CHANGED
@@ -1,14 +1,18 @@
|
|
1
|
-
require
|
1
|
+
require 'sass'
|
2
2
|
require "json"
|
3
3
|
|
4
|
-
|
5
|
-
|
4
|
+
base_directory = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
5
|
+
sassyexport_stylesheets_path = File.join(base_directory, 'stylesheets')
|
6
|
+
|
7
|
+
if (defined? Compass)
|
8
|
+
Compass::Frameworks.register('SassyExport', :path => base_directory)
|
9
|
+
else
|
10
|
+
ENV["SASS_PATH"] = [ENV["SASS_PATH"], sassyexport_stylesheets_path].compact.join(File::PATH_SEPARATOR)
|
11
|
+
end
|
6
12
|
|
7
|
-
# Version is a number. If a version contains alphas, it will be created as a prerelease version
|
8
|
-
# Date is in the form of YYYY-MM-DD
|
9
13
|
module SassyExport
|
10
|
-
VERSION = "1.3.
|
11
|
-
DATE = "2014-
|
14
|
+
VERSION = "1.3.5"
|
15
|
+
DATE = "2014-08-18"
|
12
16
|
end
|
13
17
|
|
14
18
|
# SassyExport : convert passed map to json and write to path/to/filename.json
|
File without changes
|
metadata
CHANGED
@@ -1,29 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: SassyExport
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.5
|
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-
|
11
|
+
date: 2014-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: json
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 1.8.1
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: 1.8.1
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: sass
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -39,20 +25,20 @@ dependencies:
|
|
39
25
|
- !ruby/object:Gem::Version
|
40
26
|
version: 3.3.0
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
28
|
+
name: json
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
44
30
|
requirements:
|
45
31
|
- - ">="
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
33
|
+
version: 1.8.1
|
48
34
|
type: :runtime
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
38
|
- - ">="
|
53
39
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
55
|
-
description: SassyExport is a lightweight
|
40
|
+
version: 1.8.1
|
41
|
+
description: SassyExport is a lightweight Sass extension that allows you to export
|
56
42
|
an encoded Sass map into an external JSON file.
|
57
43
|
email:
|
58
44
|
- ezekg@yahoo.com
|
@@ -62,7 +48,7 @@ extra_rdoc_files: []
|
|
62
48
|
files:
|
63
49
|
- README.md
|
64
50
|
- lib/SassyExport.rb
|
65
|
-
- stylesheets/
|
51
|
+
- stylesheets/_SassyExport.scss
|
66
52
|
homepage: https://github.com/ezekg/SassyExport/
|
67
53
|
licenses:
|
68
54
|
- MIT
|