simplecov-console 0.1.2 → 0.1.3

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: 17433124459861599b5ee401e15d632a0779d090
4
- data.tar.gz: 9ff272942694bb26ffc2e1e1d2c81e8989f08659
3
+ metadata.gz: 661e5e9e3a45659eeb0beec94dec0d085b7a09d5
4
+ data.tar.gz: 31d34cd1d397e3834c7a574fd5b83102345a9c31
5
5
  SHA512:
6
- metadata.gz: aac05f07b43d02fecc68b4ed94134966a49e8671b6e204d002192268295eeaf9432bdd5fcc50f71bb4ff4bd3635c866085f39a7bcdeb3a6b421640053ba5223a
7
- data.tar.gz: 5d2eafdd6c609e7cb4425ad1a198fa16df8dbacdf1b578af8edc8a67fe2f9c19c77c35ffaf758035559521c6d3269e978a22895e7997a6867c26ca77786e9b8a
6
+ metadata.gz: 13652f2b15e7bf8876e2351c132409e11127abd5561e49df314d26ce36ca0bda45815428d52a6919127834fab060d9da321c121be3dbe80a046aa99a31a5ae74
7
+ data.tar.gz: 8eeaddb17962edfb7ff5a47593a14faf304b00fe52025925897f171faa4d4ca5367c2b287eeb2f7160b3ba42d325f2f4896ff33c6b82f9062fc07fd6ccb3055a
data/Gemfile CHANGED
@@ -8,5 +8,5 @@ group :development do
8
8
  gem "minitest"
9
9
  gem "yard"
10
10
  gem "bundler", "~> 1.2"
11
- gem "jeweler", "~> 1.8"
11
+ gem 'jeweler', :git => "https://github.com/chetan/jeweler.git", :branch => "bixby"
12
12
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -20,7 +20,7 @@ class SimpleCov::Formatter::Console
20
20
  end
21
21
 
22
22
  puts
23
- puts "COVERAGE: #{colorize(pct(result))} -- #{result.covered_lines}/#{result.total_lines} lines"
23
+ puts "COVERAGE: #{colorize(pct(result))} -- #{result.covered_lines}/#{result.total_lines} lines in #{result.files.size} files"
24
24
  puts
25
25
 
26
26
  if root.nil? then
@@ -29,7 +29,15 @@ class SimpleCov::Formatter::Console
29
29
 
30
30
  files = result.files.sort{ |a,b| a.covered_percent <=> b.covered_percent }
31
31
 
32
- files.select!{|file| file.covered_percent < 100 }
32
+ covered_files = 0
33
+ files.select!{ |file|
34
+ if file.covered_percent == 100 then
35
+ covered_files += 1
36
+ false
37
+ else
38
+ true
39
+ end
40
+ }
33
41
 
34
42
  if files.nil? or files.empty? then
35
43
  return
@@ -46,8 +54,9 @@ class SimpleCov::Formatter::Console
46
54
  s.pop
47
55
  puts s.join("\n").gsub(/\d+\.\d+%/) { |m| colorize(m) }
48
56
 
49
- puts
50
- puts "URL: file://#{root}/coverage/index.html"
57
+ if covered_files > 0 then
58
+ puts "#{covered_files} file(s) with 100% coverage not shown"
59
+ end
51
60
 
52
61
  end
53
62
 
@@ -2,11 +2,11 @@
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.1.2 ruby lib
5
+ # stub: simplecov-console 0.1.3 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "simplecov-console"
9
- s.version = "0.1.2"
9
+ s.version = "0.1.3"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.authors = ["Chetan Sarva"]
@@ -45,7 +45,7 @@ Gem::Specification.new do |s|
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>, ["~> 1.8"])
48
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
49
49
  else
50
50
  s.add_dependency(%q<simplecov>, [">= 0"])
51
51
  s.add_dependency(%q<hirb>, [">= 0"])
@@ -53,7 +53,7 @@ Gem::Specification.new do |s|
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>, ["~> 1.8"])
56
+ s.add_dependency(%q<jeweler>, [">= 0"])
57
57
  end
58
58
  else
59
59
  s.add_dependency(%q<simplecov>, [">= 0"])
@@ -62,7 +62,7 @@ Gem::Specification.new do |s|
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>, ["~> 1.8"])
65
+ s.add_dependency(%q<jeweler>, [">= 0"])
66
66
  end
67
67
  end
68
68
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplecov-console
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chetan Sarva
@@ -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: '1.8'
103
+ version: '0'
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: '1.8'
110
+ version: '0'
111
111
  description: Simple console output formatter for SimpleCov
112
112
  email: chetan@pixelcop.net
113
113
  executables: []