playbook_ui 13.7.0.pre.alpha.play845allkitsbytypes1232 → 13.7.0.pre.alpha.play845allkitsbytypes1234
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: 7d3e7de3fa5bd590a56b31fc26671e30a8f03e45826b03866b6ba0ac78de2e62
|
4
|
+
data.tar.gz: d42d60a7e982a9242a89142107e015f2e2275d44df9721b6f4cb934136951a8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c6a74fd29a0968d88d5709a184017753c170a33a2191c5dccf36e86b3b27ea92e062c70abcb8d83d8d2a7ff97262e62b014d7843d7b95288857e0515e5a9e4a
|
7
|
+
data.tar.gz: d98ba8cf28ca0fb3d39b20e67d9bccb51ed37c3150b28ba6edb4d7839cfabf2ea7281e9387513844d1c317e597dd685f88722e5f9e9a07d95f69345853ae49e3
|
@@ -43,14 +43,16 @@ module Playbook
|
|
43
43
|
# rubocop:enable Style/StringConcatenation
|
44
44
|
|
45
45
|
def get_kits(type = "rails")
|
46
|
-
|
46
|
+
menu = YAML.load_file(Playbook::Engine.root.join("dist/menu.yml"))
|
47
|
+
menu["kits"][type]
|
47
48
|
end
|
48
49
|
|
49
50
|
def aggregate_kits
|
51
|
+
menu = YAML.load_file(Playbook::Engine.root.join("dist/menu.yml"))
|
50
52
|
all_kits = []
|
51
53
|
|
52
54
|
# Loop over each type (rails, react, swift, etc.)
|
53
|
-
|
55
|
+
menu["kits"].each do |_type, kits|
|
54
56
|
kits.each do |kit|
|
55
57
|
case kit
|
56
58
|
when Hash
|
data/lib/playbook/version.rb
CHANGED