color_echo 2.0.1 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 564664ae1cadd7fb61bf2cf2fc4b1655ca698218
4
- data.tar.gz: f3f0e8a464982373e29b32ad656d0532316dc40b
3
+ metadata.gz: 58e0037526cf57cfa9bfa3fde2b789276cb78edd
4
+ data.tar.gz: 2a6edcb208fb84cf4b4d49d4de084ba9d5a03499
5
5
  SHA512:
6
- metadata.gz: d2a472a0aa86d6ddfe53c2f51d5fa704be094b07b01f26f4fd42ea38df348a7c0c96f12546512cb9a44cd74652cb7c69f8dc5ef6249bb3913550d621c06fe264
7
- data.tar.gz: c661bbda3f75c0ceced991791c5f8327a4a351a4d0697e037697261ca1969280c97451b8623f73082ed9fa1d49ed9631cf41e611ac421a8235b83bf264bfdaff
6
+ metadata.gz: e178e1ce1af103c889864e931460a6a4dc78cf303b33f73fa690767d6738ba42ec77c6f201cf46d127a70c9079e962e8ff59da02e0a1143356d523c3df926999
7
+ data.tar.gz: d09171fd372ccb2b0a1450e8772def1ae97cfc16734157d56d2c89d2d8a4b12eb037b780d2fc413e7d8813bf6a5533184f88f315aeae738862da09f59fe868ca
@@ -1,7 +1,7 @@
1
1
  # color_echo
2
2
  color_echo はコマンドライン出力に色をつけるライブラリです。
3
3
 
4
- Version: 2.0.1
4
+ Version: 2.0.2
5
5
  Compliant Rubys Version: 2.0.0, 2.1.0 (for Linux)
6
6
  License: MIT
7
7
  Gems repository: http://rubygems.org/gems/color_echo
@@ -331,6 +331,9 @@ puts "Disable rainbow mode."
331
331
  ![screen shot](/images/screenshot.png)
332
332
 
333
333
  ## Release Note
334
+ * v2.0.1, 2016-01-06
335
+ * Fixed problem as below; https://github.com/khotta/color_echo/issues/1
336
+
334
337
  * v2.0.1, 2015-08-21
335
338
  * コマンドラインインターフェースで複数行の入力を与えられたときマッチした行のハイライトが正しくつかない問題を修正しました。
336
339
 
data/README.md CHANGED
@@ -3,7 +3,7 @@ Decorate the command line output with ANSI escape sequence.
3
3
  Text that output by "print, puts, p" method is decorated.
4
4
  It is also can to decorate only your specified words!
5
5
 
6
- Version: 2.0.0
6
+ Version: 2.0.2
7
7
  Compliant Rubys Version: 2.0.0, 2.1.0 (for Linux)
8
8
  License: MIT
9
9
  Gems repository: http://rubygems.org/gems/color_echo
@@ -332,6 +332,9 @@ puts "Disable rainbow mode."
332
332
  ![screen shot](/images/screenshot.png)
333
333
 
334
334
  ## Release Note
335
+ * v2.0.2, 2016-01-06
336
+ * Fixed problem as below; https://github.com/khotta/color_echo/issues/1
337
+
335
338
  * v2.0.1, 2015-08-21
336
339
  * Fixed bug that highlight of line is incorrect in commandline interface.
337
340
 
@@ -1,6 +1,6 @@
1
1
  module CE
2
2
  LIBS_NAME = "color_echo"
3
- VERSION = "2.0.1"
3
+ VERSION = "2.0.3"
4
4
  SUMMARY = "Decorate the command line output with ANSI escape sequence."
5
5
  DOCS_PAGE = "https://github.com/khotta/color_echo"
6
6
  DESCRIPTION = <<EOS
@@ -30,7 +30,11 @@ module CE
30
30
  $stdout = strio
31
31
 
32
32
  # call original method
33
- eval("@@#{caller_locations(2).first.label}").call(*arg)
33
+ if RUBY_VERSION >= "2.3.0"
34
+ eval("@@#{caller_locations(1).first.label}").call(*arg)
35
+ else
36
+ eval("@@#{caller_locations(2).first.label}").call(*arg)
37
+ end
34
38
 
35
39
  # change output destination to STDOUT
36
40
  $stdout = STDOUT
metadata CHANGED
@@ -1,20 +1,21 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: color_echo
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - khotta
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-21 00:00:00.000000000 Z
11
+ date: 2016-01-06 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |
14
14
  Decorate the command line output with ANSI escape sequence.
15
15
  Text that output by "print, puts, p" method is decorated.
16
16
  It is also can to decorate only your specified words!
17
- email:
17
+ email:
18
+ - khotta116@gmail.com
18
19
  executables:
19
20
  - color_echo
20
21
  - colorecho
@@ -62,7 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
63
  version: '0'
63
64
  requirements: []
64
65
  rubyforge_project:
65
- rubygems_version: 2.2.2
66
+ rubygems_version: 2.4.5.1
66
67
  signing_key:
67
68
  specification_version: 4
68
69
  summary: Decorate the command line output with ANSI escape sequence.