acts-as-taggable-on 11.0.0 → 12.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e13692b84fcccf9821c3f37ce992c07452df045dc2c20c58a47ab704ed8bdd36
4
- data.tar.gz: 85bdcb03c9666c61efd92329f243e51bd4acf1941f32238dfecd50aaf8decf9f
3
+ metadata.gz: ab3dc3f7295e510515332b81d62b0cc3098a26d364b6eaf1cae1831f3275b228
4
+ data.tar.gz: d8e5ddda21eacb986be4e636adbbadabf6cdc8931f229a0a3faebf388fe30f58
5
5
  SHA512:
6
- metadata.gz: 52f08142695e549389e407a214eafc2003ccba07a62e659acaf8c02f44d4a533ec6aef149e77900d344227b4453b8eac1ded100758e543cb7437f9391b3817f6
7
- data.tar.gz: f82dfcbee2386842ab6f3319598f144fce5a59905fa2f5e92cfc07eb6d986e0283b666132226b824f13d52a51d92f10d010543691776f7a138a96ad8e50c39de
6
+ metadata.gz: e903a0632765032594251734d43dfc8392a319ef37f7be80c03940afc923d3afc812bc9c4960d0c68c47d3a6babd230b642eb77fadc093ee22b39fdb7f37835d
7
+ data.tar.gz: 1d16b52d2d6c6795509e5e94d65fd837fab427fdeffafa26293bc3b894776f4ce47b0a44a4517d0999d6d15ffa93a902fa33632436c00d96e48e32e1b25b3c3c
@@ -15,11 +15,10 @@ 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
@@ -27,7 +26,7 @@ jobs:
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
data/Appraisals CHANGED
@@ -1,12 +1,5 @@
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,6 +10,14 @@ end
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
data/README.md CHANGED
@@ -569,7 +569,11 @@ Versions >= 7.x are compatible with Ruby 2.3.7+ and Rails 5 and 6.
569
569
 
570
570
  Versions >= 8.x are compatible with Ruby 2.3.7+ and Rails 5 and 6.
571
571
 
572
- Versions >= 9.x are compatible with Ruby 2.5.0 and Rails 6 and 7.
572
+ Versions >= 9.x are compatible with Ruby 2.5.0 and Rails 6 and 7.0.
573
+
574
+ Versions >= 11.x are compatible with Ruby 3.1.0 and Rails 7.0 and 7.1.
575
+
576
+ Versions >= 12.x are compatible with Ruby 3.2.0 and Rails 7.1, 7.2 and 8.0.
573
577
 
574
578
  For an up-to-date roadmap, see https://github.com/mbleigh/acts-as-taggable-on/milestones
575
579
 
@@ -15,13 +15,13 @@ 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'
@@ -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
@@ -2,9 +2,10 @@
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
@@ -33,7 +33,7 @@ module ActsAsTaggableOn
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActsAsTaggableOn
4
- VERSION = '11.0.0'
4
+ VERSION = '12.0.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts-as-taggable-on
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.0.0
4
+ version: 12.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Bleigh
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-08-23 00:00:00.000000000 Z
12
+ date: 2024-11-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
@@ -17,20 +17,20 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: '7.0'
20
+ version: '7.1'
21
21
  - - "<"
22
22
  - !ruby/object:Gem::Version
23
- version: '8.0'
23
+ version: '8.1'
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
27
27
  requirements:
28
28
  - - ">="
29
29
  - !ruby/object:Gem::Version
30
- version: '7.0'
30
+ version: '7.1'
31
31
  - - "<"
32
32
  - !ruby/object:Gem::Version
33
- version: '8.0'
33
+ version: '8.1'
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: zeitwerk
36
36
  requirement: !ruby/object:Gem::Requirement
@@ -150,9 +150,9 @@ files:
150
150
  - db/migrate/6_add_missing_indexes_on_taggings.rb
151
151
  - db/migrate/7_add_tenant_to_taggings.rb
152
152
  - docker-compose.yml
153
- - gemfiles/activerecord_7.0.gemfile
154
153
  - gemfiles/activerecord_7.1.gemfile
155
154
  - gemfiles/activerecord_7.2.gemfile
155
+ - gemfiles/activerecord_8.0.gemfile
156
156
  - lib/acts-as-taggable-on.rb
157
157
  - lib/acts-as-taggable-on/default_parser.rb
158
158
  - lib/acts-as-taggable-on/engine.rb
@@ -228,7 +228,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
228
228
  requirements:
229
229
  - - ">="
230
230
  - !ruby/object:Gem::Version
231
- version: 3.0.0
231
+ version: 3.2.0
232
232
  required_rubygems_version: !ruby/object:Gem::Requirement
233
233
  requirements:
234
234
  - - ">="