color_echo 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -9
  3. data/lib/color_echo.rb +2 -2
  4. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4f141517813f0c4403368ca4efe8a32cda457617
4
- data.tar.gz: 53b0606c73544514134a8c1154fcee1453e29ed8
3
+ metadata.gz: 45220e4d771e41b9cf1eaec6aea9765f890df1f5
4
+ data.tar.gz: 92f0f3d0abe43075121cd563e1b5f26df20bedcb
5
5
  SHA512:
6
- metadata.gz: 2048cd7a0df691e92fcbde6bd24890bc4933a9635a62ea9fb1b470882a2fca28c1fe52daa69f1540431a049e74e24936e65e824baa932b9b2f0aa6e46d422eb2
7
- data.tar.gz: 9fe9745597d108c64a022b3c72c12b5e0cdf7334d5c90be7bed184d5b75e0407f400e5e7cfc9c3e53ad75a900756703ebe1e232d30df17b34786dd14c1acb604
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.0
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::not_use
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::not_use
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 <<EOM
127
+ puts &lt;&lt;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
@@ -4,7 +4,7 @@
4
4
  require "stringio"
5
5
 
6
6
  module CE
7
- VERSION = "0.1.0"
7
+ VERSION = "0.1.1"
8
8
  CODE_RESET = "\e[0m"
9
9
 
10
10
  @@use = true
@@ -64,7 +64,7 @@ module CE
64
64
  disable
65
65
  end
66
66
 
67
- def not_use
67
+ def unuse
68
68
  @@use = false
69
69
  end
70
70
 
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.0
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: To add color to the command line output.
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: []