playbook_ui 14.6.0.pre.rc.0 → 14.6.0.pre.rc.1
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 +5 -5
- 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: c4fa2417d7b93f18c4f7b3f394149c329f53827f2bb4cc093a157ef8e844a08a
|
4
|
+
data.tar.gz: da5ee676b68f13ab365a6d75226251306c9e22969b38f5ce7d28266bd05aeb75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be2c35fdfcf71fcfa1252ed4cfb1969b141cfdf91185ae09d132deb12a3d5e4cfdcccd21647280ac10f1687af9863f049c3d8f0c90fd5e1c6af183087f14715b
|
7
|
+
data.tar.gz: f5059a58c1cdfe01123f893c97ee1ab4ccb013424d42fb71b78006e12dce59ea29ea14c1a18a388b547bc9ef9583c3379c214ca171fe820bf32b0fa01b121f91
|
@@ -45,7 +45,7 @@ module Playbook
|
|
45
45
|
|
46
46
|
# rubocop:disable Naming/AccessorMethodName
|
47
47
|
def get_kits
|
48
|
-
menu =
|
48
|
+
menu = ActiveSupport::ConfigurationFile.parse(Playbook::Engine.root.join("dist/menu.yml"))
|
49
49
|
all_kits = []
|
50
50
|
menu["kits"].each do |kit|
|
51
51
|
kit_name = kit["name"]
|
@@ -61,7 +61,7 @@ module Playbook
|
|
61
61
|
end
|
62
62
|
|
63
63
|
def get_kits_pb_website
|
64
|
-
menu =
|
64
|
+
menu = ActiveSupport::ConfigurationFile.parse(Rails.root.join("config/menu.yml"))
|
65
65
|
menu["kits"]
|
66
66
|
end
|
67
67
|
# rubocop:enable Naming/AccessorMethodName
|
@@ -84,9 +84,9 @@ module Playbook
|
|
84
84
|
def pb_doc_kit_examples(kit, type)
|
85
85
|
example_file = pb_doc_kit_path(kit, "example.yml")
|
86
86
|
if File.exist?(example_file)
|
87
|
-
|
88
|
-
|
89
|
-
|
87
|
+
ActiveSupport::ConfigurationFile.parse(example_file)
|
88
|
+
.transform_keys(&:to_sym)
|
89
|
+
.dig(:examples, type) || []
|
90
90
|
else
|
91
91
|
[]
|
92
92
|
end
|
data/lib/playbook/version.rb
CHANGED