coveralls_reborn 0.27.0 → 0.28.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/CHANGELOG.md +4 -0
- data/README.md +155 -4
- data/lib/coveralls/version.rb +1 -1
- metadata +3 -53
- data/.github/dependabot.yml +0 -8
- data/.github/workflows/rubocop.yml +0 -29
- data/.github/workflows/ruby.yml +0 -53
- data/.gitignore +0 -22
- data/.rspec +0 -2
- data/.rubocop.yml +0 -63
- data/Gemfile +0 -20
- data/Rakefile +0 -18
- data/coveralls-ruby.gemspec +0 -36
- data/spec/coveralls/configuration_spec.rb +0 -472
- data/spec/coveralls/coveralls_spec.rb +0 -127
- data/spec/coveralls/fixtures/app/controllers/sample.rb +0 -14
- data/spec/coveralls/fixtures/app/models/airplane.rb +0 -12
- data/spec/coveralls/fixtures/app/models/dog.rb +0 -10
- data/spec/coveralls/fixtures/app/models/house.rb +0 -10
- data/spec/coveralls/fixtures/app/models/robot.rb +0 -10
- data/spec/coveralls/fixtures/app/models/user.rb +0 -16
- data/spec/coveralls/fixtures/app/vendor/vendored_gem.rb +0 -1
- data/spec/coveralls/fixtures/sample.rb +0 -12
- data/spec/coveralls/output_spec.rb +0 -81
- data/spec/coveralls/simple_cov/formatter_spec.rb +0 -141
- data/spec/spec_helper.rb +0 -83
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75d7439f90a8c923d70f4f690b09a7501c630c6eba8edbbba76ab5ab5cec90c3
|
4
|
+
data.tar.gz: 6e2fc6ef8412e028c48e7c31bf471c5b2ff14bb85c123aa6f4a77e05db223c52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae858874883460776e458893e501a74498696ad3a58a8f1de9e059c484171bb2f4a97ec9a92810a66770ae3b6e254f1874738f5f76ec8a71ca045df4b14469a6
|
7
|
+
data.tar.gz: 189e3a525cd1c7670216edbc6a468814211c4ebab6320d065fbf520237d895b13a105864ef19f878f0d520e2fc9829b413c06ab2e6200b5f4b80c228f0d1e4d3
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,15 +1,166 @@
|
|
1
1
|
# [Coveralls Reborn](https://coveralls.io) for Ruby [](https://coveralls.io/github/tagliala/coveralls-ruby-reborn?branch=main)  [](https://badge.fury.io/rb/coveralls_reborn)
|
2
2
|
|
3
|
-
|
3
|
+
[Coveralls.io](https://coveralls.io) was designed with Ruby projects in mind, so we've made it as
|
4
|
+
easy as possible to get started using [Coveralls](https://coveralls.io) with Ruby and Rails project.
|
4
5
|
|
5
6
|
An up-to-date fork of [lemurheavy/coveralls-ruby](https://github.com/lemurheavy/coveralls-ruby)
|
6
7
|
|
7
|
-
|
8
|
+
### PREREQUISITES
|
8
9
|
|
9
|
-
|
10
|
-
|
10
|
+
- Using a supported repo host ([GitHub](https://github.com/) | [Gitlab](https://gitlab.com/) |
|
11
|
+
[Bitbucket](https://bitbucket.org/))
|
12
|
+
- Building on a supported CI service (see
|
13
|
+
[supported CI services](https://docs.coveralls.io/ci-services) here)
|
14
|
+
- Any Ruby project or test framework supported by
|
15
|
+
[SimpleCov](https://github.com/colszowka/simplecov) is supported by the
|
16
|
+
[coveralls-ruby-reborn](https://github.com/tagliala/coveralls-ruby-reborn) gem. This includes
|
17
|
+
all your favorites, like [RSpec](https://rspec.info/), Cucumber, and Test::Unit.
|
18
|
+
|
19
|
+
*Please note that [SimpleCov](https://github.com/colszowka/simplecov) only supports Ruby 1.9 and later.*
|
20
|
+
|
21
|
+
### INSTALLING THE GEM
|
22
|
+
|
23
|
+
You shouldn't need more than a quick change to get your project on Coveralls. Just include
|
24
|
+
[coveralls-ruby-reborn](https://github.com/tagliala/coveralls-ruby-reborn) in your project's
|
25
|
+
Gemfile like so:
|
26
|
+
|
27
|
+
```ruby
|
28
|
+
# ./Gemfile
|
29
|
+
|
30
|
+
gem 'coveralls_reborn', require: false
|
11
31
|
```
|
12
32
|
|
33
|
+
While [SimpleCov](https://github.com/colszowka/simplecov) only supports Ruby 1.9+, using the
|
34
|
+
Coveralls gem will not fail builds on earlier Rubies or other flavors of Ruby.
|
35
|
+
|
36
|
+
### CONFIGURATION
|
37
|
+
|
38
|
+
[coveralls-ruby-reborn](https://github.com/tagliala/coveralls-ruby-reborn) uses an optional
|
39
|
+
`.coveralls.yml` file at the root level of your repository to configure options.
|
40
|
+
|
41
|
+
The option `repo_token` (found on your repository's page on Coveralls) is used to specify which
|
42
|
+
project on Coveralls your project maps to.
|
43
|
+
|
44
|
+
Another important configuration option is `service_name`, which indicates your CI service and allows
|
45
|
+
you to specify where Coveralls should look to find additional information about your builds. This
|
46
|
+
can be any string, but using the appropriate string for your service may allow Coveralls to perform
|
47
|
+
service-specific actions like fetching branch data and commenting on pull requests.
|
48
|
+
|
49
|
+
**Example: A .coveralls.yml file configured for Travis Pro:**
|
50
|
+
|
51
|
+
```yml
|
52
|
+
service_name: travis-pro
|
53
|
+
```
|
54
|
+
|
55
|
+
**Example: Passing `repo_token` from the command line:**
|
56
|
+
|
57
|
+
```console
|
58
|
+
COVERALLS_REPO_TOKEN=asdfasdf bundle exec rspec spec
|
59
|
+
```
|
60
|
+
|
61
|
+
### TEST SUITE SETUP
|
62
|
+
|
63
|
+
After configuration, the next step is to add
|
64
|
+
[coveralls-ruby-reborn](https://github.com/tagliala/coveralls-ruby-reborn) to your test suite.
|
65
|
+
|
66
|
+
For a Ruby app:
|
67
|
+
|
68
|
+
```ruby
|
69
|
+
# ./spec/spec_helper.rb
|
70
|
+
# ./test/test_helper.rb
|
71
|
+
# ..etc..
|
72
|
+
|
73
|
+
require 'coveralls_reborn'
|
74
|
+
Coveralls.wear!
|
75
|
+
```
|
76
|
+
|
77
|
+
For a Rails app:
|
78
|
+
|
79
|
+
```ruby
|
80
|
+
require 'coveralls_reborn'
|
81
|
+
Coveralls.wear!('rails')
|
82
|
+
```
|
83
|
+
|
84
|
+
**Note:** The `Coveralls.wear!` must occur before any of your application code is required, so it
|
85
|
+
should be at the **very top** of your `spec_helper.rb`, `test_helper.rb`, or `env.rb`, etc.
|
86
|
+
|
87
|
+
And holy moly, you're done!
|
88
|
+
|
89
|
+
Next time your project is built on CI, [SimpleCov](https://github.com/colszowka/simplecov) will dial
|
90
|
+
up [Coveralls.io](https://coveralls.io) and send the hot details on your code coverage.
|
91
|
+
|
92
|
+
### SIMPLECOV CUSTOMIZATION
|
93
|
+
|
94
|
+
*"But wait!"* you're saying, *"I already use SimpleCov, and I have some custom settings! Are you
|
95
|
+
really just overriding everything I've already set up?"*
|
96
|
+
|
97
|
+
Good news, just use this gem's [SimpleCov](https://github.com/colszowka/simplecov) formatter
|
98
|
+
directly:
|
99
|
+
|
100
|
+
```ruby
|
101
|
+
require 'simplecov'
|
102
|
+
require 'coveralls_reborn'
|
103
|
+
|
104
|
+
SimpleCov.formatter = Coveralls::SimpleCov::Formatter
|
105
|
+
SimpleCov.start do
|
106
|
+
add_filter 'app/secrets'
|
107
|
+
end
|
108
|
+
```
|
109
|
+
|
110
|
+
Or alongside another formatter, like so:
|
111
|
+
|
112
|
+
```ruby
|
113
|
+
require 'simplecov'
|
114
|
+
require 'coveralls_reborn'
|
115
|
+
|
116
|
+
SimpleCov.formatters = [
|
117
|
+
SimpleCov::Formatter::HTMLFormatter,
|
118
|
+
Coveralls::SimpleCov::Formatter
|
119
|
+
]
|
120
|
+
SimpleCov.start
|
121
|
+
```
|
122
|
+
|
123
|
+
### MERGING MULTIPLE TEST SUITES
|
124
|
+
|
125
|
+
If you're using more than one test suite and want the coverage results to be merged, use
|
126
|
+
`Coveralls.wear_merged!` instead of `Coveralls.wear!`.
|
127
|
+
|
128
|
+
Or, if you're using Coveralls alongside another [SimpleCov](https://github.com/colszowka/simplecov)
|
129
|
+
formatter, simply omit the Coveralls formatter, then add the rake task `coveralls:push` to your
|
130
|
+
`Rakefile` as a dependency to your testing task, like so:
|
131
|
+
|
132
|
+
```ruby
|
133
|
+
require 'coveralls_reborn/rake/task'
|
134
|
+
Coveralls::RakeTask.new
|
135
|
+
task :test_with_coveralls => [:spec, :features, 'coveralls:push']
|
136
|
+
```
|
137
|
+
|
138
|
+
This will prevent Coveralls from sending coverage data after each individual suite, instead waiting
|
139
|
+
until [SimpleCov](https://github.com/colszowka/simplecov) has merged the results, which are then
|
140
|
+
posted to [Coveralls.io](https://coveralls.io).
|
141
|
+
|
142
|
+
Unless you've added `coveralls:push` to your default rake task, your build command will need to be
|
143
|
+
updated on your CI to reflect this, for example:
|
144
|
+
|
145
|
+
```console
|
146
|
+
bundle exec rake :test_with_coveralls
|
147
|
+
```
|
148
|
+
|
149
|
+
*Read more about [SimpleCov's result merging](https://github.com/colszowka/simplecov#merging-results).*
|
150
|
+
|
151
|
+
### MANUAL BUILDS VIA CLI
|
152
|
+
|
153
|
+
[coveralls-ruby-reborn](https://github.com/tagliala/coveralls-ruby-reborn) also allows you to
|
154
|
+
upload coverage data manually by running your test suite locally.
|
155
|
+
|
156
|
+
To do this with [RSpec](https://rspec.info/), just type `bundle exec coveralls push` in your project
|
157
|
+
directory.
|
158
|
+
|
159
|
+
This will run [RSpec](https://rspec.info/) and upload the coverage data to
|
160
|
+
[Coveralls.io](https://coveralls.io) as a one-off build, passing along any configuration options
|
161
|
+
specified in `.coveralls.yml`.
|
162
|
+
|
163
|
+
|
13
164
|
### GitHub Actions
|
14
165
|
|
15
166
|
Psst... you don't need this gem on GitHub Actions.
|
data/lib/coveralls/version.rb
CHANGED
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.28.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: 2023-
|
13
|
+
date: 2023-07-22 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: simplecov
|
@@ -68,34 +68,6 @@ dependencies:
|
|
68
68
|
- - "~>"
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '1.32'
|
71
|
-
- !ruby/object:Gem::Dependency
|
72
|
-
name: bundler
|
73
|
-
requirement: !ruby/object:Gem::Requirement
|
74
|
-
requirements:
|
75
|
-
- - "~>"
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '2.0'
|
78
|
-
type: :development
|
79
|
-
prerelease: false
|
80
|
-
version_requirements: !ruby/object:Gem::Requirement
|
81
|
-
requirements:
|
82
|
-
- - "~>"
|
83
|
-
- !ruby/object:Gem::Version
|
84
|
-
version: '2.0'
|
85
|
-
- !ruby/object:Gem::Dependency
|
86
|
-
name: simplecov-lcov
|
87
|
-
requirement: !ruby/object:Gem::Requirement
|
88
|
-
requirements:
|
89
|
-
- - "~>"
|
90
|
-
- !ruby/object:Gem::Version
|
91
|
-
version: 0.8.0
|
92
|
-
type: :development
|
93
|
-
prerelease: false
|
94
|
-
version_requirements: !ruby/object:Gem::Requirement
|
95
|
-
requirements:
|
96
|
-
- - "~>"
|
97
|
-
- !ruby/object:Gem::Version
|
98
|
-
version: 0.8.0
|
99
71
|
description: A Ruby implementation of the Coveralls API.
|
100
72
|
email:
|
101
73
|
- nick@lemurheavy.com
|
@@ -106,19 +78,10 @@ executables:
|
|
106
78
|
extensions: []
|
107
79
|
extra_rdoc_files: []
|
108
80
|
files:
|
109
|
-
- ".github/dependabot.yml"
|
110
|
-
- ".github/workflows/rubocop.yml"
|
111
|
-
- ".github/workflows/ruby.yml"
|
112
|
-
- ".gitignore"
|
113
|
-
- ".rspec"
|
114
|
-
- ".rubocop.yml"
|
115
81
|
- CHANGELOG.md
|
116
|
-
- Gemfile
|
117
82
|
- LICENSE
|
118
83
|
- README.md
|
119
|
-
- Rakefile
|
120
84
|
- bin/coveralls
|
121
|
-
- coveralls-ruby.gemspec
|
122
85
|
- lib/coveralls.rb
|
123
86
|
- lib/coveralls/api.rb
|
124
87
|
- lib/coveralls/command.rb
|
@@ -127,19 +90,6 @@ files:
|
|
127
90
|
- lib/coveralls/rake/task.rb
|
128
91
|
- lib/coveralls/simplecov.rb
|
129
92
|
- lib/coveralls/version.rb
|
130
|
-
- spec/coveralls/configuration_spec.rb
|
131
|
-
- spec/coveralls/coveralls_spec.rb
|
132
|
-
- spec/coveralls/fixtures/app/controllers/sample.rb
|
133
|
-
- spec/coveralls/fixtures/app/models/airplane.rb
|
134
|
-
- spec/coveralls/fixtures/app/models/dog.rb
|
135
|
-
- spec/coveralls/fixtures/app/models/house.rb
|
136
|
-
- spec/coveralls/fixtures/app/models/robot.rb
|
137
|
-
- spec/coveralls/fixtures/app/models/user.rb
|
138
|
-
- spec/coveralls/fixtures/app/vendor/vendored_gem.rb
|
139
|
-
- spec/coveralls/fixtures/sample.rb
|
140
|
-
- spec/coveralls/output_spec.rb
|
141
|
-
- spec/coveralls/simple_cov/formatter_spec.rb
|
142
|
-
- spec/spec_helper.rb
|
143
93
|
homepage: https://coveralls.io
|
144
94
|
licenses:
|
145
95
|
- MIT
|
@@ -163,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
163
113
|
- !ruby/object:Gem::Version
|
164
114
|
version: '0'
|
165
115
|
requirements: []
|
166
|
-
rubygems_version: 3.4.
|
116
|
+
rubygems_version: 3.4.1
|
167
117
|
signing_key:
|
168
118
|
specification_version: 4
|
169
119
|
summary: A Ruby implementation of the Coveralls API.
|
data/.github/dependabot.yml
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
name: Rubocop
|
2
|
-
|
3
|
-
on:
|
4
|
-
push:
|
5
|
-
branches: [ main ]
|
6
|
-
pull_request:
|
7
|
-
branches: [ main ]
|
8
|
-
|
9
|
-
jobs:
|
10
|
-
rubocop:
|
11
|
-
name: Rubocop
|
12
|
-
runs-on: ${{ matrix.os }}
|
13
|
-
env:
|
14
|
-
BUNDLE_JOBS: 4
|
15
|
-
BUNDLE_RETRY: 3
|
16
|
-
strategy:
|
17
|
-
matrix:
|
18
|
-
os: [ubuntu-latest]
|
19
|
-
ruby-version: ['3.2']
|
20
|
-
|
21
|
-
steps:
|
22
|
-
- uses: actions/checkout@v3
|
23
|
-
- name: Set up Ruby
|
24
|
-
uses: ruby/setup-ruby@v1
|
25
|
-
with:
|
26
|
-
ruby-version: ${{ matrix.ruby-version }}
|
27
|
-
bundler-cache: true
|
28
|
-
- name: Ruby linter
|
29
|
-
run: bundle exec rubocop
|
data/.github/workflows/ruby.yml
DELETED
@@ -1,53 +0,0 @@
|
|
1
|
-
name: Ruby specs
|
2
|
-
|
3
|
-
on:
|
4
|
-
push:
|
5
|
-
branches: [ main ]
|
6
|
-
pull_request:
|
7
|
-
branches: [ main ]
|
8
|
-
|
9
|
-
jobs:
|
10
|
-
test:
|
11
|
-
name: Tests
|
12
|
-
runs-on: ubuntu-latest
|
13
|
-
strategy:
|
14
|
-
matrix:
|
15
|
-
ruby-version: ['2.6', '2.7', '3.0', '3.1', '3.2']
|
16
|
-
experimental: [false]
|
17
|
-
|
18
|
-
include:
|
19
|
-
- ruby-version: 'head'
|
20
|
-
experimental: true
|
21
|
-
- ruby-version: 'jruby-9.3'
|
22
|
-
experimental: true
|
23
|
-
- ruby-version: 'jruby-9.4'
|
24
|
-
experimental: true
|
25
|
-
|
26
|
-
continue-on-error: ${{ matrix.experimental }}
|
27
|
-
|
28
|
-
steps:
|
29
|
-
- uses: actions/checkout@v3
|
30
|
-
- name: Set up Ruby
|
31
|
-
uses: ruby/setup-ruby@v1
|
32
|
-
with:
|
33
|
-
ruby-version: ${{ matrix.ruby-version }}
|
34
|
-
bundler-cache: true
|
35
|
-
- name: Run specs
|
36
|
-
run: JRUBY_OPTS="--dev --debug" bundle exec rake spec
|
37
|
-
- name: Coveralls Parallel
|
38
|
-
uses: coverallsapp/github-action@master
|
39
|
-
with:
|
40
|
-
github-token: ${{ secrets.github_token }}
|
41
|
-
flag-name: run-${{ matrix.ruby-version }}
|
42
|
-
parallel: true
|
43
|
-
|
44
|
-
coverage:
|
45
|
-
name: Coverage
|
46
|
-
needs: test
|
47
|
-
runs-on: ubuntu-latest
|
48
|
-
steps:
|
49
|
-
- name: Coveralls Finished
|
50
|
-
uses: coverallsapp/github-action@master
|
51
|
-
with:
|
52
|
-
github-token: ${{ secrets.github_token }}
|
53
|
-
parallel-finished: true
|
data/.gitignore
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
*.gem
|
2
|
-
*.rbc
|
3
|
-
.bundle
|
4
|
-
.config
|
5
|
-
.yardoc
|
6
|
-
Gemfile.lock
|
7
|
-
InstalledFiles
|
8
|
-
_yardoc
|
9
|
-
coverage
|
10
|
-
doc/
|
11
|
-
lib/bundler/man
|
12
|
-
pkg
|
13
|
-
rdoc
|
14
|
-
spec/reports
|
15
|
-
test/tmp
|
16
|
-
test/version_tmp
|
17
|
-
tmp
|
18
|
-
|
19
|
-
.DS_Store
|
20
|
-
/vendor/
|
21
|
-
|
22
|
-
.byebug_history
|
data/.rspec
DELETED
data/.rubocop.yml
DELETED
@@ -1,63 +0,0 @@
|
|
1
|
-
require:
|
2
|
-
- rubocop-performance
|
3
|
-
- rubocop-rake
|
4
|
-
- rubocop-rspec
|
5
|
-
|
6
|
-
AllCops:
|
7
|
-
NewCops: enable
|
8
|
-
Exclude:
|
9
|
-
- 'spec/coveralls/fixtures/**/*'
|
10
|
-
- 'vendor/bundle/**/*'
|
11
|
-
|
12
|
-
Layout/HashAlignment:
|
13
|
-
EnforcedColonStyle: table
|
14
|
-
EnforcedHashRocketStyle: table
|
15
|
-
|
16
|
-
Layout/LineLength:
|
17
|
-
Enabled: false
|
18
|
-
|
19
|
-
Metrics/AbcSize:
|
20
|
-
Max: 26.31
|
21
|
-
Exclude:
|
22
|
-
- 'lib/coveralls/configuration.rb'
|
23
|
-
|
24
|
-
Metrics/CyclomaticComplexity:
|
25
|
-
Exclude:
|
26
|
-
- 'lib/coveralls/configuration.rb'
|
27
|
-
|
28
|
-
Metrics/PerceivedComplexity:
|
29
|
-
Exclude:
|
30
|
-
- 'lib/coveralls/configuration.rb'
|
31
|
-
|
32
|
-
Metrics/BlockLength:
|
33
|
-
Exclude:
|
34
|
-
- 'spec/**/*'
|
35
|
-
|
36
|
-
Metrics/MethodLength:
|
37
|
-
Enabled: false
|
38
|
-
|
39
|
-
Metrics/ModuleLength:
|
40
|
-
Exclude:
|
41
|
-
- 'lib/coveralls/configuration.rb'
|
42
|
-
- 'spec/**/*'
|
43
|
-
|
44
|
-
RSpec/ExampleLength:
|
45
|
-
Max: 15
|
46
|
-
|
47
|
-
RSpec/MultipleExpectations:
|
48
|
-
Enabled: false
|
49
|
-
|
50
|
-
RSpec/MultipleMemoizedHelpers:
|
51
|
-
Enabled: false
|
52
|
-
|
53
|
-
RSpec/NestedGroups:
|
54
|
-
Max: 4
|
55
|
-
|
56
|
-
Style/Documentation:
|
57
|
-
Enabled: false
|
58
|
-
|
59
|
-
Style/FetchEnvVar:
|
60
|
-
Enabled: false
|
61
|
-
|
62
|
-
Style/IfUnlessModifier:
|
63
|
-
Enabled: false
|
data/Gemfile
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
source 'https://rubygems.org'
|
4
|
-
|
5
|
-
# Specify your gem's dependencies in coveralls-ruby.gemspec
|
6
|
-
gemspec
|
7
|
-
|
8
|
-
platforms :jruby do
|
9
|
-
gem 'jruby-openssl', '~> 0.14.0'
|
10
|
-
end
|
11
|
-
|
12
|
-
gem 'rake', '~> 13.0'
|
13
|
-
gem 'rspec', '~> 3.12'
|
14
|
-
gem 'rubocop', '~> 1.45'
|
15
|
-
gem 'rubocop-performance', '~> 1.16'
|
16
|
-
gem 'rubocop-rake', '~> 0.6.0'
|
17
|
-
gem 'rubocop-rspec', '~> 2.18'
|
18
|
-
gem 'truthy', '~> 1.0'
|
19
|
-
gem 'vcr', '~> 6.1'
|
20
|
-
gem 'webmock', '~> 3.18'
|
data/Rakefile
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'bundler/gem_tasks'
|
4
|
-
|
5
|
-
require 'rubygems'
|
6
|
-
require 'rake'
|
7
|
-
require 'rspec/core/rake_task'
|
8
|
-
|
9
|
-
require 'rubocop/rake_task'
|
10
|
-
|
11
|
-
RuboCop::RakeTask.new
|
12
|
-
|
13
|
-
desc 'Run RSpec'
|
14
|
-
RSpec::Core::RakeTask.new do |t|
|
15
|
-
t.verbose = false
|
16
|
-
end
|
17
|
-
|
18
|
-
task default: %i[rubocop spec]
|
data/coveralls-ruby.gemspec
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
lib = File.expand_path('lib', __dir__)
|
4
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
-
require 'coveralls/version'
|
6
|
-
|
7
|
-
Gem::Specification.new do |gem|
|
8
|
-
gem.authors = ['Nick Merwin', 'Wil Gieseler', 'Geremia Taglialatela']
|
9
|
-
gem.email = ['nick@lemurheavy.com', 'supapuerco@gmail.com', 'tagliala.dev@gmail.com']
|
10
|
-
gem.description = 'A Ruby implementation of the Coveralls API.'
|
11
|
-
gem.summary = 'A Ruby implementation of the Coveralls API.'
|
12
|
-
gem.homepage = 'https://coveralls.io'
|
13
|
-
gem.license = 'MIT'
|
14
|
-
|
15
|
-
gem.files = `git ls-files`.split($OUTPUT_RECORD_SEPARATOR)
|
16
|
-
gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
|
17
|
-
gem.name = 'coveralls_reborn'
|
18
|
-
gem.require_paths = ['lib']
|
19
|
-
gem.version = Coveralls::VERSION
|
20
|
-
|
21
|
-
gem.metadata['rubygems_mfa_required'] = 'true'
|
22
|
-
|
23
|
-
gem.metadata['bug_tracker_uri'] = 'https://github.com/tagliala/coveralls-ruby-reborn/issues'
|
24
|
-
gem.metadata['changelog_uri'] = 'https://github.com/tagliala/coveralls-ruby-reborn/blob/main/CHANGELOG.md'
|
25
|
-
gem.metadata['source_code_uri'] = 'https://github.com/tagliala/coveralls-ruby-reborn'
|
26
|
-
|
27
|
-
gem.required_ruby_version = '>= 2.6'
|
28
|
-
|
29
|
-
gem.add_dependency 'simplecov', '~> 0.22.0'
|
30
|
-
gem.add_dependency 'term-ansicolor', '~> 1.7'
|
31
|
-
gem.add_dependency 'thor', '~> 1.2'
|
32
|
-
gem.add_dependency 'tins', '~> 1.32'
|
33
|
-
|
34
|
-
gem.add_development_dependency 'bundler', '~> 2.0'
|
35
|
-
gem.add_development_dependency 'simplecov-lcov', '~> 0.8.0'
|
36
|
-
end
|