pigment 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/pigment.rb +2 -2
  2. metadata +1 -1
data/lib/pigment.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Pigment
2
- VERSION = '0.1.4'
2
+ VERSION = '0.1.5'
3
3
 
4
4
  class Color
5
5
 
@@ -176,7 +176,7 @@ module Pigment
176
176
  # @param [Color] color
177
177
  # @return [Boolean]
178
178
  def ==(color)
179
- color.is_a? Color && color.rgb == @color.rgb
179
+ color.is_a? Color && color.rgb == rgb
180
180
  end
181
181
 
182
182
  # Converts a color to its grayscale correspondent
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.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: