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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 53a2037c252f87301b442132aa0753395cc21490
4
- data.tar.gz: 0d24e4153961b47146865ad0fd5b0a56fa49626d
3
+ metadata.gz: a2b1768c99d5f417dd02b0e855f9aa2fa20a083a
4
+ data.tar.gz: 47be6265be40ffe56e78262372485168ea713f2f
5
5
  SHA512:
6
- metadata.gz: 1012f46777a605f95238e52507ee60364bb4c0e61c65511a38f271d5328d5d8e35b69d8fe2e7de88fd627ebc37909fae6823deee6b2b83d5bbc50ca6065e22c2
7
- data.tar.gz: 92eee1d0afb7b658b0a421ad0c45a78e36aa2a5fe0328e0f63ef61946ec686a7aa1b3322fc979f67bb74e163b3cae5d69bfa5a4f64da23cfb872f15a443ff8f3
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 Compass extension that allows you to export an encoded Sass map into an external JSON file. Use it anyway you like.
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
 
@@ -1,14 +1,18 @@
1
- require "compass"
1
+ require 'sass'
2
2
  require "json"
3
3
 
4
- extension_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
5
- Compass::Frameworks.register('SassyExport', :path => extension_path)
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.4"
11
- DATE = "2014-07-29"
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
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
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-07-29 00:00:00.000000000 Z
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: compass
28
+ name: json
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
31
  - - ">="
46
32
  - !ruby/object:Gem::Version
47
- version: 0.12.1
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: 0.12.1
55
- description: SassyExport is a lightweight Compass extension that allows you to export
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/SassyExport.scss
51
+ - stylesheets/_SassyExport.scss
66
52
  homepage: https://github.com/ezekg/SassyExport/
67
53
  licenses:
68
54
  - MIT