store_base_sti_class 3.3.0 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -1
- data/lib/store_base_sti_class/version.rb +1 -1
- data/store_base_sti_class.gemspec +2 -2
- metadata +8 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d70181898de30199ef2126e47928e8d2e0c9d921df8a401151d97c82e587876c
|
4
|
+
data.tar.gz: a3f936d3c3651ad27471763d4ae2912a84458c11e070ea6a8d682bce1f618a37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5eb49473524cf3d97aa12b7df4efc2b11ecf629f39bbd4e7c75bc8935955040f2317cd6190f6c2ed14380373842245beddd81346ebe4421d55174f8aafc7b92
|
7
|
+
data.tar.gz: 1ac72aa032744498042bb4ca9eee636f7e736b6001f0ee3b0f3d60ecd5a677005e5b043df53a10ba05f7342b85ce1e08f273876c8bf5bcf71a6a4baf35a004d7
|
data/LICENSE.txt
CHANGED
@@ -23,8 +23,8 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.files = Dir['**/*'].select { |f| f[%r{^(lib/|LICENSE.txt|.*gemspec)}] }
|
24
24
|
spec.require_paths = ['lib']
|
25
25
|
|
26
|
-
spec.required_ruby_version = Gem::Requirement.new('< 3.
|
26
|
+
spec.required_ruby_version = Gem::Requirement.new('< 3.5')
|
27
27
|
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
28
28
|
|
29
|
-
spec.add_dependency('activerecord', ['>=
|
29
|
+
spec.add_dependency('activerecord', ['>= 7', '< 8.1'])
|
30
30
|
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: store_base_sti_class
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- AppFolio
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-05-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: activerecord
|
@@ -16,20 +15,20 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
18
|
+
version: '7'
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
21
|
+
version: '8.1'
|
23
22
|
type: :runtime
|
24
23
|
prerelease: false
|
25
24
|
version_requirements: !ruby/object:Gem::Requirement
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
28
|
+
version: '7'
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
31
|
+
version: '8.1'
|
33
32
|
description: |
|
34
33
|
ActiveRecord has always stored the base class in polymorphic _type columns when using STI. This can have non-trivial
|
35
34
|
performance implications in certain cases. This gem adds the 'store_base_sti_class' configuration option which
|
@@ -49,7 +48,6 @@ licenses:
|
|
49
48
|
- MIT
|
50
49
|
metadata:
|
51
50
|
allowed_push_host: https://rubygems.org
|
52
|
-
post_install_message:
|
53
51
|
rdoc_options: []
|
54
52
|
require_paths:
|
55
53
|
- lib
|
@@ -57,15 +55,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
57
55
|
requirements:
|
58
56
|
- - "<"
|
59
57
|
- !ruby/object:Gem::Version
|
60
|
-
version: '3.
|
58
|
+
version: '3.5'
|
61
59
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
62
60
|
requirements:
|
63
61
|
- - ">="
|
64
62
|
- !ruby/object:Gem::Version
|
65
63
|
version: '0'
|
66
64
|
requirements: []
|
67
|
-
rubygems_version: 3.
|
68
|
-
signing_key:
|
65
|
+
rubygems_version: 3.6.3
|
69
66
|
specification_version: 4
|
70
67
|
summary: Modifies ActiveRecord 6.1.x - 7.2.x with the ability to store the actual
|
71
68
|
class (instead of the base class) in polymorhic _type columns when using STI.
|