simplecolor 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/LICENSE.txt +1 -1
- data/README.md +11 -7
- data/Rakefile +7 -10
- data/bin/simplecolor.rb +218 -0
- data/data/NBS-ISCC_colors.json +1 -0
- data/data/Resene2010_colors.json +1 -0
- data/data/rgb_colors.json.gz +0 -0
- data/data/rgb_colors.rb +90 -0
- data/data/x11_colors.json +1 -0
- data/data/xkcd_colors.json +1 -0
- data/gemspec.yml +2 -0
- data/lib/simplecolor.rb +166 -135
- data/lib/simplecolor/colorer.rb +228 -0
- data/lib/simplecolor/colors.rb +63 -101
- data/lib/simplecolor/mixin.rb +2 -0
- data/lib/simplecolor/rgb.rb +318 -0
- data/lib/simplecolor/rgb_colors.rb +111 -0
- data/lib/simplecolor/version.rb +1 -1
- data/simplecolor.gemspec +2 -0
- data/test/test_rgb.rb +103 -0
- data/test/test_simplecolor.rb +192 -7
- metadata +18 -5
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplecolor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Damien Robert
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
@@ -72,7 +72,8 @@ description: 'A simple library for coloring text output. Heavily inspired from t
|
|
72
72
|
color and uncolor. Paint is another gem similar to this one, but with more powerful
|
73
73
|
shortcuts definitions.'
|
74
74
|
email: Damien.Olivier.Robert+gems@gmail.com
|
75
|
-
executables:
|
75
|
+
executables:
|
76
|
+
- simplecolor.rb
|
76
77
|
extensions: []
|
77
78
|
extra_rdoc_files:
|
78
79
|
- ChangeLog.md
|
@@ -87,18 +88,31 @@ files:
|
|
87
88
|
- LICENSE.txt
|
88
89
|
- README.md
|
89
90
|
- Rakefile
|
91
|
+
- bin/simplecolor.rb
|
92
|
+
- data/NBS-ISCC_colors.json
|
93
|
+
- data/Resene2010_colors.json
|
94
|
+
- data/rgb_colors.json.gz
|
95
|
+
- data/rgb_colors.rb
|
96
|
+
- data/x11_colors.json
|
97
|
+
- data/xkcd_colors.json
|
90
98
|
- gemspec.yml
|
91
99
|
- lib/simplecolor.rb
|
100
|
+
- lib/simplecolor/colorer.rb
|
92
101
|
- lib/simplecolor/colors.rb
|
102
|
+
- lib/simplecolor/mixin.rb
|
103
|
+
- lib/simplecolor/rgb.rb
|
104
|
+
- lib/simplecolor/rgb_colors.rb
|
93
105
|
- lib/simplecolor/version.rb
|
94
106
|
- simplecolor.gemspec
|
95
107
|
- test/helper.rb
|
108
|
+
- test/test_rgb.rb
|
96
109
|
- test/test_simplecolor.rb
|
97
110
|
homepage: https://github.com/DamienRobert/simplecolor
|
98
111
|
licenses:
|
99
112
|
- MIT
|
100
113
|
metadata:
|
101
114
|
yard.run: yri
|
115
|
+
project_name: SimpleColor
|
102
116
|
post_install_message:
|
103
117
|
rdoc_options: []
|
104
118
|
require_paths:
|
@@ -114,8 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
114
128
|
- !ruby/object:Gem::Version
|
115
129
|
version: '0'
|
116
130
|
requirements: []
|
117
|
-
|
118
|
-
rubygems_version: 2.6.8
|
131
|
+
rubygems_version: 3.0.3
|
119
132
|
signing_key:
|
120
133
|
specification_version: 4
|
121
134
|
summary: Simple color library
|