bacon-colored_output 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/bacon-colored_output.gemspec +2 -2
- data/lib/bacon/colored_output.rb +3 -7
- metadata +19 -27
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c850172ef4947c575cb86c83413caf202daa675e
|
4
|
+
data.tar.gz: fb43e6004af6fc08ee768c3b0a9dfadf7b5c4730
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: b44210e5c84437878395d85f3f51554d69a43eaf05331f775adb90bd20e69d7ce78192c15ad235c4962fa9987356cabfec729d20c074831b8df81b11564216b6
|
7
|
+
data.tar.gz: 9ac945fe08ffb38e5f26efceaa48bb923d062d5fa82ad04d61e08a23c6f2998e97cf289aa8f1ddace98d2fddd12cac10e70651b790730e650f2cbd6fc0641a60
|
@@ -4,8 +4,8 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = "bacon-colored_output"
|
7
|
-
gem.version = '1.0
|
8
|
-
gem.authors = ["
|
7
|
+
gem.version = '1.1.0'
|
8
|
+
gem.authors = ["whitequark"]
|
9
9
|
gem.email = ["whitequark@whitequark.org"]
|
10
10
|
gem.description = %q{Colored output for Bacon test framework! http://i.imgur.com/EpTpw.png}
|
11
11
|
gem.summary = gem.description
|
data/lib/bacon/colored_output.rb
CHANGED
@@ -1,15 +1,11 @@
|
|
1
1
|
module Bacon
|
2
2
|
module ColoredOutput
|
3
|
-
|
4
|
-
|
5
|
-
def handle_requirement(description)
|
6
|
-
print spaces
|
7
|
-
|
3
|
+
def handle_requirement(*args)
|
8
4
|
error = yield
|
9
5
|
|
10
6
|
print error.empty? ? color("\e[32m") : color("\e[1;31m")
|
11
|
-
|
12
|
-
|
7
|
+
super
|
8
|
+
print color("\e[0m")
|
13
9
|
end
|
14
10
|
|
15
11
|
def color(escape_seq)
|
metadata
CHANGED
@@ -1,34 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bacon-colored_output
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
version: 1.0.1
|
4
|
+
version: 1.1.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
|
-
-
|
9
|
-
autorequire:
|
7
|
+
- whitequark
|
8
|
+
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2017-04-02 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: bacon
|
16
|
-
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
17
16
|
requirements:
|
18
17
|
- - ">="
|
19
18
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
21
|
-
|
22
|
-
|
23
|
-
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
23
|
requirements:
|
25
24
|
- - ">="
|
26
25
|
- !ruby/object:Gem::Version
|
27
|
-
version:
|
28
|
-
MA==
|
29
|
-
none: false
|
30
|
-
prerelease: false
|
31
|
-
type: :runtime
|
26
|
+
version: '0'
|
32
27
|
description: Colored output for Bacon test framework! http://i.imgur.com/EpTpw.png
|
33
28
|
email:
|
34
29
|
- whitequark@whitequark.org
|
@@ -45,7 +40,8 @@ files:
|
|
45
40
|
- lib/bacon/colored_output.rb
|
46
41
|
homepage: ''
|
47
42
|
licenses: []
|
48
|
-
|
43
|
+
metadata: {}
|
44
|
+
post_install_message:
|
49
45
|
rdoc_options: []
|
50
46
|
require_paths:
|
51
47
|
- lib
|
@@ -53,21 +49,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
53
49
|
requirements:
|
54
50
|
- - ">="
|
55
51
|
- !ruby/object:Gem::Version
|
56
|
-
version:
|
57
|
-
MA==
|
58
|
-
none: false
|
52
|
+
version: '0'
|
59
53
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
60
54
|
requirements:
|
61
55
|
- - ">="
|
62
56
|
- !ruby/object:Gem::Version
|
63
|
-
version:
|
64
|
-
MA==
|
65
|
-
none: false
|
57
|
+
version: '0'
|
66
58
|
requirements: []
|
67
|
-
rubyforge_project:
|
68
|
-
rubygems_version:
|
69
|
-
signing_key:
|
70
|
-
specification_version:
|
59
|
+
rubyforge_project:
|
60
|
+
rubygems_version: 2.5.2
|
61
|
+
signing_key:
|
62
|
+
specification_version: 4
|
71
63
|
summary: Colored output for Bacon test framework! http://i.imgur.com/EpTpw.png
|
72
64
|
test_files: []
|
73
|
-
has_rdoc:
|
65
|
+
has_rdoc:
|