coveralls_reborn 0.14.0 → 0.15.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 +4 -4
- data/.gitignore +2 -0
- data/.rubocop.yml +4 -4
- data/.travis.yml +1 -5
- data/CHANGELOG.md +6 -0
- data/Gemfile +5 -5
- data/LICENSE +2 -0
- data/README.md +1 -1
- data/coveralls-ruby.gemspec +2 -2
- data/lib/coveralls/simplecov.rb +1 -1
- data/lib/coveralls/version.rb +1 -1
- data/spec/coveralls/simple_cov/formatter_spec.rb +0 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9608e65a61d47b3b69c17cc60584e7fb02c7b5e8435554e17bbe92724b7ba0e5
|
4
|
+
data.tar.gz: 90e11a5f32f891a6f16e46952393d0a98cd6f6c6e64bf2531a155f8b3d1bbea4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40d0efc2a3fa351a1393b202a8694e8e0e8fcf1da6a68297afa2bff0b6a27d0aaf4901d77ddf2d3faad81ceef904e90add33751f7ba55c0adba19b67922fe809
|
7
|
+
data.tar.gz: 7312ead913587e851d8b28a172c6b21db6340f15a261e8b144119fc43974109e82faf5c402b5ab009bc035f7e1008e1069016d9f2d5911ac4d47a666f6ba8b42
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
@@ -3,7 +3,7 @@ require:
|
|
3
3
|
- rubocop-rspec
|
4
4
|
|
5
5
|
AllCops:
|
6
|
-
TargetRubyVersion: 2.
|
6
|
+
TargetRubyVersion: 2.4
|
7
7
|
Exclude:
|
8
8
|
- 'spec/coveralls/fixtures/**/*'
|
9
9
|
- 'vendor/bundle/**/*'
|
@@ -12,6 +12,9 @@ Layout/HashAlignment:
|
|
12
12
|
EnforcedColonStyle: table
|
13
13
|
EnforcedHashRocketStyle: table
|
14
14
|
|
15
|
+
Layout/LineLength:
|
16
|
+
Enabled: false
|
17
|
+
|
15
18
|
Metrics/AbcSize:
|
16
19
|
Max: 39.29
|
17
20
|
|
@@ -25,9 +28,6 @@ Metrics/BlockLength:
|
|
25
28
|
Exclude:
|
26
29
|
- 'spec/**/*'
|
27
30
|
|
28
|
-
Metrics/LineLength:
|
29
|
-
Enabled: false
|
30
|
-
|
31
31
|
Metrics/MethodLength:
|
32
32
|
Enabled: false
|
33
33
|
|
data/.travis.yml
CHANGED
@@ -2,10 +2,6 @@ language: ruby
|
|
2
2
|
|
3
3
|
cache: bundler
|
4
4
|
|
5
|
-
before_install:
|
6
|
-
- gem update --system
|
7
|
-
- gem install bundler
|
8
|
-
|
9
5
|
env:
|
10
6
|
global:
|
11
7
|
# --dev improves JRuby startup time
|
@@ -14,10 +10,10 @@ env:
|
|
14
10
|
- JRUBY_OPTS="--dev --debug"
|
15
11
|
|
16
12
|
rvm:
|
17
|
-
- 2.3.8
|
18
13
|
- 2.4.9
|
19
14
|
- 2.5.7
|
20
15
|
- 2.6.5
|
16
|
+
- 2.7.0
|
21
17
|
- ruby-head
|
22
18
|
- jruby-9.2.9.0
|
23
19
|
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
@@ -6,22 +6,22 @@ source 'https://rubygems.org'
|
|
6
6
|
gemspec
|
7
7
|
|
8
8
|
platforms :jruby do
|
9
|
-
gem 'jruby-openssl', '~> 0.10.
|
9
|
+
gem 'jruby-openssl', '~> 0.10.2'
|
10
10
|
end
|
11
11
|
|
12
12
|
group :development do
|
13
13
|
gem 'rake', '~> 13.0'
|
14
14
|
gem 'rspec', '~> 3.9'
|
15
|
-
gem 'rubocop', '~> 0.
|
15
|
+
gem 'rubocop', '~> 0.79.0'
|
16
16
|
gem 'rubocop-performance', '~> 1.5'
|
17
17
|
gem 'rubocop-rspec', '~> 1.37'
|
18
18
|
gem 'truthy', '~> 1.0'
|
19
19
|
gem 'vcr', '~> 5.0'
|
20
|
-
gem 'webmock', '~> 3.
|
20
|
+
gem 'webmock', '~> 3.8'
|
21
21
|
end
|
22
22
|
|
23
23
|
group :development, :test do
|
24
|
-
gem 'byebug', '~> 11.
|
24
|
+
gem 'byebug', '~> 11.1', platforms: %i[mri mingw x64_mingw]
|
25
25
|
gem 'pry', '~> 0.12.2'
|
26
|
-
gem 'pry-byebug', '~> 3.
|
26
|
+
gem 'pry-byebug', '~> 3.8', platforms: %i[mri mingw x64_mingw]
|
27
27
|
end
|
data/LICENSE
CHANGED
@@ -2,6 +2,8 @@ MIT License
|
|
2
2
|
|
3
3
|
Copyright (c) 2018 Wil Gieseler
|
4
4
|
|
5
|
+
Copyright (c) 2020 Geremia Taglialatela
|
6
|
+
|
5
7
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
8
|
of this software and associated documentation files (the "Software"), to deal
|
7
9
|
in the Software without restriction, including without limitation the rights
|
data/README.md
CHANGED
data/coveralls-ruby.gemspec
CHANGED
@@ -21,10 +21,10 @@ Gem::Specification.new do |gem|
|
|
21
21
|
gem.metadata = {
|
22
22
|
'source_code_uri' => 'https://github.com/tagliala/coveralls-ruby-reborn'
|
23
23
|
}
|
24
|
-
gem.required_ruby_version = '>= 2.
|
24
|
+
gem.required_ruby_version = '>= 2.4'
|
25
25
|
|
26
26
|
gem.add_dependency 'json', '~> 2.1'
|
27
|
-
gem.add_dependency 'simplecov', '~> 0.
|
27
|
+
gem.add_dependency 'simplecov', '~> 0.18.1'
|
28
28
|
gem.add_dependency 'term-ansicolor', '~> 1.6'
|
29
29
|
gem.add_dependency 'thor', '>= 0.20.3', '< 2.0'
|
30
30
|
gem.add_dependency 'tins', '~> 1.16'
|
data/lib/coveralls/simplecov.rb
CHANGED
@@ -44,7 +44,7 @@ module Coveralls
|
|
44
44
|
properties[:name] = short_filename(file.filename)
|
45
45
|
|
46
46
|
# Get the coverage
|
47
|
-
properties[:coverage] = file.
|
47
|
+
properties[:coverage] = file.coverage_data['lines']
|
48
48
|
|
49
49
|
# Skip nocov lines
|
50
50
|
file.lines.each_with_index do |line, i|
|
data/lib/coveralls/version.rb
CHANGED
@@ -74,7 +74,6 @@ describe Coveralls::SimpleCov::Formatter do
|
|
74
74
|
|
75
75
|
it 'nils the skipped lines' do
|
76
76
|
source_file = source_files.first
|
77
|
-
expect(source_file[:coverage]).not_to eq result.files.first.coverage
|
78
77
|
expect(source_file[:coverage]).to eq [nil, 1, 1, 1, nil, 0, 1, 1, nil, nil, nil, nil, nil]
|
79
78
|
end
|
80
79
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coveralls_reborn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Merwin
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2020-02-01 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: json
|
@@ -32,14 +32,14 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - "~>"
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.
|
35
|
+
version: 0.18.1
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.
|
42
|
+
version: 0.18.1
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: term-ansicolor
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -163,14 +163,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
163
163
|
requirements:
|
164
164
|
- - ">="
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: '2.
|
166
|
+
version: '2.4'
|
167
167
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
168
168
|
requirements:
|
169
169
|
- - ">="
|
170
170
|
- !ruby/object:Gem::Version
|
171
171
|
version: '0'
|
172
172
|
requirements: []
|
173
|
-
rubygems_version: 3.
|
173
|
+
rubygems_version: 3.1.2
|
174
174
|
signing_key:
|
175
175
|
specification_version: 4
|
176
176
|
summary: A Ruby implementation of the Coveralls API.
|