color 1.4.1 → 1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.autotest +5 -0
- data/.coveralls.yml +2 -0
- data/.gemtest +0 -0
- data/.hoerc +2 -0
- data/.minitest.rb +2 -0
- data/.travis.yml +41 -0
- data/Code-of-Conduct.rdoc +41 -0
- data/Contributing.rdoc +62 -0
- data/Gemfile +9 -0
- data/History.rdoc +194 -0
- data/{Licence.txt → Licence.rdoc} +4 -4
- data/Manifest.txt +15 -7
- data/README.rdoc +52 -0
- data/Rakefile +62 -103
- data/lib/color.rb +108 -68
- data/lib/color/cmyk.rb +41 -57
- data/lib/color/css.rb +1 -22
- data/lib/color/grayscale.rb +37 -52
- data/lib/color/hsl.rb +97 -78
- 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 +26 -42
- data/lib/color/rgb.rb +376 -113
- data/lib/color/rgb/colors.rb +167 -0
- data/lib/color/rgb/contrast.rb +57 -0
- data/lib/color/rgb/metallic.rb +25 -40
- data/lib/color/yiq.rb +13 -35
- data/test/minitest_helper.rb +6 -0
- data/test/test_adobecolor.rb +9 -23
- data/test/test_cmyk.rb +21 -36
- data/test/test_color.rb +10 -17
- data/test/test_css.rb +12 -22
- data/test/test_gimp.rb +8 -22
- data/test/test_grayscale.rb +12 -27
- data/test/test_hsl.rb +23 -39
- data/test/test_monocontrast.rb +13 -25
- data/test/test_rgb.rb +98 -35
- data/test/test_yiq.rb +12 -24
- metadata +279 -124
- data.tar.gz.sig +0 -3
- data/History.txt +0 -93
- data/Install.txt +0 -18
- data/README.txt +0 -32
- data/lib/color/rgb-colors.rb +0 -355
- data/setup.rb +0 -1585
- data/test/test_all.rb +0 -23
- metadata.gz.sig +0 -3
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 " "
|
metadata.gz.sig
DELETED