Skip to content

Commit

Permalink
Add support for Active Record 7.1 (#41)
Browse files Browse the repository at this point in the history
* Add Rails 7.1 support
* bump version to 0.7.0
  • Loading branch information
joe-sharp authored Feb 28, 2024
1 parent 7b104c2 commit 07693ff
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@ jobs:
- '6.0'
- '6.1'
- '7.0'
- '7.1'
exclude:
- ruby: '2.5'
activerecord: '7.0'
- ruby: '2.5'
activerecord: '7.1'
- ruby: '3.0'
activerecord: '5.1'
- ruby: '3.0'
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html)

## [0.7.0]
### Changed
- add AR 7.1 support

## [0.6.0]
### Changed
- dropped ruby 2.4 support
Expand Down
4 changes: 2 additions & 2 deletions ar-multidb.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Gem::Specification.new do |s|

s.required_ruby_version = '>= 2.5.0'

s.add_runtime_dependency 'activerecord', '>= 5.1', '< 7.1'
s.add_runtime_dependency 'activesupport', '>= 5.1', '< 7.1'
s.add_runtime_dependency 'activerecord', '>= 5.1', '< 7.2'
s.add_runtime_dependency 'activesupport', '>= 5.1', '< 7.2'

s.add_development_dependency 'rake', '~> 13.0'
s.add_development_dependency 'rspec', '~> 3.8'
Expand Down
7 changes: 7 additions & 0 deletions gemfiles/activerecord-7.1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# frozen_string_literal: true

source 'https://rubygems.org'

gem 'activerecord', '~> 7.1.0'

gemspec path: '..'
2 changes: 1 addition & 1 deletion lib/multidb/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Multidb
VERSION = '0.6.0'
VERSION = '0.7.0'
end

0 comments on commit 07693ff

Please sign in to comment.