material 0.3.13 → 0.3.14

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: 1c15a987dcea5ed59962f0759c0c59e3351552be1f8a7e7dbd8f733fe111e5b8
4
- data.tar.gz: 13691278c034b3058b3471ba27a20c136a98ddbdcd25ec448d4d292a73c6b7fc
3
+ metadata.gz: 85608e45d3dc30fba7f50aaa7ab8cb218118bbf173ae50e7e9880a62d42cf55a
4
+ data.tar.gz: 5935f61324603946105c86165a9f7681de31b1869b7731315172ba023abba038
5
5
  SHA512:
6
- metadata.gz: 8117b6c8c5036b58e2f7f8f56ee4607458c9e52a8995bf437500d5026499ddbf2ed34143b4ab75d8da65603f65f352356671ccb971e13b8e78e93e18eb44b80a
7
- data.tar.gz: 679b001da30a53aac2790304338052db8f26248b80b27ba927e0ea4586bb68e098b089d0f80fd53d5ab55d8f02650892ccaeae65c44e00c88c05f9583f71ced0
6
+ metadata.gz: 7f306dd52cc0a30b78a08533b4c1e8d333f7ff4c64ce174721180c600f560e05e0fe302d5fb2ebe398fadbbe29ebd56929fdfdd2e9ef88c112bebbf8c518fa5c
7
+ data.tar.gz: aa2ed2c735a51b0cddeb93bf580cb4b40007676e086ec8b55c57eab701523f7b322a5046547b80a8a37dde4811c0cf98ee0371fd63b423315d4bdd0494c4092d
@@ -73,7 +73,7 @@ module Material
73
73
  end
74
74
 
75
75
  def relationship_attributes
76
- source_class.reflect_on_all_associations.map(&:name).map(&:to_s)
76
+ source_class.reflect_on_all_associations.reject { |assoc| assoc.macro == :has_many }.map(&:name).map(&:to_s)
77
77
  end
78
78
  end
79
79
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Material
4
- VERSION = "0.3.13"
4
+ VERSION = "0.3.14"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: material
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.13
4
+ version: 0.3.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Garside
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2025-03-21 00:00:00.000000000 Z
12
+ date: 2025-03-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport