./graphics/ruby-color, Color value conversion and manipulation library

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.8, Package name: ruby27-color-1.8, Maintainer: pkgsrc-users

The capabilities of the Color library are limited to pure mathematical
manipulation of the colors based on color theory without reference to
color profiles (such as sRGB or Adobe RGB). For most purposes, when
working with the RGB and HSL colors, this won't matter. However, some
color models (like CIE La*b) are not supported because Color does not
yet support color profiles, giving no meaningful way to convert colors
in absolute color spaces (like La*b, XYZ) to non-absolute color spaces
(like RGB).


Required to run:
[lang/ruby23-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 45 KB

Version history: (Expand)


CVS history: (Expand)


   2021-10-26 12:47:26 by Nia Alarie | Files touched by this commit (800)
Log message:
graphics: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 16:13:27 by Nia Alarie | Files touched by this commit (800)
Log message:
graphics: Remove SHA1 hashes for distfiles
   2015-12-02 15:28:40 by Takahiro Kambe | Files touched by this commit (3)
Log message:
Update ruby-color to 1.8.

== 1.8 / 2015-10-26

* 1 minor enhancement:

  * Add an optional +alpha+ parameter to all #css_rgba calls. Thanks to Luke
    Bennellick (@bennell) and Alexander Popov (@AlexWayfer) for independently
    implemented submissions. Merged from #15.

* 2 minor bug fixes:

  * Improve constant detection to prevent incorrectly identified name
    collisions with various other libraries such as Azure deployment tools.
    Based on work by Matthew Draper (@matthewd) in #24.

  * Prevent Color.equivalent? comparisons from using non-Color types for
    comparison. Fix provided by Benjamin Guest (@bguest) in #18.

* 1 governance change

  * This project now has a {Code of Conduct}[Code-of-Conduct_rdoc.html]
   2015-11-03 22:34:36 by Alistair G. Crooks | Files touched by this commit (610)
Log message:
Add SHA512 digests for distfiles for graphics category

Problems found with existing digests:
	Package fotoxx distfile fotoxx-14.03.1.tar.gz
	ac2033f87de2c23941261f7c50160cddf872c110 [recorded]
	118e98a8cc0414676b3c4d37b8df407c28a1407c [calculated]
	Package ploticus-examples distfile ploticus-2.00/plnode200.tar.gz
	34274a03d0c41fae5690633663e3d4114b9d7a6d [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]

Problems found locating distfiles:
	Package AfterShotPro: missing distfile AfterShotPro-1.1.0.30/AfterShotPro_i386.deb
	Package pgraf: missing distfile pgraf-20010131.tar.gz
	Package qvplay: missing distfile qvplay-0.95.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-09-26 17:05:02 by Takahiro Kambe | Files touched by this commit (1)
Log message:
Update HOMEPAGE.
Avoid using rubyforge.org since it stopped most of services.
   2015-02-03 15:09:58 by Takahiro Kambe | Files touched by this commit (3)
Log message:
Update ruby-color to 1.7.1.

== 1.7.1 / 2014-06-12

* Minor enhancements:
  * Renamed Color::RGB::BeccaPurple to Color::RGB::RebeccaPurple as stipulated
    by Eric Meyer. http://meyerweb.com/eric/thoughts/2014/06/19/rebeccapurple/
    For purposes of backwards compatibility, the previous name is still
    permitted, but its use is strongly discouraged, and it will be removed in
    the Color 2.0 release.

== 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:
  * Aaron Hill (@armahillo) implemented the CIE Delta E 94 method by which an
    RGB colour can be asked for the closest matching colour from a list of
    provided colours. Fixes #5.
  * To implement #closest_match and #delta_e94, conversion methods for sRGB to
    XYZ and XYZ to L*a*b* space were implemented. These should be considered
    experimental.

* Tooling fixes:
  * Ensured that the gem manifest was up-to-date. Fixes #4 reported by @boutil.
    Thanks!
  * Fixed problems with Travis builds. Note that Ruby 1.9.2 is no longer
    tested. Rubinius remains in a “failure-tolerated” mode.
  * Color 1.6 is, barring security patches, the last release of Color that will
    support Ruby 1.8.
   2014-03-14 18:10:02 by Takahiro Kambe | Files touched by this commit (3)
Log message:
Update ruby-color to 1.5.1.

== 1.5.1 / 2014-01-28

* color 1.5 was a yanked release.

* Minor enhancements:
  * Added new methods to Color::RGB to make it so that the default defined
    colours can be looked up by hex, name, or both.
  * Added a method to Color::RGB to extract colours from text by hex, name, or
    both.
  * Added new common methods for colour names. Converted colours do not retain
    names.
  * Restructured color comparisons to use protocols instead of custom
    implementations. This makes it easier to implement new colour classes. To
    make this work, color classes should +include+ Color only need to implement
    <tt>#coerce(other)</tt>, <tt>#to_a</tt>, and \ 
supported conversion methods
    (e.g., <tt>#to_rgb</tt>).
  * Added @daveheitzman’s initial implementation of an RGB contrast method as
    an extension file: <tt>require 'color/rgb/contrast'</tt>. This \ 
method and
    the value it returns should be considered experimental; it requires further
    examination to ensure that the results produced are consistent with the
    contrast comparisons used in Color::Palette::MonoContrast.
  * Reducing duplicated code.

* Bug Fixes:
  * Moved +lib/color/rgb-colors.rb+ to +lib/color/rgb/colors.rb+. This should
    have no impact in general.
  * Improved the way that named colors are specified internally.
  * Fixed bugs with Ruby 1.8.7 that may have been introduced in color 1.4.2.

* Tooling Changes:
  * Added simplecov for test coverage analysis.
  * Modernized Travis CI support.
   2013-09-15 15:34:36 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
update ruby-color to 1.4.2.

== 1.4.2 / 2013-06-30

Maintenance:
* Modernized Hoe installation of Color, removing some dependencies.
* Switched to Minitest.
* Turned on Travis CI.
* Started using Code Climate.
* Small code formatting cleanup that touched pretty much every file.