store_base_sti_class 3.1.0 → 3.2.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: 4e52e07f6f052e37a3b9a46da10810e6cab0dea2b45f5c84fa78ee661374d8e4
4
- data.tar.gz: 743fb6c76c85b8ac6c4fa6d7216e39c37b73a3b3143eec2efea43994d4da61bf
3
+ metadata.gz: c4475684e4eba21244f0aa189b876d00242379a3e4dac260b7a730eacbe7958b
4
+ data.tar.gz: 0a5ed0660a15ec4493dde2fc3f831813e804b5a18ece540921c9ac50d89e5df1
5
5
  SHA512:
6
- metadata.gz: b88e7535394b002c2041545dfd13a6cdd74aa7ae928e986e09eda605ece8d189370754763eb674f775be9e19698edb36bd2304dfa0db3f1849a1f7b83c7c17b1
7
- data.tar.gz: 77653c6b771bb6a8db2ae1fd0d2c3ffdb9a1cef93cf0907a2f1f70bfe333282c494dd05f2b0d7860f04749b3ec770eb0443b6ef3a15ae4ab702717fb14e7225a
6
+ metadata.gz: a66ac2b24d20bef464fd9deb2b654eaf2932f6ae7893d4025ae35665e926d156a92dafe13cb424cb71414c65223c475fb19f713ef3e14d21a172581545c484e8
7
+ data.tar.gz: bd3f65931e6e64296b555f68e96907bb38c3fc283c1e29ad9324188ab0370767ea4ceba4cf17d37b9e28e0bf09786973bb77afc2787a19d9a0ce83d31f1bcf38
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2011-2023 AppFolio, Inc
1
+ Copyright (c) 2011-2024 AppFolio, Inc
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -1,3 +1,3 @@
1
1
  module StoreBaseSTIClass
2
- VERSION = '3.1.0'.freeze
2
+ VERSION = '3.2.0'.freeze
3
3
  end
@@ -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 = '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
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 = <<~MSG
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 = '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']
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.1.0
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: 2023-10-24 00:00:00.000000000 Z
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: 2.6.3
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.26
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