composite_primary_keys 13.0.8 → 14.0.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/History.rdoc +5 -24
- data/README.rdoc +1 -0
- data/lib/composite_primary_keys/associations/association.rb +2 -2
- data/lib/composite_primary_keys/associations/association_scope.rb +1 -1
- data/lib/composite_primary_keys/associations/{join_association.rb → join_dependency.rb} +137 -137
- data/lib/composite_primary_keys/associations/preloader/association.rb +26 -19
- data/lib/composite_primary_keys/associations/through_association.rb +2 -1
- data/lib/composite_primary_keys/base.rb +141 -137
- data/lib/composite_primary_keys/composite_predicates.rb +1 -50
- data/lib/composite_primary_keys/persistence.rb +20 -7
- data/lib/composite_primary_keys/relation/calculations.rb +7 -1
- data/lib/composite_primary_keys/relation.rb +2 -2
- data/lib/composite_primary_keys/version.rb +2 -2
- data/lib/composite_primary_keys.rb +2 -2
- data/test/abstract_unit.rb +5 -1
- data/test/fixtures/comments.yml +0 -6
- data/test/fixtures/membership.rb +8 -8
- data/test/test_associations.rb +1 -1
- data/test/test_create.rb +218 -219
- data/test/test_polymorphic.rb +0 -6
- data/test/test_predicates.rb +60 -130
- metadata +7 -8
- data/test/fixtures/user_with_polymorphic_name.rb +0 -9
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: composite_primary_keys
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 14.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Charlie Savage
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 7.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 7.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -57,7 +57,7 @@ files:
|
|
57
57
|
- lib/composite_primary_keys/associations/foreign_association.rb
|
58
58
|
- lib/composite_primary_keys/associations/has_many_association.rb
|
59
59
|
- lib/composite_primary_keys/associations/has_many_through_association.rb
|
60
|
-
- lib/composite_primary_keys/associations/
|
60
|
+
- lib/composite_primary_keys/associations/join_dependency.rb
|
61
61
|
- lib/composite_primary_keys/associations/preloader/association.rb
|
62
62
|
- lib/composite_primary_keys/associations/through_association.rb
|
63
63
|
- lib/composite_primary_keys/attribute_methods.rb
|
@@ -165,7 +165,6 @@ files:
|
|
165
165
|
- test/fixtures/topic_sources.yml
|
166
166
|
- test/fixtures/topics.yml
|
167
167
|
- test/fixtures/user.rb
|
168
|
-
- test/fixtures/user_with_polymorphic_name.rb
|
169
168
|
- test/fixtures/users.yml
|
170
169
|
- test/plugins/pagination.rb
|
171
170
|
- test/plugins/pagination_helper.rb
|
@@ -210,14 +209,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
210
209
|
requirements:
|
211
210
|
- - ">="
|
212
211
|
- !ruby/object:Gem::Version
|
213
|
-
version: 2.
|
212
|
+
version: 2.7.0
|
214
213
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
215
214
|
requirements:
|
216
215
|
- - ">="
|
217
216
|
- !ruby/object:Gem::Version
|
218
217
|
version: '0'
|
219
218
|
requirements: []
|
220
|
-
rubygems_version: 3.4
|
219
|
+
rubygems_version: 3.3.4
|
221
220
|
signing_key:
|
222
221
|
specification_version: 4
|
223
222
|
summary: Composite key support for ActiveRecord
|