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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 65ca16a9061aa39575b408a9096604087ad6199ba3b253fa894df2355925d7bb
4
- data.tar.gz: b172ff483bb77cb05e144ffceb1ba6bb9130ffaa9c95e8add872b840d73ae358
3
+ metadata.gz: 802b4c956886371cad2cae2df3207938a44c9df9bba2723576def2fa223ebeaa
4
+ data.tar.gz: fa8de433ef42b858cab2bb1c15f392f76fdb3c1a1a082125255235e9fba210b7
5
5
  SHA512:
6
- metadata.gz: 977fda28cc393c18b19966255831fc9f79d9c533dceda6b4e604f53311326cb3b9bfeda7aca448b3992caee2e7f7d8e347c01991140e0fb8f89ae15485ad6cb1
7
- data.tar.gz: 15cab1db7bf54a5ec0523cc22876a9841b028647643d1d0a2bae2a222bd238030c1ce77bf8e09acc74d7fa786de5cf373c23e705f29debc079eab79473d90382
6
+ metadata.gz: ccfcb3e6df35c8f7f336fecf3ff70c0f7ad4e386ecde0b1dffff50e31fe5952a27b0ad1a6949cc88b454de24641ca3589bf4339d227b46dc330e3ae83d631ad1
7
+ data.tar.gz: f246631544c9988f13099d5892fbf69f326bbf19fbf5d3139873faf6a42bcbed7a3f1734de17b8f0b55ad5e6563ece6b10397427bc811dbd2b7db839cdf197c5
@@ -1,3 +1,3 @@
1
1
  module StoreBaseSTIClass
2
- VERSION = '3.6.0'.freeze
2
+ VERSION = '3.6.1'.freeze
3
3
  end
@@ -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 = <<~MSG
12
- ActiveRecord has always stored the base class in polymorphic _type columns when using STI. This can have non-trivial
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|.*gemspec)}] }
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.0
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
- ActiveRecord has always stored the base class in polymorphic _type columns when using STI. This can have non-trivial
34
- performance implications in certain cases. This gem adds the 'store_base_sti_class' configuration option which
35
- controls whether ActiveRecord will store the base class or the actual class. Defaults to true for backwards
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.5
65
+ rubygems_version: 4.0.6
66
66
  specification_version: 4
67
- summary: Modifies ActiveRecord 7.2.x - 8.1.x with the ability to store the actual
68
- class (instead of the base class) in polymorhic _type columns when using STI.
67
+ summary: Stores the actual class instead of the base class in polymorphic type columns
68
+ for ActiveRecord STI.
69
69
  test_files: []