Skip to content

Commit

Permalink
Adding BeccaPurple as #663399.
Browse files Browse the repository at this point in the history
- Also changing the homepage, fixing #10.
  • Loading branch information
halostatue committed Jun 13, 2014
1 parent ffc16e8 commit 3a214a6
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 10 deletions.
14 changes: 14 additions & 0 deletions History.rdoc
@@ -1,3 +1,17 @@
== 1.7 / 2014-06-12

* Minor enhancements:
* Added Color::RGB::BeccaPurple (#663399) in honour of Rebecca Meyer, the
daughter of Eric Meyer, who passed away on the 7th of June, 2014. Her
favourite colour was purple. #663399becca
https://twitter.com/meyerweb/status/476089708674428929
http://www.zeldman.com/2014/06/10/the-color-purple/
http://discourse.specifiction.org/t/name-663399-becca-purple-in-css4-color/225

* Bug fixes:
* Changed the homepage in the gem to point to github.com instead of
RubyForge, which has been shut down. Fixes #10, reported by @voxik.

== 1.6 / 2014-05-19

* Major enhancements:
Expand Down
9 changes: 5 additions & 4 deletions README.rdoc
@@ -1,6 +1,6 @@
= Color

home :: http://color.rubyforge.org
home :: https://github.com/halostatue/color
code :: https://github.com/halostatue/color
bugs :: https://github.com/halostatue/color/issues
rdoc :: http://rubydoc.info/github/halostatue/color
Expand All @@ -22,9 +22,10 @@ this won't matter. Absolute colour spaces (like CIE L*a*b* and XYZ) and cannot
be reliably converted to relative colour spaces (like RGB) without colour
profiles.

Color version 1.6 primarily adds a colour matching method for RGB and
experimental CIE L*a*b* and XYZ conversion methods for use with the colour
matching method.
Color version 1.7 adds Color::RGB::BeccaPurple for the colour #663399 in honour
of Rebecca Meyer, the daughter of Eric Meyer, who passed away on the 7th of
June, 2014. Her favourite colour was purple.
{#663399becca}[https://twitter.com/hashtag/663399becca]

Barring bugs introduced in this release, this is the last version of color that
supports Ruby 1.8, so make sure that your gem specification is set properly (to
Expand Down
10 changes: 5 additions & 5 deletions color.gemspec
@@ -1,19 +1,19 @@
# -*- encoding: utf-8 -*-
# stub: color 1.6 ruby lib
# stub: color 1.7 ruby lib

Gem::Specification.new do |s|
s.name = "color"
s.version = "1.6"
s.version = "1.7"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.require_paths = ["lib"]
s.authors = ["Austin Ziegler", "Matt Lyon"]
s.date = "2014-05-20"
s.description = "Color is a Ruby library to provide basic RGB, CMYK, HSL, and other colourspace\nmanipulation support to applications that require it. It also provides 152\nnamed RGB colours (184 with spelling variations) that are commonly supported in\nHTML, SVG, and X11 applications. A technique for generating monochromatic\ncontrasting palettes is also included.\n\nThe Color library performs purely mathematical manipulation of the colours\nbased on colour theory without reference to colour profiles (such as sRGB or\nAdobe RGB). For most purposes, when working with RGB and HSL colour spaces,\nthis won't matter. Absolute colour spaces (like CIE L*a*b* and XYZ) and cannot\nbe reliably converted to relative colour spaces (like RGB) without colour\nprofiles.\n\nColor version 1.6 primarily adds a colour matching method for RGB and\nexperimental CIE L*a*b* and XYZ conversion methods for use with the colour\nmatching method.\n\nBarring bugs introduced in this release, this is the last version of color that\nsupports Ruby 1.8, so make sure that your gem specification is set properly (to\n<tt>~> 1.6</tt>) if that matters for your application."
s.date = "2014-06-13"
s.description = "Color is a Ruby library to provide basic RGB, CMYK, HSL, and other colourspace\nmanipulation support to applications that require it. It also provides 152\nnamed RGB colours (184 with spelling variations) that are commonly supported in\nHTML, SVG, and X11 applications. A technique for generating monochromatic\ncontrasting palettes is also included.\n\nThe Color library performs purely mathematical manipulation of the colours\nbased on colour theory without reference to colour profiles (such as sRGB or\nAdobe RGB). For most purposes, when working with RGB and HSL colour spaces,\nthis won't matter. Absolute colour spaces (like CIE L*a*b* and XYZ) and cannot\nbe reliably converted to relative colour spaces (like RGB) without colour\nprofiles.\n\nColor version 1.7 adds Color::RGB::BeccaPurple for the colour #663399 in honour\nof Rebecca Meyer, the daughter of Eric Meyer, who passed away on the 7th of\nJune, 2014. Her favourite colour was purple.\n{#663399becca}[https://twitter.com/hashtag/663399becca]\n\nBarring bugs introduced in this release, this is the last version of color that\nsupports Ruby 1.8, so make sure that your gem specification is set properly (to\n<tt>~> 1.6</tt>) if that matters for your application."
s.email = ["halostatue@gmail.com", "matt@postsomnia.com"]
s.extra_rdoc_files = ["Contributing.rdoc", "History.rdoc", "Licence.rdoc", "Manifest.txt", "README.rdoc", "Contributing.rdoc", "History.rdoc", "Licence.rdoc", "README.rdoc"]
s.files = [".autotest", ".gemtest", ".hoerc", ".minitest.rb", ".travis.yml", "Contributing.rdoc", "Gemfile", "History.rdoc", "Licence.rdoc", "Manifest.txt", "README.rdoc", "Rakefile", "lib/color.rb", "lib/color/cmyk.rb", "lib/color/css.rb", "lib/color/grayscale.rb", "lib/color/hsl.rb", "lib/color/palette.rb", "lib/color/palette/adobecolor.rb", "lib/color/palette/gimp.rb", "lib/color/palette/monocontrast.rb", "lib/color/rgb.rb", "lib/color/rgb/colors.rb", "lib/color/rgb/contrast.rb", "lib/color/rgb/metallic.rb", "lib/color/yiq.rb", "test/minitest_helper.rb", "test/test_adobecolor.rb", "test/test_cmyk.rb", "test/test_color.rb", "test/test_css.rb", "test/test_gimp.rb", "test/test_grayscale.rb", "test/test_hsl.rb", "test/test_monocontrast.rb", "test/test_rgb.rb", "test/test_yiq.rb"]
s.homepage = "http://color.rubyforge.org"
s.homepage = "https://github.com/halostatue/color"
s.licenses = ["MIT"]
s.rdoc_options = ["--main", "README.rdoc"]
s.rubygems_version = "2.2.1"
Expand Down
2 changes: 1 addition & 1 deletion lib/color.rb
Expand Up @@ -3,7 +3,7 @@

# = Colour Management with Ruby
module Color
COLOR_VERSION = '1.6'
COLOR_VERSION = '1.7'

class RGB; end
class CMYK; end
Expand Down
1 change: 1 addition & 0 deletions lib/color/rgb/colors.rb
Expand Up @@ -13,6 +13,7 @@ def named(rgb, *names)
named [0xf0, 0xff, 0xff], :Azure
named [0xf5, 0xf5, 0xdc], :Beige
named [0xff, 0xe4, 0xc4], :Bisque
named [0x66, 0x33, 0x99], :BeccaPurple
named [0x00, 0x00, 0x00], :Black
named [0xff, 0xeb, 0xcd], :BlanchedAlmond
named [0x00, 0x00, 0xff], :Blue
Expand Down

0 comments on commit 3a214a6

Please sign in to comment.