File tree 7 files changed +23
-20
lines changed
7 files changed +23
-20
lines changed Original file line number Diff line number Diff line change @@ -15,19 +15,18 @@ jobs:
15
15
ruby :
16
16
- 3.3
17
17
- 3.2
18
- - 3.1
19
18
gemfile :
19
+ - gemfiles/activerecord_8.0.gemfile
20
20
- gemfiles/activerecord_7.2.gemfile
21
21
- gemfiles/activerecord_7.1.gemfile
22
- - gemfiles/activerecord_7.0.gemfile
23
22
db :
24
23
- mysql
25
24
- postgresql
26
25
- sqlite3
27
26
include :
28
27
- ruby : truffleruby-head
29
28
db : postgresql
30
- gemfile : gemfiles/activerecord_7 .0.gemfile
29
+ gemfile : gemfiles/activerecord_8 .0.gemfile
31
30
- ruby : truffleruby-head
32
31
db : postgresql
33
32
gemfile : gemfiles/activerecord_7.1.gemfile
Original file line number Diff line number Diff line change 1
1
# frozen_string_literal: true
2
2
3
- appraise 'activerecord-7.0' do
4
- gem 'activerecord' , '~> 7.0.1'
5
- gem 'pg'
6
- gem 'sqlite3' , '~> 1.4'
7
- gem 'mysql2' , '~> 0.5'
8
- end
9
-
10
3
appraise 'activerecord-7.1' do
11
4
gem 'activerecord' , '~> 7.1.0'
12
5
gem 'pg'
17
10
appraise 'activerecord-7.2' do
18
11
gem 'activerecord' , '~> 7.2.0'
19
12
gem 'pg'
20
- gem 'sqlite3' , '~> 1.4 '
13
+ gem 'sqlite3' , '~> 2.2 '
21
14
gem 'mysql2' , '~> 0.5'
22
- end
15
+ end
16
+
17
+ appraise 'activerecord-8.0' do
18
+ gem 'activerecord' , '~> 8.0.0.beta1'
19
+ gem 'railties' , '~> 8.0.0.beta1'
20
+ gem 'pg'
21
+ gem 'sqlite3' , '~> 2.2'
22
+ gem 'mysql2' , '~> 0.5'
23
+ end
Original file line number Diff line number Diff line change @@ -571,6 +571,10 @@ Versions >= 8.x are compatible with Ruby 2.3.7+ and Rails 5 and 6.
571
571
572
572
Versions >= 9.x are compatible with Ruby 2.5.0 and Rails 6 and 7.
573
573
574
+ Versions >= 11.x are compatible with Ruby 3.1.0 and Rails 7.
575
+
576
+ Versions >= 12.x are compatible with Ruby 3.2.0 and Rails 7.1 and 8.0.
577
+
574
578
For an up-to-date roadmap, see https://github.com/mbleigh/acts-as-taggable-on/milestones
575
579
576
580
## Testing
Original file line number Diff line number Diff line change @@ -15,20 +15,18 @@ Gem::Specification.new do |gem|
15
15
gem . files = `git ls-files` . split ( $/)
16
16
gem . test_files = gem . files . grep ( %r{^spec/} )
17
17
gem . require_paths = [ 'lib' ]
18
- gem . required_ruby_version = '>= 3.0 .0'
18
+ gem . required_ruby_version = '>= 3.2 .0'
19
19
20
20
if File . exist? ( 'UPGRADING.md' )
21
21
gem . post_install_message = File . read ( 'UPGRADING.md' )
22
22
end
23
23
24
- gem . add_runtime_dependency 'activerecord' , '>= 7.0 ' , '< 8.0 '
24
+ gem . add_runtime_dependency 'activerecord' , '>= 7.1 ' , '< 8.1 '
25
25
gem . add_runtime_dependency 'zeitwerk' , '>= 2.4' , '< 3.0'
26
26
27
27
gem . add_development_dependency 'rspec-rails'
28
28
gem . add_development_dependency 'rspec-its'
29
29
gem . add_development_dependency 'rspec'
30
30
gem . add_development_dependency 'barrier'
31
31
gem . add_development_dependency 'database_cleaner'
32
-
33
- gem . metadata [ 'changelog_uri' ] = gem . homepage + '/blob/master/CHANGELOG.md'
34
32
end
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ source "https://rubygems.org"
4
4
5
5
gem "activerecord", "~> 7.2.0"
6
6
gem "pg"
7
- gem "sqlite3", "~> 1.4 "
7
+ gem "sqlite3", "~> 2.1 "
8
8
gem "mysql2", "~> 0.5"
9
9
10
10
group :local_development do
Original file line number Diff line number Diff line change 2
2
3
3
source "https://rubygems.org"
4
4
5
- gem "activerecord", "~> 7.0.1"
5
+ gem "activerecord", "~> 8.0.0.beta1"
6
+ gem "railties", "~> 8.0.0.beta1"
6
7
gem "pg"
7
- gem "sqlite3", "~> 1.4 "
8
+ gem "sqlite3", "~> 2.1 "
8
9
gem "mysql2", "~> 0.5"
9
10
10
11
group :local_development do
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ def self.named(name)
33
33
34
34
def self . named_any ( list )
35
35
clause = list . map do |tag |
36
- sanitize_sql_for_named_any ( tag ) . force_encoding ( 'BINARY' )
36
+ sanitize_sql_for_named_any ( tag )
37
37
end . join ( ' OR ' )
38
38
where ( clause )
39
39
end
You can’t perform that action at this time.
0 commit comments