pigment 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/pigment.rb +2 -2
  3. metadata +22 -12
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fa93c0cb53d8ea02c5ac2fc22ef5ec38e8813312
4
- data.tar.gz: a8a5c9ab08d5bd83c724648d59b7690006340eae
3
+ metadata.gz: f65760dd782badba8e2142b5b44f801956ac611c
4
+ data.tar.gz: 7558e44c1a8bc79bee4d4236bc86a6dedc31d0d8
5
5
  SHA512:
6
- metadata.gz: 80e7100b40073f0324781c73a3fa339d7e11925338235793422c32f7eae455f6023b96b0ae8d65749c61dc4e0e723d475f2b602bbe875e9fbc785603e72222ac
7
- data.tar.gz: 49f28e87d806019f82df6018344c4d8a7fe078dc46fb4a4b088a8c303f7fadbd6ceeb327671b94e27a764316542973568c8d04cde2bd797e03d373453ce21cec
6
+ metadata.gz: 257a7f79240c8875f5990861cb8d5c195ac32a26c05c2b78e49c4a532efe086cddcb206e2e8bc1fd86020c227dded6e0e6d8517950f0f81950c383e1ea84fc7e
7
+ data.tar.gz: 3bdc92c1b0835aae32863cd37db8255cbcb3a2d462249645f87b542f48717adf225d668f3f8662738351764c90ecb280360a4fb0fce2c2d88b729c64ff97097f
@@ -1,5 +1,5 @@
1
1
  module Pigment
2
- VERSION = '0.2.2'.freeze
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.rgb == rgb
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.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-03-06 00:00:00.000000000 Z
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: "+----------------------------------------------------------------------------+\n
30
- \ Thanks for choosing Pigment.\n\n ==========================================================================\n
31
- \ 0.2.2 Changes:\n - Added method chaining for #r, #g, #b and #a methods for
32
- example \n\t\tcolor.rgggba returns an array with r, g, g, g, b, a.\n - Color[]
33
- now accepts more than one argument and returns an array of \n\t\tcolors or just
34
- one color.\n\t\t- Version is now Frozen.\n\t\t- Added license.\n\n ==========================================================================\n\n
35
- \ If you like what you see, support us on Pledgie:\n http://www.pledgie.com/campaigns/18945\n\n
36
- \ If you find any bugs, please report them on\n https://github.com/P3t3rU5/pigment/issues\n\n+----------------------------------------------------------------------------+\n"
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.2
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.