Skip to content

Commit ade35a1

Browse files
authored
Merge pull request #16 from hoppergee/maintain
Maintain
2 parents fc37dc1 + 0c4f03f commit ade35a1

26 files changed

+183
-479
lines changed

.github/workflows/main.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,15 @@ jobs:
3030
name: ruby-${{ matrix.ruby }} ${{ matrix.rails }}
3131
strategy:
3232
matrix:
33-
ruby: ['2.6', '2.7', '3.0']
34-
rails: ['6.0', '6.1', 'master']
33+
ruby: ['2.6', '2.7', '3.0', '3.1']
34+
rails: ['6.1', '7.0']
3535
exclude:
3636
- ruby: '2.6'
37-
rails: 'master'
37+
rails: '7.0'
3838

3939
env:
40-
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/github-action/rails-${{ matrix.rails }}-Gemfile
40+
MIGRATION_VESRION: ${{ matrix.rails }}
41+
RAILS_VERSION: ~> ${{ matrix.rails }}.0
4142
BUNDLE_PATH_RELATIVE_TO_CWD: true
4243
DATABASE_USERNAME: postgres
4344
REDIS_HOST: '0.0.0.0'

.gitignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,14 @@
55
/tmp/
66
/test/dummy/db/*.sqlite3
77
/test/dummy/db/*.sqlite3-*
8+
/test/dummy/db/schema.rb
89
/test/dummy/log/*.log
910
/test/dummy/storage/
1011
/test/dummy/tmp/
1112
.byebug_history
1213
Gemfile.lock
1314
/test/generators/tmp/
14-
/gemfiles/**/*Gemfile.lock
15-
.DS_Store
15+
.DS_Store
16+
.matrixeval/docker-compose
17+
.matrixeval/gemfile_locks
18+
.matrixeval/schema

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
## [Unreleased]
22

3+
## [1.5.0] - 2022-02-21
4+
5+
- Support Rails >= 6.1 only
6+
- Test with [matrixeval-ruby](https://github.com/MatrixEval/matrixeval-ruby)
7+
38
## [1.4.0] - 2021-10-13
49

510
#### Add

Gemfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
source 'https://rubygems.org'
22
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
33

4+
if rails_version = ENV['RAILS_VERSION']
5+
gem 'rails', rails_version
6+
end
7+
48
# Specify your gem's dependencies in multi_tenant_support.gemspec.
59
gemspec
610

@@ -11,11 +15,19 @@ end
1115

1216
# To use a debugger
1317
group :development, :test do
18+
gem 'matrixeval-ruby'
1419
gem 'byebug'
1520
gem 'rspec'
1621
gem 'rspec-rails'
1722
gem 'capybara'
1823
gem 'sidekiq'
24+
25+
# Ruby 3.1 split out the net-smtp gem
26+
# Necessary until https://github.com/mikel/mail/pull/1439
27+
# got merged and released.
28+
if Gem.ruby_version >= Gem::Version.new("3.1.0")
29+
gem "net-smtp", "~> 0.3.0", require: false
30+
end
1931
end
2032

2133
group :test do

Makefile

Lines changed: 0 additions & 69 deletions
This file was deleted.

docker-compose.yml

Lines changed: 0 additions & 179 deletions
This file was deleted.

gemfiles/docker-compose/rails-6-0-Gemfile

Lines changed: 0 additions & 23 deletions
This file was deleted.

gemfiles/docker-compose/rails-6-1-Gemfile

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)