color_echo 0.1.0 → 0.1.1
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.
- checksums.yaml +4 -4
- data/README.md +7 -9
- data/lib/color_echo.rb +2 -2
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45220e4d771e41b9cf1eaec6aea9765f890df1f5
|
4
|
+
data.tar.gz: 92f0f3d0abe43075121cd563e1b5f26df20bedcb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdb27477e4aa9be98a35a2e62dc1ab8c99c3fa92357e354391197375b4f3605a3adb486e7691add9870dc1dcbeb839f3515b1440085473c9326990aad24bccb3
|
7
|
+
data.tar.gz: 1aaa00927976c25fd398996c46f30f0885a103856a98858027a0590fa5d60636619041fcf87b4d2517b3017bd10b0f00ee443674e4c7307acf0e41d7e259fa9a
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@ To add color to the command line output.
|
|
3
3
|
This Library will extend the Kernel module's functions(#print, #puts, #p).
|
4
4
|
required StringIO.
|
5
5
|
|
6
|
-
Version: 0.1.
|
6
|
+
Version: 0.1.1
|
7
7
|
Compliant Rubys Version: 1.9.3, 2.0.0, 2.1.0 (for Linux)
|
8
8
|
License: MIT
|
9
9
|
Gems repository: http://rubygems.org/gems/color_echo
|
@@ -66,17 +66,17 @@ ex.) CE::ch_tx :blink #=> text blink on
|
|
66
66
|
|
67
67
|
#### CE::ch :foreground [,:background [,:text_attribute]]
|
68
68
|
Change collectively.
|
69
|
-
This method is available in version 0.1.0.
|
69
|
+
This method is available in version 0.1.0 on and after.
|
70
70
|
ex.) CE:ch :white, :green
|
71
71
|
|
72
72
|
#### CE::disable
|
73
73
|
Reset to set the color sequence.
|
74
74
|
Alias is, CE::off, CE::reset
|
75
|
-
This method alias is available in version 0.1.0.
|
75
|
+
This method alias is available in version 0.1.0 on and after.
|
76
76
|
|
77
|
-
#### CE::
|
77
|
+
#### CE::unuse
|
78
78
|
Force ignore the function of this library.
|
79
|
-
This method is available in version 0.1.0.
|
79
|
+
This method is available in version 0.1.0 on and after.
|
80
80
|
|
81
81
|
### Example
|
82
82
|
<pre>
|
@@ -86,7 +86,7 @@ This method is available in version 0.1.0.
|
|
86
86
|
require "color_echo"
|
87
87
|
|
88
88
|
# force ignore the function of this library
|
89
|
-
#CE::
|
89
|
+
#CE::unuse
|
90
90
|
|
91
91
|
# change the foreground color to 'yellow'
|
92
92
|
CE::ch_fg :yellow
|
@@ -124,12 +124,10 @@ puts "hogehoge"
|
|
124
124
|
# to change collectively
|
125
125
|
CE::ch :black, :white, :blink
|
126
126
|
|
127
|
-
puts
|
127
|
+
puts <<EOM
|
128
128
|
Lorem ipsum dolor sit amet,
|
129
129
|
consectetur adipisicing elit,
|
130
130
|
sed do eiusmod tempor incididunt
|
131
131
|
ut labore et dolore magna aliqua.
|
132
132
|
EOM
|
133
133
|
</pre>
|
134
|
-
|
135
|
-
|
data/lib/color_echo.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: color_echo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nyanko
|
@@ -10,7 +10,8 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2014-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description:
|
13
|
+
description: 'This Library will extend the Kernel module''s functions(#print, #puts,
|
14
|
+
#p). required StringIO.'
|
14
15
|
email:
|
15
16
|
- nyanko@dammy
|
16
17
|
executables: []
|