color_echo 2.0.3 → 2.0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 58e0037526cf57cfa9bfa3fde2b789276cb78edd
4
- data.tar.gz: 2a6edcb208fb84cf4b4d49d4de084ba9d5a03499
3
+ metadata.gz: 5c40fafb369a9dab0acabca7b1803e6ea98fc1a3
4
+ data.tar.gz: cf298e3ed99b6a11be36d25b04480fde833cee85
5
5
  SHA512:
6
- metadata.gz: e178e1ce1af103c889864e931460a6a4dc78cf303b33f73fa690767d6738ba42ec77c6f201cf46d127a70c9079e962e8ff59da02e0a1143356d523c3df926999
7
- data.tar.gz: d09171fd372ccb2b0a1450e8772def1ae97cfc16734157d56d2c89d2d8a4b12eb037b780d2fc413e7d8813bf6a5533184f88f315aeae738862da09f59fe868ca
6
+ metadata.gz: 7d0ae0460fac4bc29f849f91f9bb27846d9939d1e98391acbb9547f069c782d3730382e9413e710db4e9967fbd3db082720e1d7b66bf6067bf3bc204cc1ef038
7
+ data.tar.gz: 6286cbe9988d02ad0bc075d8041555a68c5355a0f49d91bcd2b44f2e0151d00ecb92ffe54355667bf0c14ed4785437697ab42ad4328715877eb9be502094769e
@@ -331,8 +331,12 @@ puts "Disable rainbow mode."
331
331
  ![screen shot](/images/screenshot.png)
332
332
 
333
333
  ## Release Note
334
- * v2.0.1, 2016-01-06
334
+ * v2.0.3, 2016-01-06
335
+ * 最新のgemコマンドはbinで指定したファイルにシンボリックリンクが使えないため古いgemでビルドし直しました。
336
+
337
+ * v2.0.2, 2016-01-06
335
338
  * Fixed problem as below; https://github.com/khotta/color_echo/issues/1
339
+ * colorechoコマンドが使えないバグがあります。このバージョンではなくv2.0.3を使用してください。
336
340
 
337
341
  * v2.0.1, 2015-08-21
338
342
  * コマンドラインインターフェースで複数行の入力を与えられたときマッチした行のハイライトが正しくつかない問題を修正しました。
data/README.md CHANGED
@@ -332,8 +332,12 @@ puts "Disable rainbow mode."
332
332
  ![screen shot](/images/screenshot.png)
333
333
 
334
334
  ## Release Note
335
+ * v2.0.3, 2016-01-06
336
+ * rebuild by old gem, because latest gem can't use symbolic link in bin/.
337
+
335
338
  * v2.0.2, 2016-01-06
336
339
  * Fixed problem as below; https://github.com/khotta/color_echo/issues/1
340
+ * This version has problem of fail to execute colorecho command, Please use v2.0.3 and over.
337
341
 
338
342
  * v2.0.1, 2015-08-21
339
343
  * Fixed bug that highlight of line is incorrect in commandline interface.
@@ -1,6 +1,6 @@
1
1
  module CE
2
2
  LIBS_NAME = "color_echo"
3
- VERSION = "2.0.3"
3
+ VERSION = "2.0.4"
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
@@ -84,7 +84,11 @@ module CE
84
84
  else
85
85
  if @@allow_output
86
86
  # call original method
87
- eval("@@#{caller_locations(2).first.label}").call(*arg)
87
+ if RUBY_VERSION >= "2.3.0"
88
+ eval("@@#{caller_locations(1).first.label}").call(*arg)
89
+ else
90
+ eval("@@#{caller_locations(2).first.label}").call(*arg)
91
+ end
88
92
  else
89
93
  return arg
90
94
  end
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: 2.0.3
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - khotta