material 0.3.10 → 0.3.11

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: 55c54ede65982a1551182cc0cb0651d7620b2bc8698e14d6054d6a903a6a698c
4
- data.tar.gz: 8891beca63b2a734c4a4b6547e62b598eb72d4c5e2a1ffd0f15f8b03ac67b313
3
+ metadata.gz: 74d659b5ce62094b660fb044b328739bf1649063a995028f40ed2d6afc8bdf7c
4
+ data.tar.gz: bc2c13187de339827dedb67bfa038c52b723b8696dfdfe29f1c68bf91d242f1a
5
5
  SHA512:
6
- metadata.gz: d706929637cc0710457be01a3c5f348d5e47a27a04249ec05cf8e17e1b6129c06642634790cd28df32f58d3633a512870570bb83b3831ddfdd8a03f629c50026
7
- data.tar.gz: bcff973dd0969b39d57fd7241128df16e3589431dba157d8d3ad1d30d6b4c842ddf8a9496fb988a4cdea6f97bd6c8b07915c1aa82ca96fc7c7a898388f0a48d2
6
+ metadata.gz: f39c7c0b7b7aca6f628fa455b5bf14bc2dec6dc19709779d107387538187e57d34be8c228ee59235d861866535c2738d2689d1457d6b6e7363e094370c800979
7
+ data.tar.gz: e0148847feb9812a2e09eb34bd4051fa02768e17a52678a7a7a6d9b4777b957cab44a8e299dab3ed5ed5cf15a5557afbea2958b83767d58bb1b4c18b3e23a4d6
@@ -42,6 +42,7 @@ module Material
42
42
 
43
43
  def formatted_attributes
44
44
  attribute_types.each_with_object({}) do |(attribute, attribute_type), hash|
45
+ next if relationship_attributes.include?(attribute)
45
46
  hash[attribute] = format_by_type(attribute_values[attribute], type: attribute_type)
46
47
  end
47
48
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Material
4
- VERSION = "0.3.10"
4
+ VERSION = "0.3.11"
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.10
4
+ version: 0.3.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Garside