color 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +3 -3
- data/.gemtest +0 -0
- data/.hoerc +2 -0
- data/Contributing.rdoc +57 -0
- data/{History.txt → History.rdoc} +18 -13
- data/{Licence.txt → Licence.rdoc} +4 -4
- data/Manifest.txt +4 -6
- data/README.rdoc +45 -0
- data/Rakefile +29 -111
- data/lib/color.rb +4 -16
- data/lib/color/cmyk.rb +0 -12
- data/lib/color/css.rb +0 -12
- data/lib/color/grayscale.rb +3 -17
- data/lib/color/hsl.rb +0 -12
- data/lib/color/palette.rb +0 -12
- data/lib/color/palette/adobecolor.rb +0 -12
- data/lib/color/palette/gimp.rb +0 -12
- data/lib/color/palette/monocontrast.rb +3 -15
- data/lib/color/rgb-colors.rb +0 -12
- data/lib/color/rgb.rb +4 -16
- data/lib/color/rgb/metallic.rb +0 -12
- data/lib/color/yiq.rb +1 -13
- data/test/test_adobecolor.rb +9 -23
- data/test/test_cmyk.rb +20 -36
- data/test/test_color.rb +4 -16
- data/test/test_css.rb +3 -15
- data/test/test_gimp.rb +8 -22
- data/test/test_grayscale.rb +11 -27
- data/test/test_hsl.rb +20 -38
- data/test/test_monocontrast.rb +13 -25
- data/test/test_rgb.rb +20 -32
- data/test/test_yiq.rb +12 -24
- metadata +271 -99
- metadata.gz.sig +1 -3
- data/Install.txt +0 -18
- data/README.txt +0 -32
- data/setup.rb +0 -1585
- data/test/test_all.rb +0 -23
data/test/test_all.rb
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
#--
|
3
|
-
# Color
|
4
|
-
# Colour management with Ruby
|
5
|
-
# http://rubyforge.org/projects/color
|
6
|
-
# Version 1.5.0
|
7
|
-
#
|
8
|
-
# Licensed under a MIT-style licence. See Licence.txt in the main
|
9
|
-
# distribution for full licensing information.
|
10
|
-
#
|
11
|
-
# Copyright (c) 2005 - 2010 Austin Ziegler and Matt Lyon
|
12
|
-
#++
|
13
|
-
|
14
|
-
$LOAD_PATH.unshift("#{File.dirname(__FILE__)}/../lib") if __FILE__ == $0
|
15
|
-
|
16
|
-
$stderr.puts "Checking for test cases:"
|
17
|
-
|
18
|
-
Dir[File.join(File.dirname($0), 'test_*.rb')].each do |testcase|
|
19
|
-
next if File.basename(testcase) == File.basename(__FILE__)
|
20
|
-
$stderr.puts "\t#{testcase}"
|
21
|
-
load testcase
|
22
|
-
end
|
23
|
-
$stderr.puts " "
|