Skip to content

Commit

Permalink
Bump Ruby & Rails Dependencies (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
jturkel authored Jan 9, 2023
1 parent a5a2f00 commit 7b7ae4c
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 33 deletions.
26 changes: 12 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ version: 2.1
jobs:
lint:
docker:
- image: salsify/ruby_ci:2.7.5
- image: salsify/ruby_ci:2.7.7
working_directory: ~/rails-multitenant
steps:
- checkout
- restore_cache:
keys:
- v1-gems-ruby-2.7.5-{{ checksum "rails_multitenant.gemspec" }}-{{ checksum "Gemfile" }}
- v1-gems-ruby-2.7.5-
- v1-gems-ruby-2.7.7-{{ checksum "rails_multitenant.gemspec" }}-{{ checksum "Gemfile" }}
- v1-gems-ruby-2.7.7-
- run:
name: Install Gems
command: |
Expand All @@ -18,7 +18,7 @@ jobs:
bundle clean
fi
- save_cache:
key: v1-gems-ruby-2.7.5-{{ checksum "rails_multitenant.gemspec" }}-{{ checksum "Gemfile" }}
key: v1-gems-ruby-2.7.7-{{ checksum "rails_multitenant.gemspec" }}-{{ checksum "Gemfile" }}
paths:
- "vendor/bundle"
- "gemfiles/vendor/bundle"
Expand Down Expand Up @@ -69,20 +69,18 @@ workflows:
matrix:
parameters:
gemfile:
- "gemfiles/rails_5.2.gemfile"
- "gemfiles/rails_6.0.gemfile"
- "gemfiles/rails_6.1.gemfile"
- "gemfiles/rails_7.0.gemfile"
ruby_version:
- "2.7.5"
- "3.0.3"
- "3.1.1"
- "2.7.7"
- "3.0.5"
- "3.1.3"
- "3.2.0"
exclude:
- gemfile: "gemfiles/rails_5.2.gemfile"
ruby_version: "3.0.3"
- gemfile: "gemfiles/rails_5.2.gemfile"
ruby_version: "3.1.1"
- gemfile: "gemfiles/rails_6.0.gemfile"
ruby_version: "3.0.3"
ruby_version: "3.0.5"
- gemfile: "gemfiles/rails_6.0.gemfile"
ruby_version: "3.1.1"
ruby_version: "3.1.3"
- gemfile: "gemfiles/rails_6.0.gemfile"
ruby_version: "3.2.0"
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.6.3
2.7.7
17 changes: 6 additions & 11 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
# frozen_string_literal: true

appraise 'rails-5.2' do
gem 'activerecord', '5.2.4.4'
gem 'activesupport', '5.2.4.4'
end

appraise 'rails-6.0' do
gem 'activerecord', '~> 6.0.4'
gem 'activesupport', '~> 6.0.4'
gem 'activerecord', '~> 6.0.6'
gem 'activesupport', '~> 6.0.6'
end

appraise 'rails-6.1' do
gem 'activerecord', '~> 6.1.5'
gem 'activesupport', '~> 6.1.5'
gem 'activerecord', '~> 6.1.7'
gem 'activesupport', '~> 6.1.7'
end

appraise 'rails-7.0' do
gem 'activerecord', '~> 7.0.2'
gem 'activesupport', '~> 7.0.2'
gem 'activerecord', '~> 7.0.4'
gem 'activesupport', '~> 7.0.4'
end
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

### 0.17.0
* Add support for Ruby 3.2.
* Drop support for Rails 5.2.

### 0.16.0
* Add support for Rails 7.0.
* Drop unsupported rails versions < 5.2
Expand Down
4 changes: 2 additions & 2 deletions gemfiles/rails_6.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

source "https://rubygems.org"

gem "activerecord", "~> 6.0.4"
gem "activesupport", "~> 6.0.4"
gem "activerecord", "~> 6.0.6"
gem "activesupport", "~> 6.0.6"

gemspec path: "../"
4 changes: 2 additions & 2 deletions gemfiles/rails_6.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

source "https://rubygems.org"

gem "activerecord", "~> 6.1.5"
gem "activesupport", "~> 6.1.5"
gem "activerecord", "~> 6.1.7"
gem "activesupport", "~> 6.1.7"

gemspec path: "../"
4 changes: 2 additions & 2 deletions gemfiles/rails_7.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

source "https://rubygems.org"

gem "activerecord", "~> 7.0.2"
gem "activesupport", "~> 7.0.2"
gem "activerecord", "~> 7.0.4"
gem "activesupport", "~> 7.0.4"

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

module RailsMultitenant
VERSION = '0.16.0'
VERSION = '0.17.0'
end

0 comments on commit 7b7ae4c

Please sign in to comment.