activerecord_follow_assoc 0.1.1 → 0.1.2

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: dc13a864fee3460feeb38797a0a95dd93816110f888d45fbd6423fab825d4b56
4
- data.tar.gz: 8009a86c5b5f8f30f6920954ac58af1765bd3085e3e069311d5711ff20632740
3
+ metadata.gz: 1c3e62bdc3a618ec8df6a5b54701734f8dd2895389018eb9fd68f750f71d1fe0
4
+ data.tar.gz: c3e258f8c744305d0d272f208456b7372979fed0c36543385612c585d0657fc0
5
5
  SHA512:
6
- metadata.gz: 845ad4b08f3160bce65fd7872267c9bc7d1bbe286ffc47c850eef53313b69c42a999c0c77323651bebe8c512fecd111a6de7f20bf58aa0d0bdec3a2672b3d817
7
- data.tar.gz: bf81aed74ebab4c6b1be90021ce76bb76d0392a9f10e4c1cb4f25f60699e783dade093492e04fbbb1b2a780ab2e11eee19ba2f57a24754c1ef67475df4c2eb20
6
+ metadata.gz: 4ae73f99a8d3f6e96487822b02a8d2757d427245c7e1041723d713ddd626f7d053a0318bdf5c4c6790ca29e2122b0028a59911275a73d157a6f3df16416fe50d
7
+ data.tar.gz: e9059d3925da935e71160d46ff75cfa0e34c27d33a0b02c28f1d02f67eed66b896aca87422563e0690084281d70302dc10ab1daf92f6ee4212bf64a1c0398d1a
@@ -165,7 +165,7 @@ module ActiveRecordFollowAssoc
165
165
 
166
166
  if poly_belongs_to?(actual_source_reflection)
167
167
  if reflection.options[:source_type]
168
- [reflection.options[:source_type].safe_constantize].compact
168
+ reflection.options[:source_type].safe_constantize
169
169
  else
170
170
  if on_poly_belongs_to.nil?
171
171
  msg = String.new
@@ -1,3 +1,3 @@
1
1
  module ActiveRecordFollowAssoc
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord_follow_assoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maxime Lapointe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-11 00:00:00.000000000 Z
11
+ date: 2024-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord