store_base_sti_class 3.6.0 → 3.6.1
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/lib/store_base_sti_class/version.rb +1 -1
- data/store_base_sti_class.gemspec +3 -11
- metadata +9 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 802b4c956886371cad2cae2df3207938a44c9df9bba2723576def2fa223ebeaa
|
|
4
|
+
data.tar.gz: fa8de433ef42b858cab2bb1c15f392f76fdb3c1a1a082125255235e9fba210b7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ccfcb3e6df35c8f7f336fecf3ff70c0f7ad4e386ecde0b1dffff50e31fe5952a27b0ad1a6949cc88b454de24641ca3589bf4339d227b46dc330e3ae83d631ad1
|
|
7
|
+
data.tar.gz: f246631544c9988f13099d5892fbf69f326bbf19fbf5d3139873faf6a42bcbed7a3f1734de17b8f0b55ad5e6563ece6b10397427bc811dbd2b7db839cdf197c5
|
|
@@ -8,19 +8,11 @@ Gem::Specification.new do |spec|
|
|
|
8
8
|
spec.platform = Gem::Platform::RUBY
|
|
9
9
|
spec.author = 'AppFolio'
|
|
10
10
|
spec.email = 'opensource@appfolio.com'
|
|
11
|
-
spec.description =
|
|
12
|
-
|
|
13
|
-
performance implications in certain cases. This gem adds the 'store_base_sti_class' configuration option which
|
|
14
|
-
controls whether ActiveRecord will store the base class or the actual class. Defaults to true for backwards
|
|
15
|
-
compatibility.'
|
|
16
|
-
MSG
|
|
17
|
-
spec.summary = <<~MSG
|
|
18
|
-
Modifies ActiveRecord 7.2.x - 8.1.x with the ability to store the actual class (instead of the base class) in
|
|
19
|
-
polymorhic _type columns when using STI.
|
|
20
|
-
MSG
|
|
11
|
+
spec.description = 'By default ActiveRecord stores the base class in polymorphic type columns when using single table inheritance, which can have performance implications. This gem adds a store_base_sti_class configuration option that controls whether ActiveRecord stores the base class or the actual class, defaulting to the original behavior for backward compatibility.'
|
|
12
|
+
spec.summary = 'Stores the actual class instead of the base class in polymorphic type columns for ActiveRecord STI.'
|
|
21
13
|
spec.homepage = 'https://github.com/appfolio/store_base_sti_class'
|
|
22
14
|
spec.license = 'MIT'
|
|
23
|
-
spec.files = Dir['**/*'].select { |f| f[%r{^(lib/|LICENSE.txt
|
|
15
|
+
spec.files = Dir['**/*'].select { |f| f[%r{^(lib/|LICENSE.txt|store_base_sti_class\.*gemspec)}] }
|
|
24
16
|
spec.require_paths = ['lib']
|
|
25
17
|
|
|
26
18
|
spec.required_ruby_version = Gem::Requirement.new('< 4.1')
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: store_base_sti_class
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.6.
|
|
4
|
+
version: 3.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- AppFolio
|
|
@@ -29,11 +29,11 @@ dependencies:
|
|
|
29
29
|
- - "<"
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
31
|
version: '8.2'
|
|
32
|
-
description:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
compatibility.
|
|
32
|
+
description: By default ActiveRecord stores the base class in polymorphic type columns
|
|
33
|
+
when using single table inheritance, which can have performance implications. This
|
|
34
|
+
gem adds a store_base_sti_class configuration option that controls whether ActiveRecord
|
|
35
|
+
stores the base class or the actual class, defaulting to the original behavior for
|
|
36
|
+
backward compatibility.
|
|
37
37
|
email: opensource@appfolio.com
|
|
38
38
|
executables: []
|
|
39
39
|
extensions: []
|
|
@@ -62,8 +62,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
62
62
|
- !ruby/object:Gem::Version
|
|
63
63
|
version: '0'
|
|
64
64
|
requirements: []
|
|
65
|
-
rubygems_version: 4.0.
|
|
65
|
+
rubygems_version: 4.0.6
|
|
66
66
|
specification_version: 4
|
|
67
|
-
summary:
|
|
68
|
-
|
|
67
|
+
summary: Stores the actual class instead of the base class in polymorphic type columns
|
|
68
|
+
for ActiveRecord STI.
|
|
69
69
|
test_files: []
|