coveralls_reborn 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.ruby-version +1 -1
- data/.travis.yml +4 -3
- data/Gemfile +5 -6
- data/LICENSE +1 -1
- data/README.md +2 -2
- data/coveralls-ruby.gemspec +4 -4
- data/lib/coveralls/configuration.rb +1 -1
- data/lib/coveralls/simplecov.rb +7 -7
- data/lib/coveralls/version.rb +1 -1
- data/spec/coveralls/configuration_spec.rb +2 -2
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7ec7603e210dd1e42868afd59ba0dd4b516bdb09c10727a5caaef55a4f5d831c
|
4
|
+
data.tar.gz: 24dcf68b0314ee1f84bbe127a3be68e30c7ce824953143679147adeda364ef82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7d00c4c3903af444cead46892bbe8cdb0ebfc38e2f1de5048e6cf461d68b5fc58c361ae0c1fc604a04091acc4aa16590dde865b1663f799ad327556df5c4536
|
7
|
+
data.tar.gz: 8883fdaf96a41edbb40a0c4e2b4a6bdb3169dadd53bd5ce4e99d283b11b8a12cad442792fc5618e2334aaa3a6daebbcbc1251384622bf57c05f50e820e537660
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.5.0
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
@@ -15,14 +15,13 @@ platforms :rbx do
|
|
15
15
|
end
|
16
16
|
|
17
17
|
group :development do
|
18
|
-
gem 'rake', '~> 12.
|
18
|
+
gem 'rake', '~> 12.3'
|
19
19
|
gem 'rspec', '~> 3.7'
|
20
|
-
gem 'rubocop', '~> 0.
|
21
|
-
gem 'rubocop-rspec', '~> 1.
|
22
|
-
gem 'simplecov', '~> 0.15.1', require: false
|
20
|
+
gem 'rubocop', '~> 0.53.0'
|
21
|
+
gem 'rubocop-rspec', '~> 1.24'
|
23
22
|
gem 'truthy', '~> 1.0'
|
24
|
-
gem 'vcr', '~>
|
25
|
-
gem 'webmock', '~> 3.
|
23
|
+
gem 'vcr', '~> 4.0'
|
24
|
+
gem 'webmock', '~> 3.3'
|
26
25
|
end
|
27
26
|
|
28
27
|
group :test do
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# [Coveralls Reborn](http://coveralls.io) for Ruby [![
|
1
|
+
# [Coveralls Reborn](http://coveralls.io) for Ruby [![Coverage Status](https://coveralls.io/repos/github/tagliala/coveralls-ruby-reborn/badge.svg?branch=master)](https://coveralls.io/github/tagliala/coveralls-ruby-reborn?branch=master) [![Build Status](https://secure.travis-ci.org/tagliala/coveralls-ruby-reborn.svg?branch=master)](https://travis-ci.org/tagliala/coveralls-ruby-reborn) [![Gem Version](https://badge.fury.io/rb/coveralls_reborn.svg)](http://badge.fury.io/rb/coveralls_reborn) [![Dependency Status](https://gemnasium.com/badges/github.com/tagliala/coveralls-ruby-reborn.svg)](https://gemnasium.com/github.com/tagliala/coveralls-ruby-reborn)
|
2
2
|
|
3
3
|
### [Read the docs →](https://coveralls.zendesk.com/hc/en-us/articles/201769485-Ruby-Rails)
|
4
4
|
|
@@ -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.
|
10
|
+
gem 'coveralls_reborn', '~> 0.11.0', require: false
|
11
11
|
```
|
data/coveralls-ruby.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
lib = File.expand_path('
|
3
|
+
lib = File.expand_path('lib', __dir__)
|
4
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
5
|
require 'coveralls/version'
|
6
6
|
|
@@ -22,10 +22,10 @@ Gem::Specification.new do |gem|
|
|
22
22
|
gem.required_ruby_version = '>= 2.1'
|
23
23
|
|
24
24
|
gem.add_dependency 'json', '~> 2.1'
|
25
|
-
gem.add_dependency 'simplecov', '~> 0.
|
26
|
-
gem.add_dependency 'term-ansicolor', '~> 1.
|
25
|
+
gem.add_dependency 'simplecov', '~> 0.16.0'
|
26
|
+
gem.add_dependency 'term-ansicolor', '~> 1.6'
|
27
27
|
gem.add_dependency 'thor', '~> 0.20.0'
|
28
|
-
gem.add_dependency 'tins', '~> 1.
|
28
|
+
gem.add_dependency 'tins', '~> 1.16'
|
29
29
|
|
30
30
|
gem.add_development_dependency 'bundler', '~> 1.16'
|
31
31
|
end
|
@@ -83,7 +83,7 @@ module Coveralls
|
|
83
83
|
config[:service_branch] = ENV['APPVEYOR_REPO_BRANCH']
|
84
84
|
config[:commit_sha] = ENV['APPVEYOR_REPO_COMMIT']
|
85
85
|
repo_name = ENV['APPVEYOR_REPO_NAME']
|
86
|
-
config[:service_build_url] = format('https://ci.appveyor.com/project
|
86
|
+
config[:service_build_url] = format('https://ci.appveyor.com/project/%<repo_name>s/build/%<service_number>s', repo_name: repo_name, service_number: config[:service_number])
|
87
87
|
end
|
88
88
|
|
89
89
|
def self.set_service_params_for_tddium(config)
|
data/lib/coveralls/simplecov.rb
CHANGED
@@ -71,17 +71,17 @@ module Coveralls
|
|
71
71
|
display_error e
|
72
72
|
end
|
73
73
|
|
74
|
-
def display_error(
|
74
|
+
def display_error(error)
|
75
75
|
Coveralls::Output.puts 'Coveralls encountered an exception:', color: 'red'
|
76
|
-
Coveralls::Output.puts
|
77
|
-
Coveralls::Output.puts
|
78
|
-
if
|
79
|
-
|
76
|
+
Coveralls::Output.puts error.class.to_s, color: 'red'
|
77
|
+
Coveralls::Output.puts error.message, color: 'red'
|
78
|
+
if error.backtrace
|
79
|
+
error.backtrace.each do |line|
|
80
80
|
Coveralls::Output.puts line, color: 'red'
|
81
81
|
end
|
82
82
|
end
|
83
|
-
if
|
84
|
-
Coveralls::Output.puts
|
83
|
+
if error.respond_to?(:response) && error.response
|
84
|
+
Coveralls::Output.puts error.response.to_s, color: 'red'
|
85
85
|
end
|
86
86
|
false
|
87
87
|
end
|
data/lib/coveralls/version.rb
CHANGED
@@ -345,7 +345,7 @@ describe Coveralls::Configuration do
|
|
345
345
|
expect(config[:service_number]).to eq(service_number)
|
346
346
|
expect(config[:service_branch]).to eq(service_branch)
|
347
347
|
expect(config[:commit_sha]).to eq(commit_sha)
|
348
|
-
expect(config[:service_build_url]).to eq(format('https://ci.appveyor.com/project
|
348
|
+
expect(config[:service_build_url]).to eq(format('https://ci.appveyor.com/project/%<repo_name>s/build/%<service_number>s', repo_name: repo_name, service_number: service_number))
|
349
349
|
end
|
350
350
|
end
|
351
351
|
|
@@ -370,7 +370,7 @@ describe Coveralls::Configuration do
|
|
370
370
|
expect(config[:service_job_number]).to eq(service_job_number)
|
371
371
|
expect(config[:service_pull_request]).to eq(service_pull_request)
|
372
372
|
expect(config[:service_branch]).to eq(service_branch)
|
373
|
-
expect(config[:service_build_url]).to eq(format('https://ci.solanolabs.com/reports
|
373
|
+
expect(config[:service_build_url]).to eq(format('https://ci.solanolabs.com/reports/%<service_number>s', service_number: service_number))
|
374
374
|
end
|
375
375
|
end
|
376
376
|
|
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.11.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: 2018-03-15 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: json
|
@@ -32,28 +32,28 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - "~>"
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.
|
35
|
+
version: 0.16.0
|
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.16.0
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: term-ansicolor
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - "~>"
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: '1.
|
49
|
+
version: '1.6'
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - "~>"
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: '1.
|
56
|
+
version: '1.6'
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: thor
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
@@ -74,14 +74,14 @@ dependencies:
|
|
74
74
|
requirements:
|
75
75
|
- - "~>"
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: '1.
|
77
|
+
version: '1.16'
|
78
78
|
type: :runtime
|
79
79
|
prerelease: false
|
80
80
|
version_requirements: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - "~>"
|
83
83
|
- !ruby/object:Gem::Version
|
84
|
-
version: '1.
|
84
|
+
version: '1.16'
|
85
85
|
- !ruby/object:Gem::Dependency
|
86
86
|
name: bundler
|
87
87
|
requirement: !ruby/object:Gem::Requirement
|
@@ -159,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
159
159
|
version: '0'
|
160
160
|
requirements: []
|
161
161
|
rubyforge_project:
|
162
|
-
rubygems_version: 2.6
|
162
|
+
rubygems_version: 2.7.6
|
163
163
|
signing_key:
|
164
164
|
specification_version: 4
|
165
165
|
summary: A Ruby implementation of the Coveralls API.
|