playbook_ui 14.5.0 → 14.6.0.pre.rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c323706076c08d2191bb507c94cf711fbb21957412513edeb7e57c36d099037c
4
- data.tar.gz: '079b77b7edecd9ce5a8c0d252f029ec67e758c30b7d1469fb9de35ef91cd9d9e'
3
+ metadata.gz: c4fa2417d7b93f18c4f7b3f394149c329f53827f2bb4cc093a157ef8e844a08a
4
+ data.tar.gz: da5ee676b68f13ab365a6d75226251306c9e22969b38f5ce7d28266bd05aeb75
5
5
  SHA512:
6
- metadata.gz: 1905e1368e12c0a3d34622c0c6d27e3c382bb37d5f6489525b31c51d43e4e6f0173c3922bf88f3ae3356d253a01730f6f413f1c4e730a53adc0e1bda7d71bd66
7
- data.tar.gz: 561bf8f8fcc2ae777fcf670b01b4969dfc47e3e406b6caea75815bd240190353a2d37abba20a14d59ca0a627adbafe2fe8bfdfe95e0eb11f192048cdcad13401
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 = 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
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Playbook
4
- PREVIOUS_VERSION = "14.4.0"
5
- VERSION = "14.5.0"
4
+ PREVIOUS_VERSION = "14.5.0"
5
+ VERSION = "14.6.0.pre.rc.1"
6
6
  end
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.5.0
4
+ version: 14.6.0.pre.rc.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
8
8
  - Power Devs
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
  date: 2024-10-01 00:00:00.000000000 Z
@@ -3156,7 +3156,7 @@ homepage: https://playbook.powerapp.cloud/
3156
3156
  licenses:
3157
3157
  - ISC
3158
3158
  metadata: {}
3159
- post_install_message:
3159
+ post_install_message:
3160
3160
  rdoc_options: []
3161
3161
  require_paths:
3162
3162
  - lib
@@ -3172,7 +3172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
3172
3172
  version: '0'
3173
3173
  requirements: []
3174
3174
  rubygems_version: 3.5.3
3175
- signing_key:
3175
+ signing_key:
3176
3176
  specification_version: 4
3177
3177
  summary: Playbook Design System
3178
3178
  test_files: []