pigment 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pigment.rb +2 -2
- metadata +22 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f65760dd782badba8e2142b5b44f801956ac611c
|
4
|
+
data.tar.gz: 7558e44c1a8bc79bee4d4236bc86a6dedc31d0d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 257a7f79240c8875f5990861cb8d5c195ac32a26c05c2b78e49c4a532efe086cddcb206e2e8bc1fd86020c227dded6e0e6d8517950f0f81950c383e1ea84fc7e
|
7
|
+
data.tar.gz: 3bdc92c1b0835aae32863cd37db8255cbcb3a2d462249645f87b542f48717adf225d668f3f8662738351764c90ecb280360a4fb0fce2c2d88b729c64ff97097f
|
data/lib/pigment.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
module Pigment
|
2
|
-
VERSION = '0.2.
|
2
|
+
VERSION = '0.2.3'.freeze
|
3
3
|
|
4
4
|
class Color
|
5
5
|
|
@@ -166,7 +166,7 @@ module Pigment
|
|
166
166
|
# @param [Color] color
|
167
167
|
# @return [Boolean]
|
168
168
|
def ==(color)
|
169
|
-
color.is_a?(Color) && color.
|
169
|
+
color.is_a?(Color) && color.rgba == rgba
|
170
170
|
end
|
171
171
|
|
172
172
|
# @return [Color]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pigment
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- P3t3rU5
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-04-14 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: A rgb color gem, with a list of 750 different colors defined within 869
|
15
15
|
names.
|
@@ -24,16 +24,26 @@ files:
|
|
24
24
|
- lib/pigment.rb
|
25
25
|
- README.md
|
26
26
|
homepage: https://github.com/P3t3rU5/pigment
|
27
|
-
licenses:
|
27
|
+
licenses:
|
28
|
+
- MIT
|
28
29
|
metadata: {}
|
29
|
-
post_install_message:
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
30
|
+
post_install_message: |
|
31
|
+
+----------------------------------------------------------------------------+
|
32
|
+
Thanks for choosing Pigment.
|
33
|
+
|
34
|
+
==========================================================================
|
35
|
+
0.2.3 Changes:
|
36
|
+
- Corrected Color#== to include alpha
|
37
|
+
|
38
|
+
==========================================================================
|
39
|
+
|
40
|
+
If you like what you see, support us on Pledgie:
|
41
|
+
http://www.pledgie.com/campaigns/18945
|
42
|
+
|
43
|
+
If you find any bugs, please report them on
|
44
|
+
https://github.com/P3t3rU5/pigment/issues
|
45
|
+
|
46
|
+
+----------------------------------------------------------------------------+
|
37
47
|
rdoc_options: []
|
38
48
|
require_paths:
|
39
49
|
- lib
|
@@ -49,7 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
49
59
|
version: '0'
|
50
60
|
requirements: []
|
51
61
|
rubyforge_project:
|
52
|
-
rubygems_version: 2.0.
|
62
|
+
rubygems_version: 2.0.3
|
53
63
|
signing_key:
|
54
64
|
specification_version: 4
|
55
65
|
summary: A rgb color gem, with a list of 750 different colors.
|