kmandrup-colorist 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/kmandrup-colorist.gemspec +6 -2
- data/lib/colorist/color_names.rb +0 -15
- data/test/colorist_test.rb +12 -0
- metadata +5 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
data/kmandrup-colorist.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{kmandrup-colorist}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Michael Bleigh", "oleg dashevskii", "Slippy Douglas", "Kristian Mandrup"]
|
@@ -29,13 +29,17 @@ Gem::Specification.new do |s|
|
|
29
29
|
"lib/colorist/color.rb",
|
30
30
|
"lib/colorist/color_names.rb",
|
31
31
|
"lib/colorist/core_extensions.rb",
|
32
|
-
"lib/kmandrup-colorist.rb"
|
32
|
+
"lib/kmandrup-colorist.rb",
|
33
|
+
"test/colorist_test.rb"
|
33
34
|
]
|
34
35
|
s.homepage = %q{http://github.com/kristianmandrup/colorist}
|
35
36
|
s.rdoc_options = ["--main", "README.rdoc"]
|
36
37
|
s.require_paths = ["lib"]
|
37
38
|
s.rubygems_version = %q{1.3.7}
|
38
39
|
s.summary = %q{A library built to handle the easy conversion and simple manipulation of colors.}
|
40
|
+
s.test_files = [
|
41
|
+
"test/colorist_test.rb"
|
42
|
+
]
|
39
43
|
|
40
44
|
if s.respond_to? :specification_version then
|
41
45
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
data/lib/colorist/color_names.rb
CHANGED
@@ -423,19 +423,4 @@ module Colorist
|
|
423
423
|
end
|
424
424
|
end
|
425
425
|
|
426
|
-
# TESTING
|
427
|
-
|
428
|
-
puts Colorist::ColorNames.color('0xfff', :lower)
|
429
|
-
# puts x = Colorist::ColorNames.color(:'#FFFFAA', :lower)
|
430
|
-
# puts x = Colorist::ColorNames.color('0xFFFFAA', [:hex, :lower])
|
431
|
-
# puts x = Colorist::ColorNames.color(:red, :hex, :lower)
|
432
|
-
# puts x = Colorist::ColorNames.color('Coconut', [:hex, :lower])
|
433
|
-
#puts Colorist::ColorNames.to_color(x)
|
434
|
-
|
435
|
-
# puts Colorist::ColorNames.to_color('coconut')
|
436
|
-
#
|
437
|
-
# # can't be found
|
438
|
-
puts Colorist::ColorNames.to_color('#FFF')
|
439
|
-
# puts Colorist::ColorNames.color('hello', [:hex, :lower])
|
440
|
-
|
441
426
|
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# puts Colorist::ColorNames.color('0xfff', :lower)
|
2
|
+
# puts x = Colorist::ColorNames.color(:'#FFFFAA', :lower)
|
3
|
+
# puts x = Colorist::ColorNames.color('0xFFFFAA', [:hex, :lower])
|
4
|
+
# puts x = Colorist::ColorNames.color(:red, :hex, :lower)
|
5
|
+
# puts x = Colorist::ColorNames.color('Coconut', [:hex, :lower])
|
6
|
+
#puts Colorist::ColorNames.to_color(x)
|
7
|
+
|
8
|
+
# puts Colorist::ColorNames.to_color('coconut')
|
9
|
+
#
|
10
|
+
# # can't be found
|
11
|
+
# puts Colorist::ColorNames.to_color('#FFF')
|
12
|
+
# puts Colorist::ColorNames.color('hello', [:hex, :lower])
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 3
|
9
|
+
version: 0.1.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Michael Bleigh
|
@@ -44,6 +44,7 @@ files:
|
|
44
44
|
- lib/colorist/color_names.rb
|
45
45
|
- lib/colorist/core_extensions.rb
|
46
46
|
- lib/kmandrup-colorist.rb
|
47
|
+
- test/colorist_test.rb
|
47
48
|
has_rdoc: true
|
48
49
|
homepage: http://github.com/kristianmandrup/colorist
|
49
50
|
licenses: []
|
@@ -77,5 +78,5 @@ rubygems_version: 1.3.7
|
|
77
78
|
signing_key:
|
78
79
|
specification_version: 3
|
79
80
|
summary: A library built to handle the easy conversion and simple manipulation of colors.
|
80
|
-
test_files:
|
81
|
-
|
81
|
+
test_files:
|
82
|
+
- test/colorist_test.rb
|