chroma-sass 1.1.2 → 1.2.0

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: 8ceadf1166d4eed5e358a52f1cf37051b66c664d
4
- data.tar.gz: d86c220ce440325800a5bfb9302e9bcdb47dcab4
3
+ metadata.gz: aeb0c1f54a84d42988c6a37a1b8e9cb49e2abc11
4
+ data.tar.gz: e14d21cb59364654985b09d89570e654f4d632eb
5
5
  SHA512:
6
- metadata.gz: aeb4741cf26f39a898aab712e9dc960cbff2739a860f31f05fbd04e516bcdb957616485f9d0ad2083a6386ffb8df8579fedd394a6c205d945c710786c236736c
7
- data.tar.gz: 5050e3b0efa2b7cba7b1252d21bb38acdb8852b89d313b842c53a25f2b7656b7cbf6b5a261dad6e46db528d3997cad019a7ce5bbe046c2194ddb053406e5c853
6
+ metadata.gz: 2afefde918b996a9201af90aa103240029589c12bb30b3fca82ab01ec77686f7b11c9dd102814125a53757228c149a1c5cdf78dd44cac8a2e9e305bcdc5ded44
7
+ data.tar.gz: bda602adba2fb0a6a3684d8f6a12850aadbab446bcad0d49554d8f85f070f58e9e49695893bd17bbefece7e528e57b0e718d0adc4bb613782b3edd01606973e5
data/README.md CHANGED
@@ -88,14 +88,22 @@ $chroma-active-scheme: 'functional';
88
88
  }
