Skip to content

Commit 6f6d2f0

Browse files
committed
Drop support for Rails 7.0
1 parent 16aacc6 commit 6f6d2f0

11 files changed

+3
-333
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ jobs:
8383
- rails_8.0
8484
- rails_7.2
8585
- rails_7.1
86-
- rails_7.0
8786
adapter:
8887
- sqlite3
8988
- postgresql

Appraisals

Lines changed: 0 additions & 118 deletions
Original file line numberDiff line numberDiff line change
@@ -1,123 +1,5 @@
11
# frozen_string_literal: true
22

3-
###############
4-
# RAILS 7.0 #
5-
###############
6-
7-
appraise 'rails_7.0_with_postgresql' do
8-
gem 'rails', '~> 7.0.0'
9-
gem 'pg'
10-
11-
# Fix:
12-
# warning: logger was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.5.0
13-
# Add logger to your Gemfile or gemspec.
14-
install_if '-> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.4.0") }' do
15-
gem 'base64'
16-
gem 'bigdecimal'
17-
gem 'benchmark'
18-
gem 'drb'
19-
gem 'logger'
20-
gem 'mutex_m'
21-
gem 'ostruct'
22-
end
23-
end
24-
25-
appraise 'rails_7.0_with_sqlite3' do
26-
gem 'rails', '~> 7.0.0'
27-
gem 'sqlite3', '~> 1.5.0'
28-
remove_gem 'pg'
29-
30-
# Fix:
31-
# warning: logger was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.5.0
32-
# Add logger to your Gemfile or gemspec.
33-
install_if '-> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.4.0") }' do
34-
gem 'base64'
35-
gem 'bigdecimal'
36-
gem 'benchmark'
37-
gem 'drb'
38-
gem 'logger'
39-
gem 'mutex_m'
40-
gem 'ostruct'
41-
end
42-
end
43-
44-
appraise 'rails_7.0_with_mysql2' do
45-
gem 'rails', '~> 7.0.0'
46-
gem 'mysql2'
47-
remove_gem 'pg'
48-
49-
# Fix:
50-
# warning: logger was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.5.0
51-
# Add logger to your Gemfile or gemspec.
52-
install_if '-> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.4.0") }' do
53-
gem 'base64'
54-
gem 'bigdecimal'
55-
gem 'benchmark'
56-
gem 'drb'
57-
gem 'logger'
58-
gem 'mutex_m'
59-
gem 'ostruct'
60-
end
61-
end
62-
63-
appraise 'rails_7.0_with_trilogy' do
64-
gem 'rails', '~> 7.0.0'
65-
gem 'activerecord-trilogy-adapter'
66-
remove_gem 'pg'
67-
68-
# Fix:
69-
# warning: logger was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.5.0
70-
# Add logger to your Gemfile or gemspec.
71-
install_if '-> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.4.0") }' do
72-
gem 'base64'
73-
gem 'bigdecimal'
74-
gem 'benchmark'
75-
gem 'drb'
76-
gem 'logger'
77-
gem 'mutex_m'
78-
gem 'ostruct'
79-
end
80-
end
81-
82-
appraise 'rails_7.0_with_oracle_enhanced' do
83-
gem 'rails', '~> 7.0.0'
84-
gem 'ruby-oci8'
85-
gem 'activerecord-oracle_enhanced-adapter', '~> 7.0.0'
86-
remove_gem 'pg'
87-
88-
# Fix:
89-
# warning: logger was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.5.0
90-
# Add logger to your Gemfile or gemspec.
91-
install_if '-> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.4.0") }' do
92-
gem 'base64'
93-
gem 'bigdecimal'
94-
gem 'benchmark'
95-
gem 'drb'
96-
gem 'logger'
97-
gem 'mutex_m'
98-
gem 'ostruct'
99-
end
100-
end
101-
102-
appraise 'rails_7.0_with_postgis' do
103-
gem 'rails', '~> 7.0.0'
104-
gem 'pg'
105-
gem 'activerecord-postgis-adapter'
106-
107-
# Fix:
108-
# warning: logger was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.5.0
109-
# Add logger to your Gemfile or gemspec.
110-
install_if '-> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.4.0") }' do
111-
gem 'base64'
112-
gem 'bigdecimal'
113-
gem 'benchmark'
114-
gem 'drb'
115-
gem 'logger'
116-
gem 'mutex_m'
117-
gem 'ostruct'
118-
end
119-
end
120-
1213
###############
1224
# RAILS 7.1.0 #
1235
###############

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* Make gem smaller
1010
* Drop support of Rails 6.0
1111
* Drop support of Rails 6.1
12+
* Drop support of Rails 7.0
1213
* Drop support of Ruby 2.7
1314
* Add support for Rails 7.2
1415
* Add support for Rails 8.0

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
It's tested against :
1313

14-
* Rails: 7.0 / 7.1 / 7.2 / 8.0
14+
* Rails: 7.1 / 7.2 / 8.0
1515
* Ruby: 3.0 / 3.1 / 3.2 / 3.3 / 3.4
1616
* Databases: MySQL 8 / SQLite3 / Postgresql 16 / Oracle XE 11.2 (thanks to [travis-oracle](https://github.com/cbandy/travis-oracle))
1717
* Adapters: sqlite / mysql2 / trilogy / postgres / postgis / oracle

ajax-datatables-rails.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ Gem::Specification.new do |s|
2424

2525
s.files = Dir['README.md', 'CHANGELOG.md', 'LICENSE', 'lib/**/*.rb', 'lib/**/*.erb']
2626

27-
s.add_dependency 'rails', '>= 7.0'
27+
s.add_dependency 'rails', '>= 7.1'
2828
s.add_dependency 'zeitwerk'
2929
end

gemfiles/rails_7.0_with_mysql2.gemfile

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

gemfiles/rails_7.0_with_oracle_enhanced.gemfile

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

gemfiles/rails_7.0_with_postgis.gemfile

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

gemfiles/rails_7.0_with_postgresql.gemfile

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

gemfiles/rails_7.0_with_sqlite3.gemfile

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

gemfiles/rails_7.0_with_trilogy.gemfile

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

0 commit comments

Comments
 (0)