simplecov-console 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -2
- data/VERSION +1 -1
- data/lib/simplecov-console.rb +4 -5
- data/simplecov-console.gemspec +10 -10
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: daa90cb61d7c7ba5f9900f2fc846e6aca739b1e5
|
4
|
+
data.tar.gz: eb6fcec1297e096d1f3c3bac183edf63b037c6aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4aabde8dce86003b90a3335badd5d2d51f05a5a30155decbfe13d49f171df7d30f23a3adcb029103fb1f225586f82beb8a35a5940aa1a948d492ece7c2e825e4
|
7
|
+
data.tar.gz: 9199fdc36c3a169d69ba9492b4050333033bfed18245a2fd8605a59f6534c5d98d43379c3dcd59dff40d60076ebe0a9f18857f636fa613e4488ebadd5f8e4133
|
data/Gemfile
CHANGED
@@ -2,11 +2,11 @@ source "http://rubygems.org"
|
|
2
2
|
|
3
3
|
gem "simplecov"
|
4
4
|
gem "hirb"
|
5
|
-
gem "
|
5
|
+
gem "ansi"
|
6
6
|
|
7
7
|
group :development do
|
8
8
|
gem "minitest"
|
9
9
|
gem "yard"
|
10
10
|
gem "bundler", "~> 1.2"
|
11
|
-
gem
|
11
|
+
gem "jeweler", "~> 1.8"
|
12
12
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.3.0
|
data/lib/simplecov-console.rb
CHANGED
@@ -1,6 +1,5 @@
|
|
1
|
-
|
2
1
|
require 'hirb'
|
3
|
-
require '
|
2
|
+
require 'ansi/code'
|
4
3
|
|
5
4
|
class SimpleCov::Formatter::Console
|
6
5
|
|
@@ -102,11 +101,11 @@ class SimpleCov::Formatter::Console
|
|
102
101
|
s =~ /([\d.]+)/
|
103
102
|
n = $1.to_f
|
104
103
|
if n >= 90 then
|
105
|
-
|
104
|
+
ANSI.green { s }
|
106
105
|
elsif n >= 80 then
|
107
|
-
|
106
|
+
ANSI.yellow { s }
|
108
107
|
else
|
109
|
-
|
108
|
+
ANSI.red { s }
|
110
109
|
end
|
111
110
|
end
|
112
111
|
|
data/simplecov-console.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: simplecov-console 0.
|
5
|
+
# stub: simplecov-console 0.3.0 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "simplecov-console"
|
9
|
-
s.version = "0.
|
9
|
+
s.version = "0.3.0"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Chetan Sarva"]
|
14
|
-
s.date = "
|
14
|
+
s.date = "2016-01-08"
|
15
15
|
s.description = "Simple console output formatter for SimpleCov"
|
16
16
|
s.email = "chetan@pixelcop.net"
|
17
17
|
s.extra_rdoc_files = [
|
@@ -32,7 +32,7 @@ Gem::Specification.new do |s|
|
|
32
32
|
]
|
33
33
|
s.homepage = "http://github.com/chetan/simplecov-console"
|
34
34
|
s.licenses = ["MIT"]
|
35
|
-
s.rubygems_version = "2.
|
35
|
+
s.rubygems_version = "2.4.5.1"
|
36
36
|
s.summary = "Simple console output formatter"
|
37
37
|
|
38
38
|
if s.respond_to? :specification_version then
|
@@ -41,28 +41,28 @@ Gem::Specification.new do |s|
|
|
41
41
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
42
42
|
s.add_runtime_dependency(%q<simplecov>, [">= 0"])
|
43
43
|
s.add_runtime_dependency(%q<hirb>, [">= 0"])
|
44
|
-
s.add_runtime_dependency(%q<
|
44
|
+
s.add_runtime_dependency(%q<ansi>, [">= 0"])
|
45
45
|
s.add_development_dependency(%q<minitest>, [">= 0"])
|
46
46
|
s.add_development_dependency(%q<yard>, [">= 0"])
|
47
47
|
s.add_development_dependency(%q<bundler>, ["~> 1.2"])
|
48
|
-
s.add_development_dependency(%q<jeweler>, ["
|
48
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.8"])
|
49
49
|
else
|
50
50
|
s.add_dependency(%q<simplecov>, [">= 0"])
|
51
51
|
s.add_dependency(%q<hirb>, [">= 0"])
|
52
|
-
s.add_dependency(%q<
|
52
|
+
s.add_dependency(%q<ansi>, [">= 0"])
|
53
53
|
s.add_dependency(%q<minitest>, [">= 0"])
|
54
54
|
s.add_dependency(%q<yard>, [">= 0"])
|
55
55
|
s.add_dependency(%q<bundler>, ["~> 1.2"])
|
56
|
-
s.add_dependency(%q<jeweler>, ["
|
56
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8"])
|
57
57
|
end
|
58
58
|
else
|
59
59
|
s.add_dependency(%q<simplecov>, [">= 0"])
|
60
60
|
s.add_dependency(%q<hirb>, [">= 0"])
|
61
|
-
s.add_dependency(%q<
|
61
|
+
s.add_dependency(%q<ansi>, [">= 0"])
|
62
62
|
s.add_dependency(%q<minitest>, [">= 0"])
|
63
63
|
s.add_dependency(%q<yard>, [">= 0"])
|
64
64
|
s.add_dependency(%q<bundler>, ["~> 1.2"])
|
65
|
-
s.add_dependency(%q<jeweler>, ["
|
65
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8"])
|
66
66
|
end
|
67
67
|
end
|
68
68
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplecov-console
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chetan Sarva
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: simplecov
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: ansi
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
@@ -98,16 +98,16 @@ dependencies:
|
|
98
98
|
name: jeweler
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
103
|
+
version: '1.8'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
110
|
+
version: '1.8'
|
111
111
|
description: Simple console output formatter for SimpleCov
|
112
112
|
email: chetan@pixelcop.net
|
113
113
|
executables: []
|
@@ -146,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
146
146
|
version: '0'
|
147
147
|
requirements: []
|
148
148
|
rubyforge_project:
|
149
|
-
rubygems_version: 2.
|
149
|
+
rubygems_version: 2.4.5.1
|
150
150
|
signing_key:
|
151
151
|
specification_version: 4
|
152
152
|
summary: Simple console output formatter
|