89
89
  ```
90
90
 
91
- ## INSTALLATION
91
+ ## Install
92
92
 
93
- Chroma can be installed either as a Ruby Gem, as a Bower component, or as a NPM module. See [Chroma’s online documentation](http://johnalbin.github.io/chroma/) for more information.
93
+ Install using one of the following methods:
94
+
95
+ * Install with [npm](http://npmjs.org/): `npm install --save-dev chroma-sass`
96
+ * Install with [Bower](http://bower.io/): `bower install --save-dev chroma`
97
+ * Install with [Ruby Gem](https://rubygems.org/gems/chroma-sass): `gem install chroma-sass`<br>
98
+ and, if using Compass, add `require "chroma-sass"` to your config.rb file.
99
+ * Install with [Bundler](http://bundler.io/) and Ruby Gem: `bundle inject chroma-sass '~> 1.0'`
100
+
101
+ See [Chroma’s online documentation](http://johnalbin.github.io/chroma/#installation) for more information.
94
102
 
95
103
  ## REQUIREMENTS
96
104
 
97
- * Sass 3.4.0 or later
98
- * Or LibSass 3.2.5 or later.
105
+ * LibSass 3.2.5 or later
106
+ * _or_ Ruby Sass 3.4.0 or later
99
107
 
100
108
  ## LICENSE
101
109
 
data/bower.json ADDED
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "chroma",
3
+ "description": "Chroma is the Sass color manager. Manages color names, variations, and schemes.",
4
+ "main": [
5
+ "sass/_chroma.scss"
6
+ ],
7
+ "authors": [
8
+ "John Albin Wilkins <virtually.johnalbin@gmail.com> (http://john.albin.net/)"
9
+ ],
10
+ "license": "GPL-2.0",
11
+ "keywords": [
12
+ "sass",
13
+ "colors"
14
+ ],
15
+ "homepage": "https://github.com/JohnAlbin/chroma",
16
+ "ignore": [
17
+ "**/.*",
18
+ "chroma.gemspec",
19
+ "lib",
20
+ "node_modules",
21
+ "sache.json",
22
+ "test"
23
+ ]
24
+ }
data/chroma-sass.gemspec CHANGED
@@ -1,27 +1,29 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
 
3
3
  Gem::Specification.new do |spec|
4
- spec.name = 'chroma-sass'
4
+ spec.name = 'chroma-sass'
5
5
 
6
- spec.summary = %q{Chroma is the Sass color manager.}
7
- spec.description = %q{Chroma is the Sass color manager. Manages color names, variations, and schemes.}
6
+ spec.summary = %q{Chroma is the Sass color manager.}
7
+ spec.description = %q{Chroma is the Sass color manager, managing color names, variations, and color schemes.}
8
8
 
9
- spec.homepage = 'http://github.com/JohnAlbin/chroma'
9
+ spec.homepage = 'https://github.com/JohnAlbin/chroma'
10
10
  spec.rubyforge_project =
11
11
 
12
- spec.version = '1.1.2'
13
- spec.date = '2015-09-27'
14
- spec.licenses = ['GPL-2']
12
+ spec.version = '1.2.0'
13
+ spec.date = '2015-11-24'
14
+ spec.licenses = ['GPL-2']
15
15
 
16
- spec.authors = ['John Albin Wilkins']
17
- spec.email = 'virtually.johnalbin@gmail.com'
16
+ spec.authors = ['John Albin Wilkins']
17
+ spec.email = 'virtually.johnalbin@gmail.com'
18
18
 
19
19
  spec.add_runtime_dependency('sass', "~> 3.4")
20
20
 
21
- spec.files = `git ls-files`.split($/).select {|f| File.exist?(f) && f =~ %r{^(lib|sass)/} }
22
- spec.files += %w(
21
+ spec.files = `git ls-files`.split($/).select {|f| File.exist?(f) && f =~ %r{^(lib|sass)/} }
22
+ spec.files += %w(
23
+ bower.json
24
+ chroma-sass.gemspec
23
25
  LICENSE.txt
26
+ package.json
24
27
  README.md
25
- chroma-sass.gemspec
26
28
  )
27
29
  end
data/lib/chroma.rb CHANGED
@@ -1,10 +1,17 @@
1
- require 'compass'
2
-
3
1
  project_path = File.join(File.dirname(__FILE__), '..')
4
2
  stylesheets_path = File.join(project_path, 'sass')
5
3
 
6
- Compass::Frameworks.register(
7
- 'chroma',
8
- :path => project_path,
9
- :stylesheets_directory => stylesheets_path
10
- )
4
+ if (defined? Compass)
5
+ Compass::Frameworks.register(
6
+ 'chroma',
7
+ :path => project_path,
8
+ :stylesheets_directory => stylesheets_path
9
+ )
10
+ else
11
+ # Compass not defined, register the Sass path via an environment variable.
12
+ if ENV.has_key?('SASS_PATH')
13
+ ENV['SASS_PATH'] = ENV['SASS_PATH'] + File::PATH_SEPARATOR + stylesheets_path
14
+ else
15
+ ENV['SASS_PATH'] = stylesheets_path
16
+ end
17
+ end
data/package.json ADDED
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "chroma-sass",
3
+ "version": "1.2.0",
4
+ "description": "Chroma is the Sass color manager, managing color names, variations, and color schemes.",
5
+ "homepage": "https://github.com/JohnAlbin/chroma",
6
+ "bugs": {
7
+ "url": "https://github.com/JohnAlbin/chroma/issues"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git://github.com/JohnAlbin/chroma.git"
12
+ },
13
+ "author": "John Albin Wilkins <virtually.johnalbin@gmail.com> (http://john.albin.net/)",
14
+ "keywords": [
15
+ "eyeglass-module",
16
+ "sass",
17
+ "colors"
18
+ ],
19
+ "main": "sass/_normalize.scss",
20
+ "style": "sass/_normalize.scss",
21
+ "eyeglass": {
22
+ "exports": "eyeglass-exports.js",
23
+ "needs": "^0.7.1"
24
+ },
25
+ "directories": {
26
+ "lib": "sass",
27
+ "test": "test"
28
+ },
29
+ "scripts": {
30
+ "test": "mocha",
31
+ "posttest": "eslint test",
32
+ "docs": "kss-node --source sass --source docs --destination gh-pages --homepage homepage.md --title 'Chroma for Sass'"
33
+ },
34
+ "license": "GPL-2.0",
35
+ "dependencies": {},
36
+ "devDependencies": {
37
+ "chai": "^3.4.1",
38
+ "eslint": "^1.9.0",
39
+ "kss": "kss-node/kss-node",
40
+ "mocha": "^2.3.4",
41
+ "sassy-test": "^2.0.0"
42
+ }
43
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chroma-sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Albin Wilkins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-27 00:00:00.000000000 Z
11
+ date: 2015-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
@@ -24,8 +24,8 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.4'
27
- description: Chroma is the Sass color manager. Manages color names, variations, and
28
- schemes.
27
+ description: Chroma is the Sass color manager, managing color names, variations, and
28
+ color schemes.
29
29
  email: virtually.johnalbin@gmail.com
30
30
  executables: []
31
31
  extensions: []
@@ -33,8 +33,10 @@ extra_rdoc_files: []
33
33
  files:
34
34
  - LICENSE.txt
35
35
  - README.md
36
+ - bower.json
36
37
  - chroma-sass.gemspec
37
38
  - lib/chroma.rb
39
+ - package.json
38
40
  - sass/_chroma.scss
39
41
  - sass/chroma/_colour.scss
40
42
  - sass/chroma/_functions.scss
@@ -42,7 +44,7 @@ files:
42
44
  - sass/chroma/_kss.scss
43
45
  - sass/chroma/_skin.scss
44
46
  - sass/chroma/_variables.scss
45
- homepage: http://github.com/JohnAlbin/chroma
47
+ homepage: https://github.com/JohnAlbin/chroma
46
48
  licenses:
47
49
  - GPL-2
48
50
  metadata: {}
@@ -61,7 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
61
63
  - !ruby/object:Gem::Version
62
64
  version: '0'
63
65
  requirements: []
64
- rubyforge_project: 1.1.2
66
+ rubyforge_project: 1.2.0
65
67
  rubygems_version: 2.4.8
66
68
  signing_key:
67
69
  specification_version: 4