material 0.3.9 → 0.3.10
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/lib/material/concerns/attributes.rb +2 -2
- data/lib/material/version.rb +1 -1
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55c54ede65982a1551182cc0cb0651d7620b2bc8698e14d6054d6a903a6a698c
|
4
|
+
data.tar.gz: 8891beca63b2a734c4a4b6547e62b598eb72d4c5e2a1ffd0f15f8b03ac67b313
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d706929637cc0710457be01a3c5f348d5e47a27a04249ec05cf8e17e1b6129c06642634790cd28df32f58d3633a512870570bb83b3831ddfdd8a03f629c50026
|
7
|
+
data.tar.gz: bcff973dd0969b39d57fd7241128df16e3589431dba157d8d3ad1d30d6b4c842ddf8a9496fb988a4cdea6f97bd6c8b07915c1aa82ca96fc7c7a898388f0a48d2
|
@@ -29,7 +29,7 @@ module Material
|
|
29
29
|
end
|
30
30
|
|
31
31
|
def display_attributes
|
32
|
-
attribute_names
|
32
|
+
(attribute_names + relationship_attributes).uniq
|
33
33
|
end
|
34
34
|
|
35
35
|
def attribute_values
|
@@ -55,7 +55,7 @@ module Material
|
|
55
55
|
end
|
56
56
|
|
57
57
|
def relationship_attributes
|
58
|
-
source_class.reflect_on_all_associations.map(&:
|
58
|
+
source_class.reflect_on_all_associations.map(&:name).map(&:to_s)
|
59
59
|
end
|
60
60
|
end
|
61
61
|
end
|
data/lib/material/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: material
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Garside
|
8
8
|
- Brandon Trumpold
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2025-03-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -214,7 +214,7 @@ homepage: https://github.com/Freshly/material
|
|
214
214
|
licenses:
|
215
215
|
- MIT
|
216
216
|
metadata: {}
|
217
|
-
post_install_message:
|
217
|
+
post_install_message:
|
218
218
|
rdoc_options: []
|
219
219
|
require_paths:
|
220
220
|
- lib
|
@@ -229,9 +229,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
229
229
|
- !ruby/object:Gem::Version
|
230
230
|
version: '0'
|
231
231
|
requirements: []
|
232
|
-
|
233
|
-
|
234
|
-
signing_key:
|
232
|
+
rubygems_version: 3.5.9
|
233
|
+
signing_key:
|
235
234
|
specification_version: 4
|
236
235
|
summary: Wrap your records with a presentation layer without cannibalizing view responsibility.
|
237
236
|
test_files: []
|