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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fbb0af4d90b61d8cb27c15c07cae1935cd8f4416
4
- data.tar.gz: 96753132f4deb5d039e1c1cef1ad4c6fd9251d6a
3
+ metadata.gz: daa90cb61d7c7ba5f9900f2fc846e6aca739b1e5
4
+ data.tar.gz: eb6fcec1297e096d1f3c3bac183edf63b037c6aa
5
5
  SHA512:
6
- metadata.gz: a52f26eb24533cf325a56977d459474399efef2daf386059a89957937a55dacef4d079b96395fb5e39bd760b05695bc703175c9a42cd28da8e6c9caf41dec245
7
- data.tar.gz: 97df6e89e4efafeb5a3813d852892cbb3e7d8581a3890a5a42354a342f3663b8d5bd95954b20535eea9be8a48c56f1acb235e73986e9f069b7cc8ee5bff5372b
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 "colorize"
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 'jeweler', :git => "https://github.com/chetan/jeweler.git", :branch => "bixby"
11
+ gem "jeweler", "~> 1.8"
12
12
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.3.0
@@ -1,6 +1,5 @@
1
-
2
1
  require 'hirb'
3
- require 'colorize'
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
- s.colorize(:green)
104
+ ANSI.green { s }
106
105
  elsif n >= 80 then
107
- s.colorize(:yellow)
106
+ ANSI.yellow { s }
108
107
  else
109
- s.colorize(:red)
108
+ ANSI.red { s }
110
109
  end
111
110
  end
112
111
 
@@ -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.2.0 ruby lib
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.2.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 = "2014-09-04"
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.2.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<colorize>, [">= 0"])
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>, [">= 0"])
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<colorize>, [">= 0"])
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>, [">= 0"])
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<colorize>, [">= 0"])
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>, [">= 0"])
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.2.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: 2014-09-04 00:00:00.000000000 Z
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: colorize
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: '0'
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: '0'
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.2.2
149
+ rubygems_version: 2.4.5.1
150
150
  signing_key:
151
151
  specification_version: 4
152
152
  summary: Simple console output formatter