webget_ruby_colorful 1.0.6 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +1 -2
- data/README.rdoc +22 -5
- data/lib/webget_ruby_colorful.rb +23 -6
- metadata +2 -2
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
�r$�`�uU�
|
1
|
+
ɗ��}�|�.��L�vFV&@��X �>���>qF�
|
data/README.rdoc
CHANGED
@@ -6,11 +6,28 @@ Copyright:: Copyright (c) 2006-2010 Joel Parker Henderson
|
|
6
6
|
License:: CreativeCommons License, Non-commercial Share Alike
|
7
7
|
License:: LGPL, GNU Lesser General Public License
|
8
8
|
|
9
|
-
Color names and shades that
|
10
|
-
|
9
|
+
Color names and shades that generate simple random color names.
|
10
|
+
|
11
|
+
The typical usage is the method _choice_, which returns a string containing a random shade and color name.
|
12
|
+
|
13
|
+
Based on the NBS/ISCC Color System, The Universal Language of Color.
|
14
|
+
|
15
|
+
See http://www.anthus.com/Colors/NBS.html
|
11
16
|
|
12
17
|
Examples:
|
13
|
-
Colorful.choice =>
|
14
|
-
Colorful.colors.choice =>
|
15
|
-
Colorful.shades.choice =>
|
18
|
+
Colorful.choice => Light Red
|
19
|
+
Colorful.colors.choice => Red
|
20
|
+
Colorful.shades.choice => Light
|
21
|
+
|
22
|
+
Colors available:
|
23
|
+
Red, Orange, Yellow, Green, Blue, Indigo, Violet,
|
24
|
+
Cyan, Magenta, Pink, Purple, Brown,
|
25
|
+
Gold, Silver, Bronze, Copper, Platinum,
|
26
|
+
Aquamarine, Azure, Beige, Cerulean,
|
27
|
+
Chartreuse, Crimson, Fucshia, Khaki,
|
28
|
+
Maroon, Mauve, Scarlet, Sepia,
|
29
|
+
Sienna, Tan, Teal, and Turquoise
|
30
|
+
|
31
|
+
Shades:
|
32
|
+
Brilliant, Bright, Dark, Deep, Light, Moderate, Pale, Vivid
|
16
33
|
|
data/lib/webget_ruby_colorful.rb
CHANGED
@@ -7,13 +7,30 @@ Copyright:: Copyright (c) 2006-2010 Joel Parker Henderson
|
|
7
7
|
License:: CreativeCommons License, Non-commercial Share Alike
|
8
8
|
License:: LGPL, GNU Lesser General Public License
|
9
9
|
|
10
|
-
Color names and shades that
|
11
|
-
|
10
|
+
Color names and shades that generate simple random color names.
|
11
|
+
|
12
|
+
The typical usage is the method _choice_, which returns a string containing a random shade and color name.
|
13
|
+
|
14
|
+
Based on the NBS/ISCC Color System, The Universal Language of Color.
|
15
|
+
|
16
|
+
See http://www.anthus.com/Colors/NBS.html
|
12
17
|
|
13
18
|
Examples:
|
14
|
-
Colorful.choice =>
|
15
|
-
Colorful.colors.choice =>
|
16
|
-
Colorful.shades.choice =>
|
19
|
+
Colorful.choice => Light Red
|
20
|
+
Colorful.colors.choice => Red
|
21
|
+
Colorful.shades.choice => Light
|
22
|
+
|
23
|
+
Colors available:
|
24
|
+
Red, Orange, Yellow, Green, Blue, Indigo, Violet,
|
25
|
+
Cyan, Magenta, Pink, Purple, Brown,
|
26
|
+
Gold, Silver, Bronze, Copper, Platinum,
|
27
|
+
Aquamarine, Azure, Beige, Cerulean,
|
28
|
+
Chartreuse, Crimson, Fucshia, Khaki,
|
29
|
+
Maroon, Mauve, Scarlet, Sepia,
|
30
|
+
Sienna, Tan, Teal, and Turquoise
|
31
|
+
|
32
|
+
Shades:
|
33
|
+
Brilliant, Bright, Dark, Deep, Light, Moderate, Pale, Vivid
|
17
34
|
|
18
35
|
=end
|
19
36
|
|
@@ -39,7 +56,7 @@ class Colorful
|
|
39
56
|
# - one word
|
40
57
|
# - independent of whatever color word is chosen
|
41
58
|
|
42
|
-
SHADES = ['
|
59
|
+
SHADES = ['Brilliant', 'Bright', 'Dark', 'Deep', 'Light', 'Moderate', 'Pale', 'Vivid']
|
43
60
|
|
44
61
|
def self.colors
|
45
62
|
COLORS
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webget_ruby_colorful
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- WebGet
|
@@ -32,7 +32,7 @@ cert_chain:
|
|
32
32
|
DXnLFY0cVuBnNDMOOFl8vk1qIcZjcTovhzgcixpG6Uk5qmUsKHRLQf4oQJx7TfLK
|
33
33
|
-----END CERTIFICATE-----
|
34
34
|
|
35
|
-
date: 2010-02-
|
35
|
+
date: 2010-02-22 00:00:00 -08:00
|
36
36
|
default_executable:
|
37
37
|
dependencies: []
|
38
38
|
|
metadata.gz.sig
CHANGED
Binary file
|