store_base_sti_class 3.1.0 → 3.2.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 +12 -12
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c4475684e4eba21244f0aa189b876d00242379a3e4dac260b7a730eacbe7958b
|
|
4
|
+
data.tar.gz: 0a5ed0660a15ec4493dde2fc3f831813e804b5a18ece540921c9ac50d89e5df1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a66ac2b24d20bef464fd9deb2b654eaf2932f6ae7893d4025ae35665e926d156a92dafe13cb424cb71414c65223c475fb19f713ef3e14d21a172581545c484e8
|
|
7
|
+
data.tar.gz: bd3f65931e6e64296b555f68e96907bb38c3fc283c1e29ad9324188ab0370767ea4ceba4cf17d37b9e28e0bf09786973bb77afc2787a19d9a0ce83d31f1bcf38
|
data/LICENSE.txt
CHANGED
|
@@ -3,27 +3,27 @@
|
|
|
3
3
|
require_relative 'lib/store_base_sti_class/version'
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |spec|
|
|
6
|
-
spec.name
|
|
7
|
-
spec.version
|
|
8
|
-
spec.platform
|
|
9
|
-
spec.author
|
|
10
|
-
spec.email
|
|
11
|
-
spec.description
|
|
6
|
+
spec.name = 'store_base_sti_class'
|
|
7
|
+
spec.version = StoreBaseSTIClass::VERSION
|
|
8
|
+
spec.platform = Gem::Platform::RUBY
|
|
9
|
+
spec.author = 'AppFolio'
|
|
10
|
+
spec.email = 'opensource@appfolio.com'
|
|
11
|
+
spec.description = <<~MSG
|
|
12
12
|
ActiveRecord has always stored the base class in polymorphic _type columns when using STI. This can have non-trivial
|
|
13
13
|
performance implications in certain cases. This gem adds the 'store_base_sti_class' configuration option which
|
|
14
14
|
controls whether ActiveRecord will store the base class or the actual class. Defaults to true for backwards
|
|
15
15
|
compatibility.'
|
|
16
16
|
MSG
|
|
17
|
-
spec.summary
|
|
17
|
+
spec.summary = <<~MSG
|
|
18
18
|
Modifies ActiveRecord 6.1.x - 7.1.x with the ability to store the actual class (instead of the base class) in
|
|
19
19
|
polymorhic _type columns when using STI.
|
|
20
20
|
MSG
|
|
21
|
-
spec.homepage
|
|
22
|
-
spec.license
|
|
23
|
-
spec.files
|
|
24
|
-
spec.require_paths
|
|
25
|
-
spec.required_ruby_version = Gem::Requirement.new('>= 2.6.3')
|
|
21
|
+
spec.homepage = 'https://github.com/appfolio/store_base_sti_class'
|
|
22
|
+
spec.license = 'MIT'
|
|
23
|
+
spec.files = Dir['**/*'].select { |f| f[%r{^(lib/|LICENSE.txt|.*gemspec)}] }
|
|
24
|
+
spec.require_paths = ['lib']
|
|
26
25
|
|
|
26
|
+
spec.required_ruby_version = Gem::Requirement.new('< 3.4')
|
|
27
27
|
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
|
28
28
|
|
|
29
29
|
spec.add_dependency('activerecord', ['>= 6.1', '< 7.2'])
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- AppFolio
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2024-02-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|
|
@@ -55,16 +55,16 @@ require_paths:
|
|
|
55
55
|
- lib
|
|
56
56
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
57
57
|
requirements:
|
|
58
|
-
- - "
|
|
58
|
+
- - "<"
|
|
59
59
|
- !ruby/object:Gem::Version
|
|
60
|
-
version:
|
|
60
|
+
version: '3.4'
|
|
61
61
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
|
63
63
|
- - ">="
|
|
64
64
|
- !ruby/object:Gem::Version
|
|
65
65
|
version: '0'
|
|
66
66
|
requirements: []
|
|
67
|
-
rubygems_version: 3.3
|
|
67
|
+
rubygems_version: 3.5.3
|
|
68
68
|
signing_key:
|
|
69
69
|
specification_version: 4
|
|
70
70
|
summary: Modifies ActiveRecord 6.1.x - 7.1.x with the ability to store the actual
|