Skip to content

Commit

Permalink
Merge pull request #42 from tagliala/updates
Browse files Browse the repository at this point in the history
Updates
  • Loading branch information
tagliala authored Dec 25, 2022
2 parents 74aa2db + 1e8b27a commit 46f26d1
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
ruby-version: ['3.1']
ruby-version: ['3.2']

steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['2.5', '2.6', '2.7', '3.0', '3.1']
ruby-version: ['2.6', '2.7', '3.0', '3.1', '3.2']
experimental: [false]

include:
- ruby-version: 'head'
experimental: true
- ruby-version: 'jruby-9.3'
experimental: true
- ruby-version: 'jruby-9.4'
experimental: true

continue-on-error: ${{ matrix.experimental }}

Expand Down
1 change: 0 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ require:

AllCops:
NewCops: enable
TargetRubyVersion: 2.5
Exclude:
- 'spec/coveralls/fixtures/**/*'
- 'vendor/bundle/**/*'
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.26.0 / 2022-12-25

* [FEATURE] Drop Ruby 2.5 support
* [FEATURE] Add SimpleCov 0.22.0 compatibility
* [ENHANCEMENT] Test against Ruby 3.2 and JRuby 3.4

## 0.25.0 / 2022-08-05

* [ENHANCEMENT] Bump `jruby-openssl` requirement to `0.14.0` [#39](https://github.com/tagliala/coveralls-ruby-reborn/pull/39)
Expand Down
10 changes: 5 additions & 5 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ end

gem 'rake', '~> 13.0'
gem 'rspec', '~> 3.12'
gem 'rubocop', '~> 1.26'
gem 'rubocop-performance', '~> 1.13'
gem 'rubocop', '~> 1.41'
gem 'rubocop-performance', '~> 1.15'
gem 'rubocop-rake', '~> 0.6.0'
gem 'rubocop-rspec', '~> 2.9'
gem 'rubocop-rspec', '~> 2.16'
gem 'truthy', '~> 1.0'
gem 'vcr', '~> 6.0'
gem 'webmock', '~> 3.14'
gem 'vcr', '~> 6.1'
gem 'webmock', '~> 3.18'
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ An up-to-date fork of [lemurheavy/coveralls-ruby](https://github.com/lemurheavy/
Add to your `Gemfile`:

```rb
gem 'coveralls_reborn', '~> 0.25.0', require: false
gem 'coveralls_reborn', '~> 0.26.0', require: false
```

### GitHub Actions
Expand Down
12 changes: 6 additions & 6 deletions coveralls-ruby.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ Gem::Specification.new do |gem|
gem.metadata['changelog_uri'] = 'https://github.com/tagliala/coveralls-ruby-reborn/blob/main/CHANGELOG.md'
gem.metadata['source_code_uri'] = 'https://github.com/tagliala/coveralls-ruby-reborn'

gem.required_ruby_version = '>= 2.5'
gem.required_ruby_version = '>= 2.6'

gem.add_dependency 'simplecov', '>= 0.18.1', '< 0.22.0'
gem.add_dependency 'term-ansicolor', '~> 1.6'
gem.add_dependency 'thor', '>= 0.20.3', '< 2.0'
gem.add_dependency 'tins', '~> 1.16'
gem.add_dependency 'simplecov', '~> 0.22.0'
gem.add_dependency 'term-ansicolor', '~> 1.7'
gem.add_dependency 'thor', '~> 1.2'
gem.add_dependency 'tins', '~> 1.32'

gem.add_development_dependency 'bundler', '>= 1.16', '< 3'
gem.add_development_dependency 'bundler', '~> 2.0'
gem.add_development_dependency 'simplecov-lcov', '~> 0.8.0'
end
2 changes: 1 addition & 1 deletion lib/coveralls/simplecov.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def branches(simplecov_branches)
line_number = branch_data.split(', ')[2].to_i
data.each_value do |hits|
branch_number += 1
branches_properties.concat([line_number, 0, branch_number, hits])
branches_properties.push(line_number, 0, branch_number, hits)
end
end
branches_properties
Expand Down
2 changes: 1 addition & 1 deletion lib/coveralls/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Coveralls
VERSION = '0.25.0'
VERSION = '0.26.0'
end

0 comments on commit 46f26d1

Please sign in to comment.