playbook_ui 13.9.0.pre.alpha.play845allkitsbytypes1262 → 13.9.0.pre.alpha.play845allkitsbytypes1263
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/playbook/pb_doc_helper.rb +4 -2
- data/lib/playbook/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46007f2f1ef36ad550a50a69cb3cba12635054933359cf2e3e213a899b274a56
|
4
|
+
data.tar.gz: a960f5d51bf2219ab25bf9bcb50b1c6b1eb9f27498a585ad4238fdd898413407
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1dd6619147cda00d230a6dc4f2010a96936f482d2d70d367c32ebe2bda44831cc5face8947d7e9ac8ba3bc4d1bde7da38dbff35845ec649dff79fadacfa71680
|
7
|
+
data.tar.gz: 434f294ee2b796ffa2d4ea5fce5bafa8d38d85026102ffc633f7ad4158b2b37f1a69ea898591a42052a579251a01d280b2175854f0f71d77b12984920167f8b8
|
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
module Playbook
|
4
4
|
module PbDocHelper
|
5
|
+
def render_markdown(text)
|
6
|
+
PlaybookWebsite::Markdown::Helper.markdown(text)
|
7
|
+
end
|
8
|
+
|
5
9
|
def pb_kit_title(title)
|
6
10
|
title.remove("pb_").titleize.tr("_", " ")
|
7
11
|
end
|
@@ -36,8 +40,6 @@ module Playbook
|
|
36
40
|
end
|
37
41
|
|
38
42
|
def get_kits(type = "rails")
|
39
|
-
return [] if type == "swift"
|
40
|
-
|
41
43
|
kits = YAML.load_file(Playbook::Engine.root.join("dist/menu.yml")) || []
|
42
44
|
|
43
45
|
# Filter kits that have at least one component compatible with the type
|
data/lib/playbook/version.rb
CHANGED