playbook_ui 14.5.0.pre.alpha.PLAY1486highchartscssdrivenPOC3940 → 14.5.0.pre.alpha.PLAY1486highchartscssdrivenPOC3944
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a9114377efdf392c27e5ab55b3af4e52ac8650f2b83952980a9927b5486051c
|
4
|
+
data.tar.gz: 6fad58a2db127a94b2f6d6966580611a6742bb70eef8f27353b495810c621f26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c143cfa584e92e330f7920da29c3ad45d503308865175d777a84b62d15b3b89ae136bbdc286848a61cc9c640fc9e96eb590fa68c5082cc18d9d3c20099b4d68
|
7
|
+
data.tar.gz: c5e1e43db4ada861c092a2f20069b69ac9b9077d3d0a82b771115342acf5e2e0796418732cdbf355acbab0ca8c825b1274f7d1b307f673a705f57ac352df9c8a
|
@@ -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
metadata
CHANGED