yummi 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/yummi.rb +5 -0
- data/lib/yummi/version.rb +1 -1
- metadata +2 -2
data/lib/yummi.rb
CHANGED
@@ -507,3 +507,8 @@ require_relative 'yummi/color_mapping'
|
|
507
507
|
require_relative 'yummi/table'
|
508
508
|
require_relative 'yummi/text_box'
|
509
509
|
require_relative 'yummi/logger'
|
510
|
+
|
511
|
+
# if the output is being piped, turn off the colors
|
512
|
+
unless $stdout.isatty
|
513
|
+
require 'yummi/no_colors'
|
514
|
+
end
|
data/lib/yummi/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yummi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-08-01 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: A tool to colorize your console application.
|
15
15
|
email:
|