coveralls_reborn 0.27.0 → 0.29.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 04c9754eac3145b40b91fb2fb3dad2c211543360c4b8de17b0c1d0fdf7d94959
4
- data.tar.gz: 0fcf13baf4cb78142413a8635fde339b2983c17325f204f3ac7c9c70d8a833b3
3
+ metadata.gz: 2224b9be14eb033f754844489d5766a3eb82665d19fd419452e884407299ddfd
4
+ data.tar.gz: b24400478b5a2b006f5b5f10141059b7a31cab8d1980563b7ea57b002e527076
5
5
  SHA512:
6
- metadata.gz: 821ea060f88505b7d27aaa80567d7fdb67322d22aa03e456bb2fe9555e371e0e304a2eb8564783e55794a40e8efa75a41af9d1990519e8ad5e40247b9e99f3b7
7
- data.tar.gz: a9ca84cf0a99ee87681f7be22b4f1be7df4018835408ad0acc40be4f9a96381cb9bf220aaa4c7c807e8009085ee99c9e6b46791e919e8f3c49ff7d2c5a36087e
6
+ metadata.gz: e5a880d882a2510aefc3cd0f9b12089dafef1bf7b0192f23ea306aab6b38f4fb52c4ef4d4cf5cd391be48ebd83c207b24f5ba2e419d30028e6f9693bb1990bb9
7
+ data.tar.gz: a9392a1858c7930e9f8bfe7df89a0188931f0ce3bd5645b6d50b474db77401bcad9ad6a3f5019a62c82dd78e64cc0d625b1cd3aaa092d8e51b8757c6e4c6995e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.29.0 / 2025-06-15
4
+
5
+ * [ENHANCEMENT] Prefer `require_relative` for internal requires [#51](https://github.com/tagliala/coveralls-ruby-reborn/pull/51)
6
+ * [ENHANCEMENT] Remove `truthy` dependency as obsolete and unsupported [#50](https://github.com/tagliala/coveralls-ruby-reborn/pull/50)
7
+ * [ENHANCEMENT] Test against Ruby 3.4
8
+
9
+ ## 0.28.0 / 2023-07-22
10
+
11
+ * [ENHANCEMENT] Reduce gem size
12
+
3
13
  ## 0.27.0 / 2023-02-14
4
14
 
5
15
  * [FEATURE] Add Buildkite CI support [#43](https://github.com/tagliala/coveralls-ruby-reborn/pull/43)
@@ -90,7 +100,7 @@
90
100
  ## 0.13.3 / 2019-10-13
91
101
 
92
102
  * [FIX] Do not rescue from LoadError with required gems
93
- * [FIX] Fix multipart content-type delimeter [lemurheavy/coveralls-ruby#154](https://github.com/lemurheavy/coveralls-ruby/pull/154)
103
+ * [FIX] Fix multipart content-type delimiter [lemurheavy/coveralls-ruby#154](https://github.com/lemurheavy/coveralls-ruby/pull/154)
94
104
  * [ENHANCEMENT] Test against latest JRuby version
95
105
  * [ENHANCEMENT] Update dependencies
96
106
 
data/README.md CHANGED
@@ -1,15 +1,166 @@
1
- # [Coveralls Reborn](https://coveralls.io) for Ruby [![Coverage Status](https://coveralls.io/repos/github/tagliala/coveralls-ruby-reborn/badge.svg?branch=main)](https://coveralls.io/github/tagliala/coveralls-ruby-reborn?branch=main) ![Build Status](https://github.com/tagliala/coveralls-ruby-reborn/actions/workflows/ruby.yml/badge.svg) [![Gem Version](https://badge.fury.io/rb/coveralls_reborn.svg)](https://badge.fury.io/rb/coveralls_reborn)
1
+ # [Coveralls Reborn](https://coveralls.io) for Ruby
2
2
 
3
- ### [Read the docs →](https://docs.coveralls.io/ruby-and-rails)
3
+ [![Gem Version](https://badge.fury.io/rb/coveralls_reborn.svg)](https://badge.fury.io/rb/coveralls_reborn)
4
+ [![Build Status](https://github.com/tagliala/coveralls-ruby-reborn/actions/workflows/ruby.yml/badge.svg)](https://github.com/tagliala/coveralls-ruby-reborn/actions/workflows/ruby.yml)
5
+ [![Rubocop](https://github.com/tagliala/coveralls-ruby-reborn/actions/workflows/rubocop.yml/badge.svg)](https://github.com/tagliala/coveralls-ruby-reborn/actions/workflows/rubocop.yml)
6
+ [![Coverage Status](https://coveralls.io/repos/github/tagliala/coveralls-ruby-reborn/badge.svg?branch=main)](https://coveralls.io/github/tagliala/coveralls-ruby-reborn?branch=main)
7
+
8
+ [Coveralls.io](https://coveralls.io) was designed with Ruby projects in mind, so we've made it as
9
+ easy as possible to get started using [Coveralls](https://coveralls.io) with Ruby and Rails project.
4
10
 
5
11
  An up-to-date fork of [lemurheavy/coveralls-ruby](https://github.com/lemurheavy/coveralls-ruby)
6
12
 
7
- Add to your `Gemfile`:
13
+ ### PREREQUISITES
8
14
 
9
- ```rb
10
- gem 'coveralls_reborn', '~> 0.27.0', require: false
15
+ - Using a supported repo host ([GitHub](https://github.com/) | [Gitlab](https://gitlab.com/) |
16
+ [Bitbucket](https://bitbucket.org/))
17
+ - Building on a supported CI service (see
18
+ [supported CI services](https://docs.coveralls.io/ci-services) here)
19
+ - Any Ruby project or test framework supported by
20
+ [SimpleCov](https://github.com/colszowka/simplecov) is supported by the
21
+ [coveralls-ruby-reborn](https://github.com/tagliala/coveralls-ruby-reborn) gem. This includes
22
+ all your favorites, like [RSpec](https://rspec.info/), Cucumber, and Test::Unit.
23
+
24
+ ### INSTALLING THE GEM
25
+
26
+ You shouldn't need more than a quick change to get your project on Coveralls. Just include
27
+ [coveralls-ruby-reborn](https://github.com/tagliala/coveralls-ruby-reborn) in your project's
28
+ Gemfile like so:
29
+
30
+ ```ruby
31
+ # ./Gemfile
32
+
33
+ gem 'coveralls_reborn', require: false
34
+ ```
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'
74
+ Coveralls.wear!
75
+ ```
76
+
77
+ For a Rails app:
78
+
79
+ ```ruby
80
+ require 'coveralls'
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'
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'
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/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
11
147
  ```
12
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/api.rb CHANGED
@@ -41,9 +41,9 @@ module Coveralls
41
41
 
42
42
  case response
43
43
  when Net::HTTPServiceUnavailable
44
- Coveralls::Output.puts('[Coveralls] API timeout occured, but data should still be processed', color: 'red')
44
+ Coveralls::Output.puts('[Coveralls] API timeout occurred, but data should still be processed', color: 'red')
45
45
  when Net::HTTPInternalServerError
46
- Coveralls::Output.puts("[Coveralls] API internal error occured, we're on it!", color: 'red')
46
+ Coveralls::Output.puts("[Coveralls] API internal error occurred, we're on it!", color: 'red')
47
47
  end
48
48
  end
49
49
 
@@ -6,7 +6,7 @@ module Coveralls
6
6
  class CommandLine < Thor
7
7
  desc 'push', 'Runs your test suite and pushes the coverage results to Coveralls.'
8
8
  def push
9
- return unless ensure_can_run_locally!
9
+ return unless can_run_locally?
10
10
 
11
11
  ENV['COVERALLS_RUN_LOCALLY'] = 'true'
12
12
  cmds = ['bundle exec rake']
@@ -68,7 +68,7 @@ module Coveralls
68
68
  end
69
69
  end
70
70
 
71
- def ensure_can_run_locally!
71
+ def can_run_locally?
72
72
  if config[:repo_token].nil?
73
73
  Coveralls::Output.puts 'Coveralls cannot run locally because no repo_secret_token is set in .coveralls.yml', color: 'red'
74
74
  Coveralls::Output.puts 'Please try again when you get your act together.', color: 'red'
@@ -5,7 +5,7 @@ require 'pathname'
5
5
  module Coveralls
6
6
  module SimpleCov
7
7
  class Formatter
8
- def display_result(result)
8
+ def display_result(result) # rubocop:disable Naming/PredicateMethod
9
9
  # Log which files would be submitted.
10
10
  if result.files.empty?
11
11
  Coveralls::Output.puts '[Coveralls] There are no covered files.', color: 'yellow'
@@ -91,7 +91,7 @@ module Coveralls
91
91
  display_error e
92
92
  end
93
93
 
94
- def display_error(error)
94
+ def display_error(error) # rubocop:disable Naming/PredicateMethod
95
95
  Coveralls::Output.puts 'Coveralls encountered an exception:', color: 'red'
96
96
  Coveralls::Output.puts error.class.to_s, color: 'red'
97
97
  Coveralls::Output.puts error.message, color: 'red'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Coveralls
4
- VERSION = '0.27.0'
4
+ VERSION = '0.29.0'
5
5
  end
data/lib/coveralls.rb CHANGED
@@ -1,10 +1,10 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'coveralls/version'
4
- require 'coveralls/configuration'
5
- require 'coveralls/api'
6
- require 'coveralls/output'
7
- require 'coveralls/simplecov'
3
+ require_relative 'coveralls/version'
4
+ require_relative 'coveralls/configuration'
5
+ require_relative 'coveralls/api'
6
+ require_relative 'coveralls/output'
7
+ require_relative 'coveralls/simplecov'
8
8
 
9
9
  module Coveralls
10
10
  class << self
metadata CHANGED
@@ -1,16 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coveralls_reborn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.0
4
+ version: 0.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Merwin
8
8
  - Wil Gieseler
9
9
  - Geremia Taglialatela
10
- autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2023-02-14 00:00:00.000000000 Z
12
+ date: 1980-01-02 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: simplecov
@@ -68,34 +67,6 @@ dependencies:
68
67
  - - "~>"
69
68
  - !ruby/object:Gem::Version
70
69
  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
70
  description: A Ruby implementation of the Coveralls API.
100
71
  email:
101
72
  - nick@lemurheavy.com
@@ -106,19 +77,10 @@ executables:
106
77
  extensions: []
107
78
  extra_rdoc_files: []
108
79
  files:
109
- - ".github/dependabot.yml"
110
- - ".github/workflows/rubocop.yml"
111
- - ".github/workflows/ruby.yml"
112
- - ".gitignore"
113
- - ".rspec"
114
- - ".rubocop.yml"
115
80
  - CHANGELOG.md
116
- - Gemfile
117
81
  - LICENSE
118
82
  - README.md
119
- - Rakefile
120
83
  - bin/coveralls
121
- - coveralls-ruby.gemspec
122
84
  - lib/coveralls.rb
123
85
  - lib/coveralls/api.rb
124
86
  - lib/coveralls/command.rb
@@ -127,19 +89,6 @@ files:
127
89
  - lib/coveralls/rake/task.rb
128
90
  - lib/coveralls/simplecov.rb
129
91
  - 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
92
  homepage: https://coveralls.io
144
93
  licenses:
145
94
  - MIT
@@ -148,7 +97,6 @@ metadata:
148
97
  bug_tracker_uri: https://github.com/tagliala/coveralls-ruby-reborn/issues
149
98
  changelog_uri: https://github.com/tagliala/coveralls-ruby-reborn/blob/main/CHANGELOG.md
150
99
  source_code_uri: https://github.com/tagliala/coveralls-ruby-reborn
151
- post_install_message:
152
100
  rdoc_options: []
153
101
  require_paths:
154
102
  - lib
@@ -163,8 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
163
111
  - !ruby/object:Gem::Version
164
112
  version: '0'
165
113
  requirements: []
166
- rubygems_version: 3.4.6
167
- signing_key:
114
+ rubygems_version: 3.6.9
168
115
  specification_version: 4
169
116
  summary: A Ruby implementation of the Coveralls API.
170
117
  test_files: []
@@ -1,8 +0,0 @@
1
- version: 2
2
- updates:
3
- - package-ecosystem: bundler
4
- directory: "/"
5
- schedule:
6
- interval: daily
7
- time: "04:00"
8
- open-pull-requests-limit: 10
@@ -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
@@ -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
@@ -1,2 +0,0 @@
1
- --color
2
- --warn
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]
@@ -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