pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/ruby-color Update ruby-color to 1.5.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eb8b109562b9
branches:  trunk
changeset: 631942:eb8b109562b9
user:      taca <taca%pkgsrc.org@localhost>
date:      Fri Mar 14 17:10:02 2014 +0000

description:
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.

diffstat:

 graphics/ruby-color/Makefile |  4 ++--
 graphics/ruby-color/PLIST    |  4 ++--
 graphics/ruby-color/distinfo |  8 ++++----
 3 files changed, 8 insertions(+), 8 deletions(-)

diffs (44 lines):

diff -r c85e8561a51b -r eb8b109562b9 graphics/ruby-color/Makefile
--- a/graphics/ruby-color/Makefile      Fri Mar 14 17:09:09 2014 +0000
+++ b/graphics/ruby-color/Makefile      Fri Mar 14 17:10:02 2014 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2013/09/15 13:34:36 taca Exp $
+# $NetBSD: Makefile,v 1.5 2014/03/14 17:10:02 taca Exp $
 
-DISTNAME=      color-1.4.2
+DISTNAME=      color-1.5.1
 CATEGORIES=    graphics
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r c85e8561a51b -r eb8b109562b9 graphics/ruby-color/PLIST
--- a/graphics/ruby-color/PLIST Fri Mar 14 17:09:09 2014 +0000
+++ b/graphics/ruby-color/PLIST Fri Mar 14 17:10:02 2014 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2013/09/15 13:34:36 taca Exp $
+@comment $NetBSD: PLIST,v 1.4 2014/03/14 17:10:02 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/.gemtest
 ${GEM_LIBDIR}/.hoerc
@@ -17,8 +17,8 @@
 ${GEM_LIBDIR}/lib/color/palette/adobecolor.rb
 ${GEM_LIBDIR}/lib/color/palette/gimp.rb
 ${GEM_LIBDIR}/lib/color/palette/monocontrast.rb
-${GEM_LIBDIR}/lib/color/rgb-colors.rb
 ${GEM_LIBDIR}/lib/color/rgb.rb
+${GEM_LIBDIR}/lib/color/rgb/colors.rb
 ${GEM_LIBDIR}/lib/color/rgb/metallic.rb
 ${GEM_LIBDIR}/lib/color/yiq.rb
 ${GEM_LIBDIR}/test/test_adobecolor.rb
diff -r c85e8561a51b -r eb8b109562b9 graphics/ruby-color/distinfo
--- a/graphics/ruby-color/distinfo      Fri Mar 14 17:09:09 2014 +0000
+++ b/graphics/ruby-color/distinfo      Fri Mar 14 17:10:02 2014 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2013/09/15 13:34:36 taca Exp $
+$NetBSD: distinfo,v 1.4 2014/03/14 17:10:02 taca Exp $
 
-SHA1 (color-1.4.2.gem) = 47c87aa534b1f93a78963e0ef9335d1e4985b32b
-RMD160 (color-1.4.2.gem) = cb1762464ce1d0f3946631c817222f433133711b
-Size (color-1.4.2.gem) = 40448 bytes
+SHA1 (color-1.5.1.gem) = f0946fa1c47155a55e2d8b5b9d5b877e3a7fb26e
+RMD160 (color-1.5.1.gem) = 648319250a0e87baccc6e61460f0f09dda9c01f6
+Size (color-1.5.1.gem) = 44032 bytes


Home | Main Index | Thread Index | Old Index