Skip to content

Commit

Permalink
Merge 9b30890 into b5b3910
Browse files Browse the repository at this point in the history
  • Loading branch information
jmortlock committed Jan 10, 2022
2 parents b5b3910 + 9b30890 commit b51b178
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 11 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ruby.yml
Expand Up @@ -5,8 +5,8 @@ jobs:
strategy:
fail-fast: false
matrix:
gemfile: [rails60, rails61]
ruby: ["2.6", "2.7", "3.0"]
gemfile: [rails60, rails61, rails70]
ruby: ["2.7", "3.0", "3.1"]
runs-on: ubuntu-latest
env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
Expand All @@ -17,3 +17,8 @@ jobs:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage/lcov.info
2 changes: 1 addition & 1 deletion .ruby-version
@@ -1 +1 @@
3.0.0
3.1.0
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
This changelog adheres to [Keep a CHANGELOG](http://keepachangelog.com/).

## Unreleased

- [PLAT-183] Ruby 3.1, Rails 7.0, and publish coverage with github action

## 0.3.0

- [TT-8627] Update to build with github actions / ruby 3.0 / rails 6.1
Expand Down
6 changes: 6 additions & 0 deletions gemfiles/rails70.gemfile
@@ -0,0 +1,6 @@
source 'https://rubygems.org'
gemspec :path => '../'

group :development, :test do
gem 'activerecord', '~> 7.0'
end
5 changes: 1 addition & 4 deletions lib/ruby_core_extensions.rb
@@ -1,8 +1,5 @@
module RubyCoreExtensions
require 'active_support/version'
if ActiveSupport::VERSION::MAJOR > 2
require 'active_support/dependencies/autoload'
end
require "active_support"
require 'active_support/core_ext'

require 'ruby_core_extensions/array'
Expand Down
2 changes: 0 additions & 2 deletions ruby_core_extensions.gemspec
Expand Up @@ -27,8 +27,6 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rake"
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'coverage-kit'
spec.add_development_dependency 'simplecov-rcov'
spec.add_development_dependency 'coveralls'
spec.add_development_dependency 'pry-byebug'
spec.add_development_dependency 'rubocop-rails'
end
3 changes: 1 addition & 2 deletions spec/support/coverage.rb
@@ -1,4 +1,3 @@
require 'simplecov-rcov'
require 'coveralls'
require 'coverage/kit'

Coverage::Kit.setup(minimum_coverage: 88.5)

0 comments on commit b51b178

Please sign in to comment.