coveralls_reborn 0.14.0 → 0.15.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
  SHA256:
3
- metadata.gz: 5a912cc8c519430f94439a6d67ccb6f33562498461fa3c8d9b1e69a6c5071297
4
- data.tar.gz: 9bfb9b8ee8098c4e3ffca016571f2f3a78acdffd980fac8fa00298a55af14a18
3
+ metadata.gz: 9608e65a61d47b3b69c17cc60584e7fb02c7b5e8435554e17bbe92724b7ba0e5
4
+ data.tar.gz: 90e11a5f32f891a6f16e46952393d0a98cd6f6c6e64bf2531a155f8b3d1bbea4
5
5
  SHA512:
6
- metadata.gz: d0b27cd02f62e5d2eb316ebe314c957fe1afd673f8344de29a74d3845a8120367de0cd15e3d8380a539eeccd5a62936b6ee1c86387c9b3d8f7d7f45bab6c8ca1
7
- data.tar.gz: b9e8211b09915fd69eabf13e0b02d21c07fb17e4d19d9831f9dacb3a4500e737350b092758f4738a8de6b4f095cb2e23f40e06f971d5e70b3c438be50829f83d
6
+ metadata.gz: 40d0efc2a3fa351a1393b202a8694e8e0e8fcf1da6a68297afa2bff0b6a27d0aaf4901d77ddf2d3faad81ceef904e90add33751f7ba55c0adba19b67922fe809
7
+ data.tar.gz: 7312ead913587e851d8b28a172c6b21db6340f15a261e8b144119fc43974109e82faf5c402b5ab009bc035f7e1008e1069016d9f2d5911ac4d47a666f6ba8b42
data/.gitignore CHANGED
@@ -18,3 +18,5 @@ tmp
18
18
 
19
19
  .DS_Store
20
20
  /vendor/
21
+
22
+ .byebug_history
@@ -3,7 +3,7 @@ require:
3
3
  - rubocop-rspec
4
4
 
5
5
  AllCops:
6
- TargetRubyVersion: 2.3
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
 
@@ -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
 
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.15.0 / 2020-02-01
4
+
5
+ * [FEATURE] Add SimpleCov 0.18.1 compatibility
6
+ * [FEATURE] Drop Ruby 2.3 Support
7
+ * [ENHANCEMENT] Update dependencies
8
+
3
9
  ## 0.14.0 / 2019-12-15
4
10
 
5
11
  * [ENHANCEMENT] Allow Thor 1.0
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.1'
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.77.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.7'
20
+ gem 'webmock', '~> 3.8'
21
21
  end
22
22
 
23
23
  group :development, :test do
24
- gem 'byebug', '~> 11.0', platforms: %i[mri mingw x64_mingw]
24
+ gem 'byebug', '~> 11.1', platforms: %i[mri mingw x64_mingw]
25
25
  gem 'pry', '~> 0.12.2'
26
- gem 'pry-byebug', '~> 3.7', platforms: %i[mri mingw x64_mingw]
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
@@ -7,5 +7,5 @@ An up-to-date fork of [lemurheavy/coveralls-ruby](https://github.com/lemurheavy/
7
7
  Add to your `Gemfile`:
8
8
 
9
9
  ```rb
10
- gem 'coveralls_reborn', '~> 0.13.2', require: false
10
+ gem 'coveralls_reborn', '~> 0.15.0', require: false
11
11
  ```
@@ -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.3'
24
+ gem.required_ruby_version = '>= 2.4'
25
25
 
26
26
  gem.add_dependency 'json', '~> 2.1'
27
- gem.add_dependency 'simplecov', '~> 0.17.1'
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'
@@ -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.coverage.dup
47
+ properties[:coverage] = file.coverage_data['lines']
48
48
 
49
49
  # Skip nocov lines
50
50
  file.lines.each_with_index do |line, i|
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Coveralls
4
- VERSION = '0.14.0'
4
+ VERSION = '0.15.0'
5
5
  end
@@ -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.14.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: 2019-12-15 00:00:00.000000000 Z
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.17.1
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.17.1
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.3'
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.0.6
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.