foobara 0.0.60 → 0.0.61
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3a3b99978753271dc5d62b11b9132b0301d3285075c1cf61b0672713e7beb0ae
|
|
4
|
+
data.tar.gz: c127430a4d7408018e8475d1ebe5311114f8709a04ba448665214605895eb45b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 962b7fa09bafe6bccf89c7d963069eb6207f91c0d7656ba988b87f0cd271e148a8d03d0e86e092c2f536977ef5634a54ca90ca46e334e98448d09be8e1e5fd0d
|
|
7
|
+
data.tar.gz: 02d17842a63a15dee83b364bde44b3844d59ec796005c04648e65199aa699e5642dada7aa1ca4121df3409a6c778eb4c40e41ecbb1bf39423e6fc78a1f80b515
|
data/CHANGELOG.md
CHANGED
|
@@ -80,6 +80,12 @@ module Foobara
|
|
|
80
80
|
@model = to_type.model?
|
|
81
81
|
end
|
|
82
82
|
|
|
83
|
+
def custom?
|
|
84
|
+
return @custom if defined?(@custom)
|
|
85
|
+
|
|
86
|
+
@custom = to_type.custom?
|
|
87
|
+
end
|
|
88
|
+
|
|
83
89
|
def to_model
|
|
84
90
|
raise "not an model" unless model?
|
|
85
91
|
raise "model extension instead of an model" unless relevant_manifest.size == 1
|