colorific 0.0.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/colorific.gemspec +2 -2
- data/lib/colorific.rb +7 -5
- data/lib/colorific/version.rb +1 -1
- metadata +37 -46
data/colorific.gemspec
CHANGED
@@ -19,6 +19,6 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
20
|
s.require_paths = ["lib"]
|
21
21
|
|
22
|
-
s.add_dependency
|
23
|
-
s.add_dependency
|
22
|
+
s.add_dependency "minitest", "~> 2.3.1"
|
23
|
+
s.add_dependency "ruby-progressbar", "~> 0.0.10"
|
24
24
|
end
|
data/lib/colorific.rb
CHANGED
@@ -13,11 +13,13 @@ class MiniTest::Unit
|
|
13
13
|
def puke(klass, meth, e)
|
14
14
|
r = original_puke(klass, meth, e)
|
15
15
|
|
16
|
-
report = @report.pop
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
16
|
+
if report = @report.pop
|
17
|
+
lines = report.split(/\n/)
|
18
|
+
lines[0] = tint(r, lines[0])
|
19
|
+
@report << lines.join("\n")
|
20
|
+
end
|
21
|
+
|
22
|
+
return r
|
21
23
|
end
|
22
24
|
|
23
25
|
def _run_suites(suites, type)
|
data/lib/colorific/version.rb
CHANGED
metadata
CHANGED
@@ -1,50 +1,45 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: colorific
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
4
5
|
prerelease:
|
5
|
-
version: 0.0.2
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Carlos Brando
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
dependencies:
|
16
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-07-26 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
17
15
|
name: minitest
|
18
|
-
|
19
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &70263266694080 !ruby/object:Gem::Requirement
|
20
17
|
none: false
|
21
|
-
requirements:
|
18
|
+
requirements:
|
22
19
|
- - ~>
|
23
|
-
- !ruby/object:Gem::Version
|
24
|
-
version:
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 2.3.1
|
25
22
|
type: :runtime
|
26
|
-
version_requirements: *id001
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: ruby-progressbar
|
29
23
|
prerelease: false
|
30
|
-
|
24
|
+
version_requirements: *70263266694080
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: ruby-progressbar
|
27
|
+
requirement: &70263266693580 !ruby/object:Gem::Requirement
|
31
28
|
none: false
|
32
|
-
requirements:
|
33
|
-
- -
|
34
|
-
- !ruby/object:Gem::Version
|
35
|
-
version: 0.0.
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 0.0.10
|
36
33
|
type: :runtime
|
37
|
-
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70263266693580
|
38
36
|
description: Run your tests (Minitest) with lots of color!
|
39
|
-
email:
|
37
|
+
email:
|
40
38
|
- eduardobrando@gmail.com
|
41
39
|
executables: []
|
42
|
-
|
43
40
|
extensions: []
|
44
|
-
|
45
41
|
extra_rdoc_files: []
|
46
|
-
|
47
|
-
files:
|
42
|
+
files:
|
48
43
|
- .gitignore
|
49
44
|
- Gemfile
|
50
45
|
- README.markdown
|
@@ -57,35 +52,31 @@ files:
|
|
57
52
|
- test/test_nothing.rb
|
58
53
|
- test/test_pass.rb
|
59
54
|
- test/test_skip.rb
|
60
|
-
|
61
|
-
homepage: ""
|
55
|
+
homepage: ''
|
62
56
|
licenses: []
|
63
|
-
|
64
57
|
post_install_message:
|
65
58
|
rdoc_options: []
|
66
|
-
|
67
|
-
require_paths:
|
59
|
+
require_paths:
|
68
60
|
- lib
|
69
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
61
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
70
62
|
none: false
|
71
|
-
requirements:
|
72
|
-
- -
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version:
|
75
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
63
|
+
requirements:
|
64
|
+
- - ! '>='
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '0'
|
67
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
76
68
|
none: false
|
77
|
-
requirements:
|
78
|
-
- -
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
version:
|
69
|
+
requirements:
|
70
|
+
- - ! '>='
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '0'
|
81
73
|
requirements: []
|
82
|
-
|
83
74
|
rubyforge_project: colorific
|
84
|
-
rubygems_version: 1.
|
75
|
+
rubygems_version: 1.8.6
|
85
76
|
signing_key:
|
86
77
|
specification_version: 3
|
87
78
|
summary: Run your tests (Minitest) with lots of color!
|
88
|
-
test_files:
|
79
|
+
test_files:
|
89
80
|
- test/test_error.rb
|
90
81
|
- test/test_fail.rb
|
91
82
|
- test/test_nothing.rb
|