simplecov-lcov 0.7.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.coveralls.yml +8 -1
- data/Gemfile +2 -2
- data/README.markdown +0 -2
- data/Rakefile +1 -14
- data/lib/simple_cov_lcov/configuration.rb +1 -1
- data/lib/simplecov/lcov/version.rb +7 -0
- data/lib/simplecov-lcov.rb +36 -1
- data/simplecov-lcov.gemspec +18 -39
- data/spec/fixtures/app/models/user.rb +11 -2
- data/spec/fixtures/hoge.rb +9 -1
- data/spec/fixtures/lcov/spec-fixtures-app-models-user.rb.branch.lcov +19 -0
- data/spec/fixtures/lcov/spec-fixtures-app-models-user.rb.lcov +13 -9
- data/spec/fixtures/lcov/spec-fixtures-blank.rb.branch.lcov +6 -0
- data/spec/fixtures/lcov/spec-fixtures-blank.rb.lcov +4 -0
- data/spec/fixtures/lcov/spec-fixtures-hoge.rb.branch.lcov +18 -0
- data/spec/fixtures/lcov/spec-fixtures-hoge.rb.lcov +10 -6
- data/spec/simplecov-lcov_spec.rb +98 -15
- data/spec/spec_helper.rb +9 -12
- metadata +20 -18
- data/.travis.yml +0 -9
- data/VERSION +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 2b45d40f2e63cf73546dffac6367bca70c09688796964f90bc25cbfef0f8a5eb
|
4
|
+
data.tar.gz: feecf0f73ff209b3b2a0bdae343167b637de0ee3a0567101f72021824309b901
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d3c37479930114eba475e68b05a32b9991e531fd217cffc4ba85ec15d17839b9e43366c81c780cf6ec71252cbc64e6cdc30356ab8c441cac2976e7e7d0875ab
|
7
|
+
data.tar.gz: d5b74cf7218a792a1081cfe62187ccea6c7a4ea42649b67f052ae0ec25253f418ce93cd1ac2c8234b5ca03ebcced96e8b210d0d88bf992620303e7cba49f3eae
|
data/.coveralls.yml
CHANGED
data/Gemfile
CHANGED
data/README.markdown
CHANGED
@@ -7,9 +7,7 @@ Custom SimpleCov formatter to generate a lcov style coverage.
|
|
7
7
|
[](http://badge.fury.io/rb/simplecov-lcov)
|
8
8
|
[](http://inch-ci.org/github/fortissimo1997/simplecov-lcov)
|
9
9
|
[](https://codeclimate.com/github/fortissimo1997/simplecov-lcov)
|
10
|
-
[](https://gemnasium.com/fortissimo1997/simplecov-lcov)
|
11
10
|
[](https://scrutinizer-ci.com/g/fortissimo1997/simplecov-lcov/?branch=master)
|
12
|
-
[](https://www.omniref.com/ruby/gems/simplecov-lcov)
|
13
11
|
|
14
12
|
## Usage
|
15
13
|
|
data/Rakefile
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
require 'rubygems'
|
4
4
|
require 'bundler'
|
5
|
+
require 'bundler/gem_tasks'
|
5
6
|
begin
|
6
7
|
Bundler.setup(:default, :development)
|
7
8
|
rescue Bundler::BundlerError => e
|
@@ -11,20 +12,6 @@ rescue Bundler::BundlerError => e
|
|
11
12
|
end
|
12
13
|
require 'rake'
|
13
14
|
|
14
|
-
require 'jeweler'
|
15
|
-
Jeweler::Tasks.new do |gem|
|
16
|
-
# gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
|
17
|
-
gem.name = 'simplecov-lcov'
|
18
|
-
gem.homepage = 'http://github.com/fortissimo1997/simplecov-lcov'
|
19
|
-
gem.license = 'MIT'
|
20
|
-
gem.summary = %Q{Custom SimpleCov formatter to generate a lcov style coverage.}
|
21
|
-
gem.description = %Q{Custom SimpleCov formatter to generate a lcov style coverage.}
|
22
|
-
gem.email = 'fortissimo1997@gmail.com'
|
23
|
-
gem.authors = ['fortissimo1997']
|
24
|
-
# dependencies defined in Gemfile
|
25
|
-
end
|
26
|
-
Jeweler::RubygemsDotOrgTasks.new
|
27
|
-
|
28
15
|
require 'rspec/core'
|
29
16
|
require 'rspec/core/rake_task'
|
30
17
|
RSpec::Core::RakeTask.new(:spec) do |spec|
|
data/lib/simplecov-lcov.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'fileutils'
|
2
2
|
require 'pathname'
|
3
|
+
require_relative 'simplecov/lcov/version'
|
3
4
|
require_relative 'simple_cov_lcov/configuration'
|
4
5
|
|
5
6
|
fail 'simplecov-lcov requires simplecov' unless defined?(SimpleCov)
|
@@ -83,7 +84,32 @@ module SimpleCov
|
|
83
84
|
|
84
85
|
def format_file(file)
|
85
86
|
filename = file.filename.gsub("#{SimpleCov.root}/", './')
|
86
|
-
|
87
|
+
pieces = []
|
88
|
+
pieces << "SF:#{filename}"
|
89
|
+
lines = format_lines(file)
|
90
|
+
pieces << lines if lines.length > 0
|
91
|
+
pieces << "LF:#{file.lines.count(&:coverage)}"
|
92
|
+
pieces << "LH:#{file.lines.count(&:covered?)}"
|
93
|
+
|
94
|
+
if SimpleCov.respond_to?(:branch_coverage?) && SimpleCov.branch_coverage?
|
95
|
+
branch_data = format_branches(file)
|
96
|
+
pieces << branch_data if branch_data.length > 0
|
97
|
+
pieces << "BRF:#{file.total_branches.length}"
|
98
|
+
pieces << "BRH:#{file.covered_branches.length}"
|
99
|
+
end
|
100
|
+
pieces << "end_of_record"
|
101
|
+
pieces << ""
|
102
|
+
pieces.join("\n")
|
103
|
+
end
|
104
|
+
|
105
|
+
def format_branches(file)
|
106
|
+
branch_idx = 0
|
107
|
+
filtered_branches(file)
|
108
|
+
.map do |branch|
|
109
|
+
branch_idx += 1
|
110
|
+
format_branch(branch, branch_idx)
|
111
|
+
end
|
112
|
+
.join("\n")
|
87
113
|
end
|
88
114
|
|
89
115
|
def format_lines(file)
|
@@ -96,6 +122,15 @@ module SimpleCov
|
|
96
122
|
file.lines.reject(&:never?).reject(&:skipped?)
|
97
123
|
end
|
98
124
|
|
125
|
+
def filtered_branches(file)
|
126
|
+
file.branches.reject(&:skipped?)
|
127
|
+
end
|
128
|
+
|
129
|
+
def format_branch(branch, branch_idx)
|
130
|
+
taken = branch.coverage == 0 ? '-' : branch.coverage
|
131
|
+
"BRDA:#{branch.report_line},0,#{branch_idx},#{taken}"
|
132
|
+
end
|
133
|
+
|
99
134
|
def format_line(line)
|
100
135
|
"DA:#{line.number},#{line.coverage}"
|
101
136
|
end
|
data/simplecov-lcov.gemspec
CHANGED
@@ -1,17 +1,15 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: simplecov-lcov 0.7.0 ruby lib
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "lib/simplecov/lcov/version"
|
6
4
|
|
7
5
|
Gem::Specification.new do |s|
|
8
6
|
s.name = "simplecov-lcov".freeze
|
9
|
-
s.version =
|
7
|
+
s.version = SimpleCov::Lcov::VERSION
|
10
8
|
|
11
9
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
10
|
s.require_paths = ["lib".freeze]
|
13
11
|
s.authors = ["fortissimo1997".freeze]
|
14
|
-
s.date = "
|
12
|
+
s.date = Time.now.strftime("%Y-%m-%d")
|
15
13
|
s.description = "Custom SimpleCov formatter to generate a lcov style coverage.".freeze
|
16
14
|
s.email = "fortissimo1997@gmail.com".freeze
|
17
15
|
s.extra_rdoc_files = [
|
@@ -23,56 +21,37 @@ Gem::Specification.new do |s|
|
|
23
21
|
".document",
|
24
22
|
".rspec",
|
25
23
|
".tachikoma.yml",
|
26
|
-
".travis.yml",
|
27
24
|
"Gemfile",
|
28
25
|
"LICENSE.txt",
|
29
26
|
"README.markdown",
|
30
27
|
"Rakefile",
|
31
|
-
"
|
28
|
+
"lib/simplecov/lcov/version.rb",
|
32
29
|
"lib/simple_cov_lcov/configuration.rb",
|
33
30
|
"lib/simplecov-lcov.rb",
|
34
31
|
"simplecov-lcov.gemspec",
|
35
32
|
"spec/configuration_spec.rb",
|
36
33
|
"spec/fixtures/app/models/user.rb",
|
37
34
|
"spec/fixtures/hoge.rb",
|
35
|
+
"spec/fixtures/lcov/spec-fixtures-blank.rb.branch.lcov",
|
36
|
+
"spec/fixtures/lcov/spec-fixtures-blank.rb.lcov",
|
37
|
+
"spec/fixtures/lcov/spec-fixtures-app-models-user.rb.branch.lcov",
|
38
38
|
"spec/fixtures/lcov/spec-fixtures-app-models-user.rb.lcov",
|
39
|
+
"spec/fixtures/lcov/spec-fixtures-hoge.rb.branch.lcov",
|
39
40
|
"spec/fixtures/lcov/spec-fixtures-hoge.rb.lcov",
|
40
41
|
"spec/simplecov-lcov_spec.rb",
|
41
42
|
"spec/spec_helper.rb"
|
42
43
|
]
|
43
44
|
s.homepage = "http://github.com/fortissimo1997/simplecov-lcov".freeze
|
44
45
|
s.licenses = ["MIT".freeze]
|
45
|
-
s.rubygems_version = "
|
46
|
+
s.rubygems_version = "3.7.1".freeze
|
46
47
|
s.summary = "Custom SimpleCov formatter to generate a lcov style coverage.".freeze
|
47
48
|
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
s.add_development_dependency(%q<jeweler>.freeze, ["~> 2.3.0"])
|
56
|
-
s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
|
57
|
-
s.add_development_dependency(%q<coveralls>.freeze, [">= 0"])
|
58
|
-
s.add_development_dependency(%q<activesupport>.freeze, [">= 0"])
|
59
|
-
else
|
60
|
-
s.add_dependency(%q<rspec>.freeze, [">= 0"])
|
61
|
-
s.add_dependency(%q<rdoc>.freeze, [">= 0"])
|
62
|
-
s.add_dependency(%q<bundler>.freeze, [">= 0"])
|
63
|
-
s.add_dependency(%q<jeweler>.freeze, ["~> 2.3.0"])
|
64
|
-
s.add_dependency(%q<simplecov>.freeze, [">= 0"])
|
65
|
-
s.add_dependency(%q<coveralls>.freeze, [">= 0"])
|
66
|
-
s.add_dependency(%q<activesupport>.freeze, [">= 0"])
|
67
|
-
end
|
68
|
-
else
|
69
|
-
s.add_dependency(%q<rspec>.freeze, [">= 0"])
|
70
|
-
s.add_dependency(%q<rdoc>.freeze, [">= 0"])
|
71
|
-
s.add_dependency(%q<bundler>.freeze, [">= 0"])
|
72
|
-
s.add_dependency(%q<jeweler>.freeze, ["~> 2.3.0"])
|
73
|
-
s.add_dependency(%q<simplecov>.freeze, [">= 0"])
|
74
|
-
s.add_dependency(%q<coveralls>.freeze, [">= 0"])
|
75
|
-
s.add_dependency(%q<activesupport>.freeze, [">= 0"])
|
76
|
-
end
|
49
|
+
s.add_development_dependency(%q<rspec>.freeze, [">= 0"])
|
50
|
+
s.add_development_dependency(%q<rdoc>.freeze, [">= 0"])
|
51
|
+
s.add_development_dependency(%q<bundler>.freeze, [">= 0"])
|
52
|
+
s.add_development_dependency(%q<rake>.freeze, [">= 0"])
|
53
|
+
s.add_development_dependency(%q<simplecov>.freeze, ["~> 0.18"])
|
54
|
+
s.add_development_dependency(%q<coveralls>.freeze, [">= 0"])
|
55
|
+
s.add_development_dependency(%q<activesupport>.freeze, [">= 0"])
|
77
56
|
end
|
78
57
|
|
data/spec/fixtures/hoge.rb
CHANGED
@@ -1,13 +1,17 @@
|
|
1
1
|
SF:./spec/fixtures/app/models/user.rb
|
2
|
-
DA:4,
|
3
|
-
DA:5,
|
2
|
+
DA:4,1
|
3
|
+
DA:5,1
|
4
4
|
DA:6,2
|
5
|
-
DA:
|
6
|
-
DA:
|
7
|
-
DA:10,0
|
8
|
-
DA:11,0
|
5
|
+
DA:9,1
|
6
|
+
DA:10,1
|
9
7
|
DA:13,1
|
10
|
-
DA:14,
|
11
|
-
DA:
|
12
|
-
DA:
|
8
|
+
DA:14,1
|
9
|
+
DA:17,1
|
10
|
+
DA:18,0
|
11
|
+
DA:22,1
|
12
|
+
DA:23,1
|
13
|
+
DA:24,1
|
14
|
+
DA:25,1
|
15
|
+
LF:13
|
16
|
+
LH:12
|
13
17
|
end_of_record
|
data/spec/simplecov-lcov_spec.rb
CHANGED
@@ -3,23 +3,21 @@ require 'active_support/core_ext/kernel/reporting'
|
|
3
3
|
|
4
4
|
module SimpleCov::Formatter
|
5
5
|
describe LcovFormatter do
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
6
|
+
let(:branch_coverage_enabled) { false }
|
7
|
+
before do
|
8
|
+
SimpleCov.clear_coverage_criteria
|
9
|
+
SimpleCov.enable_coverage :branch if branch_coverage_enabled
|
10
|
+
ENV['COVERAGE'] && SimpleCov.start do
|
11
|
+
add_filter '/.rvm/'
|
12
|
+
end
|
12
13
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
}
|
18
|
-
}
|
14
|
+
load 'fixtures/app/models/user.rb'
|
15
|
+
load 'fixtures/hoge.rb'
|
16
|
+
load 'fixtures/blank.rb'
|
17
|
+
end
|
19
18
|
|
20
|
-
|
21
|
-
|
22
|
-
}
|
19
|
+
describe '#format' do
|
20
|
+
let(:simplecov_result) { SimpleCov.result }
|
23
21
|
|
24
22
|
context 'generating report per file' do
|
25
23
|
before {
|
@@ -50,6 +48,87 @@ module SimpleCov::Formatter
|
|
50
48
|
}
|
51
49
|
it { expect(File.read(output_path)).to eq(fixture) }
|
52
50
|
end
|
51
|
+
|
52
|
+
describe 'spec-fixtures-blank.rb.lcov' do
|
53
|
+
let(:output_path) {
|
54
|
+
File.join(LcovFormatter.config.output_directory, 'spec-fixtures-blank.rb.lcov')
|
55
|
+
}
|
56
|
+
let(:fixture) {
|
57
|
+
File.read("#{File.dirname(__FILE__)}/fixtures/lcov/spec-fixtures-blank.rb.lcov")
|
58
|
+
}
|
59
|
+
it { expect(File.read(output_path)).to eq(fixture) }
|
60
|
+
end
|
61
|
+
|
62
|
+
describe 'branch coverage enabled' do
|
63
|
+
let(:branch_coverage_enabled) { true }
|
64
|
+
|
65
|
+
describe 'spec-fixtures-hoge.rb.branch.lcov' do
|
66
|
+
let(:output_path) {
|
67
|
+
File.join(LcovFormatter.config.output_directory, 'spec-fixtures-hoge.rb.lcov')
|
68
|
+
}
|
69
|
+
let(:fixture) {
|
70
|
+
File.read("#{File.dirname(__FILE__)}/fixtures/lcov/spec-fixtures-hoge.rb.branch.lcov")
|
71
|
+
}
|
72
|
+
it { expect(File.read(output_path)).to eq(fixture) }
|
73
|
+
end
|
74
|
+
|
75
|
+
describe 'spec-fixtures-app-models-user.rb.branch.lcov' do
|
76
|
+
let(:output_path) {
|
77
|
+
File.join(LcovFormatter.config.output_directory, 'spec-fixtures-app-models-user.rb.lcov')
|
78
|
+
}
|
79
|
+
let(:fixture) {
|
80
|
+
File.read("#{File.dirname(__FILE__)}/fixtures/lcov/spec-fixtures-app-models-user.rb.branch.lcov")
|
81
|
+
}
|
82
|
+
it { expect(File.read(output_path)).to eq(fixture) }
|
83
|
+
end
|
84
|
+
|
85
|
+
describe 'spec-fixtures-blank.rb.branch.lcov' do
|
86
|
+
let(:output_path) {
|
87
|
+
File.join(LcovFormatter.config.output_directory, 'spec-fixtures-blank.rb.lcov')
|
88
|
+
}
|
89
|
+
let(:fixture) {
|
90
|
+
File.read("#{File.dirname(__FILE__)}/fixtures/lcov/spec-fixtures-blank.rb.branch.lcov")
|
91
|
+
}
|
92
|
+
it { expect(File.read(output_path)).to eq(fixture) }
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
context 'SimpleCov.branch_coverage? is missing' do
|
97
|
+
before do
|
98
|
+
allow(SimpleCov).to receive(:branch_coverage?).and_return(false)
|
99
|
+
LcovFormatter.new.format(simplecov_result)
|
100
|
+
end
|
101
|
+
|
102
|
+
describe 'spec-fixtures-hoge.rb.lcov' do
|
103
|
+
let(:output_path) {
|
104
|
+
File.join(LcovFormatter.config.output_directory, 'spec-fixtures-hoge.rb.lcov')
|
105
|
+
}
|
106
|
+
let(:fixture) {
|
107
|
+
File.read("#{File.dirname(__FILE__)}/fixtures/lcov/spec-fixtures-hoge.rb.lcov")
|
108
|
+
}
|
109
|
+
it { expect(File.read(output_path)).to eq(fixture) }
|
110
|
+
end
|
111
|
+
|
112
|
+
describe 'spec-fixtures-app-models-user.rb.lcov' do
|
113
|
+
let(:output_path) {
|
114
|
+
File.join(LcovFormatter.config.output_directory, 'spec-fixtures-app-models-user.rb.lcov')
|
115
|
+
}
|
116
|
+
let(:fixture) {
|
117
|
+
File.read("#{File.dirname(__FILE__)}/fixtures/lcov/spec-fixtures-app-models-user.rb.lcov")
|
118
|
+
}
|
119
|
+
it { expect(File.read(output_path)).to eq(fixture) }
|
120
|
+
end
|
121
|
+
|
122
|
+
describe 'spec-fixtures-blank.rb.lcov' do
|
123
|
+
let(:output_path) {
|
124
|
+
File.join(LcovFormatter.config.output_directory, 'spec-fixtures-blank.rb.lcov')
|
125
|
+
}
|
126
|
+
let(:fixture) {
|
127
|
+
File.read("#{File.dirname(__FILE__)}/fixtures/lcov/spec-fixtures-blank.rb.lcov")
|
128
|
+
}
|
129
|
+
it { expect(File.read(output_path)).to eq(fixture) }
|
130
|
+
end
|
131
|
+
end
|
53
132
|
end
|
54
133
|
|
55
134
|
context 'generating single file report' do
|
@@ -72,8 +151,12 @@ module SimpleCov::Formatter
|
|
72
151
|
let(:fixture_of_user) {
|
73
152
|
File.read("#{File.dirname(__FILE__)}/fixtures/lcov/spec-fixtures-app-models-user.rb.lcov")
|
74
153
|
}
|
154
|
+
let(:fixture_of_blank) {
|
155
|
+
File.read("#{File.dirname(__FILE__)}/fixtures/lcov/spec-fixtures-blank.rb.lcov")
|
156
|
+
}
|
75
157
|
it { expect(File.read(output_path)).to match(fixture_of_hoge) }
|
76
158
|
it { expect(File.read(output_path)).to match(fixture_of_user) }
|
159
|
+
it { expect(File.read(output_path)).to match(fixture_of_blank) }
|
77
160
|
end
|
78
161
|
end
|
79
162
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -17,9 +17,6 @@ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
|
|
17
17
|
Coveralls::SimpleCov::Formatter
|
18
18
|
])
|
19
19
|
|
20
|
-
ENV['COVERAGE'] && SimpleCov.start do
|
21
|
-
add_filter '/.rvm/'
|
22
|
-
end
|
23
20
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
24
21
|
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
25
22
|
|
@@ -32,13 +29,13 @@ require 'simplecov-lcov'
|
|
32
29
|
# Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
|
33
30
|
|
34
31
|
RSpec.configure do |config|
|
35
|
-
config.before(:each) do
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
end
|
32
|
+
# config.before(:each) do
|
33
|
+
# if Dir.exist?(SimpleCov::Formatter::LcovFormatter.config.output_directory)
|
34
|
+
# FileUtils
|
35
|
+
# .remove_dir(
|
36
|
+
# SimpleCov::Formatter::LcovFormatter.config.output_directory,
|
37
|
+
# true
|
38
|
+
# )
|
39
|
+
# end
|
40
|
+
# end
|
44
41
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplecov-lcov
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- fortissimo1997
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -53,33 +53,33 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: simplecov
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
75
|
+
version: '0.18'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
82
|
+
version: '0.18'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: coveralls
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -120,19 +120,22 @@ files:
|
|
120
120
|
- ".document"
|
121
121
|
- ".rspec"
|
122
122
|
- ".tachikoma.yml"
|
123
|
-
- ".travis.yml"
|
124
123
|
- Gemfile
|
125
124
|
- LICENSE.txt
|
126
125
|
- README.markdown
|
127
126
|
- Rakefile
|
128
|
-
- VERSION
|
129
127
|
- lib/simple_cov_lcov/configuration.rb
|
130
128
|
- lib/simplecov-lcov.rb
|
129
|
+
- lib/simplecov/lcov/version.rb
|
131
130
|
- simplecov-lcov.gemspec
|
132
131
|
- spec/configuration_spec.rb
|
133
132
|
- spec/fixtures/app/models/user.rb
|
134
133
|
- spec/fixtures/hoge.rb
|
134
|
+
- spec/fixtures/lcov/spec-fixtures-app-models-user.rb.branch.lcov
|
135
135
|
- spec/fixtures/lcov/spec-fixtures-app-models-user.rb.lcov
|
136
|
+
- spec/fixtures/lcov/spec-fixtures-blank.rb.branch.lcov
|
137
|
+
- spec/fixtures/lcov/spec-fixtures-blank.rb.lcov
|
138
|
+
- spec/fixtures/lcov/spec-fixtures-hoge.rb.branch.lcov
|
136
139
|
- spec/fixtures/lcov/spec-fixtures-hoge.rb.lcov
|
137
140
|
- spec/simplecov-lcov_spec.rb
|
138
141
|
- spec/spec_helper.rb
|
@@ -140,7 +143,7 @@ homepage: http://github.com/fortissimo1997/simplecov-lcov
|
|
140
143
|
licenses:
|
141
144
|
- MIT
|
142
145
|
metadata: {}
|
143
|
-
post_install_message:
|
146
|
+
post_install_message:
|
144
147
|
rdoc_options: []
|
145
148
|
require_paths:
|
146
149
|
- lib
|
@@ -155,9 +158,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
155
158
|
- !ruby/object:Gem::Version
|
156
159
|
version: '0'
|
157
160
|
requirements: []
|
158
|
-
|
159
|
-
|
160
|
-
signing_key:
|
161
|
+
rubygems_version: 3.5.22
|
162
|
+
signing_key:
|
161
163
|
specification_version: 4
|
162
164
|
summary: Custom SimpleCov formatter to generate a lcov style coverage.
|
163
165
|
test_files: []
|
data/.travis.yml
DELETED
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.7.0
|