Skip to content

Commit

Permalink
Merge pull request #217 from envato/rails-7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
orien authored Oct 8, 2023
2 parents 144e824 + e86644e commit adb1881
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 14 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,9 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['2.7', '3.0', '3.1', '3.2']
gemfile: [Gemfile.rails-6.1.x, Gemfile.rails-7.0.x]
ruby: ['3.0', '3.1', '3.2']
gemfile: [Gemfile.rails-6.1.x, Gemfile.rails-7.0.x, Gemfile.rails-7.1.x]
db: [mysql, postgres, sqlite]
include:
- ruby: 2.7
gemfile: Gemfile.rails-6.0.x
db: mysql
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/spec/support/gemfiles/${{ matrix.gemfile }}
DB: ${{ matrix.db }}
Expand Down
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
source 'https://rubygems.org'
ruby '>= 2.3.0'
gemspec
8 changes: 4 additions & 4 deletions double_entry.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ Gem::Specification.new do |gem|
f.match(%r{^(?:double_entry.gemspec|README|LICENSE|CHANGELOG|lib/)})
end
gem.require_paths = ['lib']
gem.required_ruby_version = '>= 2.7.0'
gem.required_ruby_version = '>= 3'

gem.add_dependency 'activerecord', '>= 6.0.0'
gem.add_dependency 'activesupport', '>= 6.0.0'
gem.add_dependency 'activerecord', '>= 6.1.0'
gem.add_dependency 'activesupport', '>= 6.1.0'
gem.add_dependency 'money', '>= 6.0.0'
gem.add_dependency 'railties', '>= 6.0.0'
gem.add_dependency 'railties', '>= 6.1.0'

gem.add_development_dependency 'mysql2'
gem.add_development_dependency 'pg'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ source 'https://rubygems.org'

gemspec path: '../../../'

gem 'activerecord', '~> 6.0.0'
gem 'activerecord', '~> 7.1.0'

# Rails imposed mysql2 version contraints
# https://github.com/rails/rails/blob/6-0-stable/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb#L6
gem 'mysql2', '>= 0.4.4'
# https://github.com/rails/rails/blob/7-1-stable/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb#L6
gem 'mysql2', '~> 0.5'

0 comments on commit adb1881

Please sign in to comment.