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: dae893bb342f7639fcd8322b6dccedc17c9e8464fb03a2fd4cb95921385b6704
4
- data.tar.gz: 10a1f8640c9a1c492d60a2d2487d90f5b784b2859823baa80efb02bf9ad528d3
3
+ metadata.gz: 3a9114377efdf392c27e5ab55b3af4e52ac8650f2b83952980a9927b5486051c
4
+ data.tar.gz: 6fad58a2db127a94b2f6d6966580611a6742bb70eef8f27353b495810c621f26
5
5
  SHA512:
6
- metadata.gz: f3cc1dd7e19c25a20efb23b88e97efd22dad0e6f46788158eb89de359592d366f4c6c41e464136febdf7ba35e80e1e800246bfd23fde52248f9efbe95721841d
7
- data.tar.gz: 00e31566f6fe3cb342a72ce4290303c617c4096e26de7eabbe70f3d0b6786770e44b89b8e78ae0f5787ca345fa82a0fba314d896b643b6ac1926979f516dcc11
6
+ metadata.gz: 1c143cfa584e92e330f7920da29c3ad45d503308865175d777a84b62d15b3b89ae136bbdc286848a61cc9c640fc9e96eb590fa68c5082cc18d9d3c20099b4d68
7
+ data.tar.gz: c5e1e43db4ada861c092a2f20069b69ac9b9077d3d0a82b771115342acf5e2e0796418732cdbf355acbab0ca8c825b1274f7d1b307f673a705f57ac352df9c8a
@@ -205,4 +205,4 @@ const highchartsDarkTheme = {
205
205
  },
206
206
  }
207
207
 
208
- export { highchartsDarkTheme }
208
+ export default highchartsDarkTheme
@@ -204,4 +204,4 @@ const highchartsTheme = {
204
204
  },
205
205
  }
206
206
 
207
- export { highchartsTheme }
207
+ export default highchartsTheme
@@ -45,7 +45,7 @@ module Playbook
45
45
 
46
46
  # rubocop:disable Naming/AccessorMethodName
47
47
  def get_kits
48
- menu = YAML.load_file(Playbook::Engine.root.join("dist/menu.yml"))
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 = YAML.load_file(Rails.root.join("config/menu.yml"))
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
- examples_list = YAML.load_file(example_file)
88
- .inject({}) { |item, (k, v)| item[k.to_sym] = v; item }
89
- examples_list.dig(:examples, type) || []
87
+ ActiveSupport::ConfigurationFile.parse(example_file)
88
+ .transform_keys(&:to_sym)
89
+ .dig(:examples, type) || []
90
90
  else
91
91
  []
92
92
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "14.5.0"
5
- VERSION = "14.5.0.pre.alpha.PLAY1486highchartscssdrivenPOC3940"
5
+ VERSION = "14.5.0.pre.alpha.PLAY1486highchartscssdrivenPOC3944"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.5.0.pre.alpha.PLAY1486highchartscssdrivenPOC3940
4
+ version: 14.5.0.pre.alpha.PLAY1486highchartscssdrivenPOC3944
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX