color_echo 3.1.0 → 3.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 +19 -3
  3. data/lib/color_echo/const.rb +2 -2
  4. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6bde265f335a5fd1611039aa47bb7525a4fa5871
4
- data.tar.gz: fbbfa7841a06fd8b7f8227a44f83bfd75c067bc4
3
+ metadata.gz: ef51bf59491716a1e3a4db59c870ac050c85b71f
4
+ data.tar.gz: 4cd0573a445ca5d79f2590e5029bbaa0cf6563b6
5
5
  SHA512:
6
- metadata.gz: efa3cb80047d62e6456f3b2a9c3496084be62bb307aaeeffc9a3ce76b9b48b3ebfa63eb86c6c1e2f10a679c39155fa828240e12965951f7e25fbf9f8f54a759c
7
- data.tar.gz: 7cc9b92feb89d30cd0484bfc95d5d9af92b6110b305eaa465ac51005793bf105750db244bd39f645c50e0b8d0e1290be26783a5fbcff565830dbdfad869d2e40
6
+ metadata.gz: 1590e039c9960b3fb7c16740d0ab557728a21622185e3c0ee0af1262d0d9e5b176c4c57ed3f96689546ad2e5745d94dcd1cb7d1f9e4c0d549fd330659adef635
7
+ data.tar.gz: 8abcd1ec47a14bc83be9fae4427bdbdbaca753527e38dfec0d9d21998ec58078718bd5c69667274f86d3c07e93cc224f4ff62ef542a49312b0324a2b2989a7ff
data/README.md CHANGED
@@ -2,10 +2,26 @@
2
2
  Decorates command line output with ANSI escape sequence.
3
3
 
4
4
  Documents and all informations are as below =(^x^=
5
- http://colorecho.net
5
+ http://colorecho.github.io
6
6
 
7
- See on rubygems
8
- https://rubygems.org/gems/color_echo
7
+ See on rubygems: https://rubygems.org/gems/color_echo
8
+
9
+ ### Example Code
10
+ ```ruby
11
+ require "color_echo"
12
+
13
+ CE.fg :red
14
+ puts "This is red."
15
+
16
+ CE.fg :yellow
17
+ puts "This is yellow."
18
+ puts "This is yellow too."
19
+ puts "This is yellow too."
20
+
21
+ CE.once.fg :green
22
+ puts "This is green."
23
+ puts "This is not green."
24
+ ```
9
25
 
10
26
  ### You can choose 256 colors!!
11
27
  ![screen shot](/image/colorindex01.png)
@@ -1,7 +1,7 @@
1
1
  module CE
2
2
  LIBS_NAME = "color_echo"
3
- VERSION = "3.1.0"
3
+ VERSION = "3.1.1"
4
4
  SUMMARY = "Decorates command line output with ANSI escape sequence."
5
- HOMEPAGE = "http://colorecho.net"
5
+ HOMEPAGE = "http://colorecho.github.io"
6
6
  DESCRIPTION = %(#{SUMMARY} #{HOMEPAGE})
7
7
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: color_echo
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - khotta
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-03 00:00:00.000000000 Z
11
+ date: 2017-01-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: Decorates command line output with ANSI escape sequence. http://colorecho.net
13
+ description: Decorates command line output with ANSI escape sequence. http://colorecho.github.io
14
14
  email:
15
15
  - khotta116@gmail.com
16
16
  executables:
@@ -34,14 +34,14 @@ files:
34
34
  - lib/color_echo/override.rb
35
35
  - lib/color_echo/private_task.rb
36
36
  - lib/color_echo/variables.rb
37
- homepage: http://colorecho.net
37
+ homepage: http://colorecho.github.io
38
38
  licenses:
39
39
  - MIT
40
40
  metadata: {}
41
41
  post_install_message: |2+
42
42
 
43
43
  Thank you for installing! =(^x^=
44
- See also http://colorecho.net
44
+ See also http://colorecho.github.io
45
45
 
46
46
  rdoc_options: []
47
47
  require_paths:
@@ -58,7 +58,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
58
58
  version: '0'
59
59
  requirements: []
60
60
  rubyforge_project:
61
- rubygems_version: 2.4.5.1
61
+ rubygems_version: 2.5.1
62
62
  signing_key:
63
63
  specification_version: 4
64
64
  summary: Decorates command line output with ANSI escape sequence.