Skip to content

Commit dcd898b

Browse files
committed
apply voormedia#422 from root
1 parent f21f93d commit dcd898b

File tree

12 files changed

+24
-135
lines changed

12 files changed

+24
-135
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,16 @@ permissions:
99

1010
jobs:
1111
test:
12-
runs-on: ubuntu-18.04
12+
runs-on: ubuntu-24.04
1313
strategy:
1414
matrix:
15-
ruby_version: ['3.1', '3.0', '2.7']
16-
rails_version: ['6.0.x', '6.1.x', '7.0.x', 'edge']
15+
ruby_version: ['3.4', '3.3', '3.2', '3.1']
16+
rails_version: ['7.0.x', '7.1.x', '7.2.x', '8.0.x', 'edge']
17+
exclude:
18+
- ruby_version: '3.1'
19+
rails_version: '8.0.x'
20+
- ruby_version: '3.1'
21+
rails_version: 'edge'
1722
name: Ruby ${{ matrix.ruby_version }} on Rails ${{ matrix.rails_version }}
1823
env:
1924
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/Gemfile-rails.${{ matrix.rails_version }}
@@ -22,7 +27,7 @@ jobs:
2227
run: |
2328
sudo apt-get update -qq
2429
sudo apt-get install -qq graphviz
25-
- uses: actions/checkout@v3
30+
- uses: actions/checkout@v4
2631
- uses: ruby/setup-ruby@v1
2732
with:
2833
ruby-version: ${{ matrix.ruby_version }}

.travis.yml

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

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ group :development do
1515
gem 'mocha'
1616
gem "rake"
1717
gem "yard"
18+
gem "ostruct"
1819

1920
platforms :ruby do
2021
gem "activerecord", "< 7.0"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ Browse the [gallery](https://voormedia.github.io/rails-erd/gallery.html) for mor
2222
Requirements
2323
---------------
2424

25-
* Ruby 1.9.3+
26-
* ActiveRecord 3.x - 5.0.x
25+
* Ruby 2.2+
26+
* ActiveRecord 4.2+
2727

2828
Getting started
2929
---------------

gemfiles/Gemfile-rails.4.2.x

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

gemfiles/Gemfile-rails.5.0.x

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

gemfiles/Gemfile-rails.5.1.x

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

gemfiles/Gemfile-rails.7.0.x

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ source "http://rubygems.org"
22

33
gemspec :path => ".."
44

5+
gem "bigdecimal" # is a bundled gem since Ruby 3.4
6+
gem "concurrent-ruby", "< 1.3.5" # https://github.com/rails/rails/issues/54260
7+
gem "drb" # is a bundled gem since Ruby 3.4
8+
gem "mutex_m" # is a bundled gem since Ruby 3.4
59
gem "activerecord", "~> 7.0.0"
610

711
group :development do
@@ -10,7 +14,7 @@ group :development do
1014
gem "yard"
1115

1216
platforms :ruby do
13-
gem "sqlite3", '~> 1.4'
17+
gem "sqlite3", "~> 1.4"
1418
gem "redcarpet"
1519
end
1620

gemfiles/Gemfile-rails.6.1.x renamed to gemfiles/Gemfile-rails.7.1.x

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ source "http://rubygems.org"
22

33
gemspec :path => ".."
44

5-
gem "activerecord", "~> 6.1.1"
5+
gem "activerecord", "~> 7.1.0"
66

77
group :development do
88
gem 'mocha'
99
gem "rake"
1010
gem "yard"
1111

1212
platforms :ruby do
13-
gem "sqlite3", '~> 1.4'
13+
gem "sqlite3"
1414
gem "redcarpet"
1515
end
1616

gemfiles/Gemfile-rails.5.2.x renamed to gemfiles/Gemfile-rails.7.2.x

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ source "http://rubygems.org"
22

33
gemspec :path => ".."
44

5-
gem "activerecord", "~> 5.2.0"
5+
gem "activerecord", "~> 7.2.0"
66

77
group :development do
88
gem 'mocha'
99
gem "rake"
1010
gem "yard"
1111

1212
platforms :ruby do
13-
gem "sqlite3", '~> 1.3.13'
13+
gem "sqlite3"
1414
gem "redcarpet"
1515
end
1616

0 commit comments

Comments
 (0)