ric 0.10.3 → 0.10.5orly
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/ric/colors.rb +6 -5
- data/ric.gemspec +2 -2
- metadata +6 -5
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.10.
|
1
|
+
0.10.5orly
|
data/lib/ric/colors.rb
CHANGED
@@ -4,12 +4,13 @@
|
|
4
4
|
|
5
5
|
module Ric
|
6
6
|
module Colors
|
7
|
-
|
7
|
+
$version = 'Ric::Colors::v1.0.4orly'
|
8
8
|
$colors_active = true # DEFAULT: active
|
9
|
+
|
9
10
|
$color_db = [
|
10
|
-
%w{ normal black dkblack red green brown blue purple cyan lgray gray lred lgreen yellow lblue violet azure white orange orangey magenta lyellow pink gold
|
11
|
-
%w{ normale nero nerone rosso verde marrone blu porpora ciano grigino grigione rossino verdino giallo lblu viola azzurro bianco arancio arancino magenta giallino rosa oro
|
12
|
-
%w{ 0;37 0;30 38;5;236 0;31 1;32 38;5;94 0;34 1;35 0;36 0;37 1;30 1;31 1;32 1;33 1;34 1;35 1;36 1;37 38;5;208 38;5;222 0;35 38;5;229 38;5;203 38;5;214
|
11
|
+
%w{ normal black dkblack red green brown blue purple cyan lgray gray lred lgreen yellow lblue violet azure white orange orangey magenta lyellow pink gold orly heanet } , # english word
|
12
|
+
%w{ normale nero nerone rosso verde marrone blu porpora ciano grigino grigione rossino verdino giallo lblu viola azzurro bianco arancio arancino magenta giallino rosa oro orla indaco } , # italian word
|
13
|
+
%w{ 0;37 0;30 38;5;236 0;31 1;32 38;5;94 0;34 1;35 0;36 0;37 1;30 1;31 1;32 1;33 1;34 1;35 1;36 1;37 38;5;208 38;5;222 0;35 38;5;229 38;5;203 38;5;214 38;5;214 38;5;93 } ,
|
13
14
|
%w{ 000 000 222 f00 0f0 00f ff0 0ff aaa 888 f00 afa ff0 eebb00 } # HEX RGB
|
14
15
|
]
|
15
16
|
# rifallo, e' piu' manutenibile...
|
@@ -25,7 +26,7 @@ module Ric
|
|
25
26
|
set_color :on #(true)
|
26
27
|
end
|
27
28
|
def colors_off
|
28
|
-
set_color
|
29
|
+
set_color(false)
|
29
30
|
end
|
30
31
|
|
31
32
|
# TODO support a block (solo dentro l blocco fai il nocolor)
|
data/ric.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{ric}
|
5
|
-
s.version = "0.10.
|
5
|
+
s.version = "0.10.5orly"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Riccardo Carlesso"]
|
9
|
-
s.date = %q{2011-01-
|
9
|
+
s.date = %q{2011-01-21}
|
10
10
|
s.description = %q{My first gem with various utilities (colors and tests now).
|
11
11
|
My name is Riccardo, hence 'ric' (ok I admit it, this was just ot prove Im able to build a sentence
|
12
12
|
with hence!)}
|
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ric
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 1747689840
|
5
|
+
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 10
|
9
|
-
-
|
10
|
-
|
9
|
+
- 5
|
10
|
+
- orly
|
11
|
+
version: 0.10.5orly
|
11
12
|
platform: ruby
|
12
13
|
authors:
|
13
14
|
- Riccardo Carlesso
|
@@ -15,7 +16,7 @@ autorequire:
|
|
15
16
|
bindir: bin
|
16
17
|
cert_chain: []
|
17
18
|
|
18
|
-
date: 2011-01-
|
19
|
+
date: 2011-01-21 00:00:00 +00:00
|
19
20
|
default_executable:
|
20
21
|
dependencies: []
|
21
22
|
|