chroma-sass 1.0.0.beta.2 → 1.0.0.beta.3

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: 6a6bc71fd5ea710cbb9cd69fcb5b783488b1df48
4
- data.tar.gz: 06fed0323a3ae2873ddd408f1a06c993f1f1d1e9
3
+ metadata.gz: d790126ea8171eb7be69c7cd459e9efbdd9d970d
4
+ data.tar.gz: 0c4ca0e76a0d4e5152150e11b75c3be5f19a8451
5
5
  SHA512:
6
- metadata.gz: 11e671536d3964edb707e955b476fb69297653f059903d5b8d85995b6cdd416ef897f540a525147a55a9ec99106efa182981008acaf2a2658e502e2e9114bcb3
7
- data.tar.gz: 38592a4bf1fe26e0c99de1deb2c0e00d95d5776c1243dde5623564407fd84ce09e9cbe6e13e3bcb2b7e569ef983f7e8c2bb9251d032b017a6d739871b00fab4c
6
+ metadata.gz: b4e4963fa9803e6c83d586369009431cfc8cef440503829a8011ecdcadcc9d2724e73a3470e8425b726bedfd3c73d4f192e1205cb1827faae9b12c3f36fc13d8
7
+ data.tar.gz: f963d961e3c581f6831a668d377e3b0523834abf698409716c8add0b22f9641dc2c88fafb9d8a140d5f0abcaf44a90ffd446794b7e0ffa6cbdb8d926034bc65b
data/README.md CHANGED
@@ -82,7 +82,7 @@ gem install chroma-sass
82
82
  If you are using Bundler (and you should!) then you can add it to an existing project by editing the project's Gemfile and adding this line:
83
83
 
84
84
  ```ruby
85
- gem 'chroma-sass', '~> 1.0.0.beta.2'
85
+ gem 'chroma-sass', '~> 1.0.0.beta.3'
86
86
  ```
87
87
 
88
88
  If you are using Compass, edit your project's config.rb and add this line:
data/chroma-sass.gemspec CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
9
9
  spec.homepage = 'http://github.com/JohnAlbin/chroma'
10
10
  spec.rubyforge_project =
11
11
 
12
- spec.version = '1.0.0.beta.2'
13
- spec.date = '2015-05-07'
12
+ spec.version = '1.0.0.beta.3'
13
+ spec.date = '2015-08-17'
14
14
  spec.licenses = ['GPL-2']
15
15
 
16
16
  spec.authors = ['John Albin Wilkins']
@@ -78,7 +78,9 @@ $chroma: _chroma-init();
78
78
  }
79
79
 
80
80
  // Convert the color to a string.
81
- $name: inspect($name);
81
+ @if type-of($name) == 'color' {
82
+ $name: inspect($name);
83
+ }
82
84
 
83
85
  @return if(map-has-key($_chroma-css4-color-keywords, $name), map-get($_chroma-css4-color-keywords, $name), false);
84
86
  }
@@ -92,9 +94,9 @@ $chroma: _chroma-init();
92
94
  //
93
95
  // Style guide: functions.chroma-to-string
94
96
  @function chroma-to-string($name) {
95
- // If the name is a color keyword, convert it to a string.
97
+ // If the name is a color keyword, is-color-keyword() converts it to a string.
96
98
  $is-keyword: is-color-keyword($name);
97
- @return if($is-keyword, $is-keyword, inspect($name));
99
+ @return if($is-keyword, $is-keyword, $name);
98
100
  }
99
101
 
100
102
  // color([$scheme,] $name)
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.0.0.beta.2
4
+ version: 1.0.0.beta.3
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-05-07 00:00:00.000000000 Z
11
+ date: 2015-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
@@ -60,8 +60,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
60
  - !ruby/object:Gem::Version
61
61
  version: 1.3.1
62
62
  requirements: []
63
- rubyforge_project: 1.0.0.beta.2
64
- rubygems_version: 2.4.6
63
+ rubyforge_project: 1.0.0.beta.3
64
+ rubygems_version: 2.4.8
65
65
  signing_key:
66
66
  specification_version: 4
67
67
  summary: Chroma is the Sass color manager.