material 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/material/concerns/text.rb +1 -1
- data/lib/material/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 001e76c7524044c648cc550bea30c45e0231e1325ac42a3a34bcc88e94830047
|
4
|
+
data.tar.gz: 263cf16e1bc92aa6b26d8edcc35115470b1e52fb870c4a4cf425f9bb76b4e1d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 286ac8f5d74bab70ae04a6fc98e964d96cc2c74f5c500cdaaf6b2b6e30121dd4ecfb52beae6405225c0b6d8314b844c0550aa29e9613dd45e2880dfd5b2dec66
|
7
|
+
data.tar.gz: 9b5f40da273be9b2d5e45e98246fb8b94575e163add6848185e25a5922cb3468f2086f3bf5336b9a8e7ecefeb456ad70cc714cf50f7701c62fae480b8279be2a
|
@@ -55,7 +55,7 @@ module Material
|
|
55
55
|
private
|
56
56
|
|
57
57
|
def default_title
|
58
|
-
source.try(:title) || source.try(:name) ||
|
58
|
+
source.try(:title) || source.try(:name) || try(:model_name)&.human || source.class.name
|
59
59
|
end
|
60
60
|
end
|
61
61
|
end
|
data/lib/material/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Garside
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-02-
|
11
|
+
date: 2020-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|