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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 68e78479a9d1e51707bb4791076a1709811184614d05a42fcef9c625dbbc8f2b
4
- data.tar.gz: fd57e5ecea6b1a8fa9d3f4dd64007de974dab14a779a0058b3d555450ed3e2af
3
+ metadata.gz: 7d3e7de3fa5bd590a56b31fc26671e30a8f03e45826b03866b6ba0ac78de2e62
4
+ data.tar.gz: d42d60a7e982a9242a89142107e015f2e2275d44df9721b6f4cb934136951a8a
5
5
  SHA512:
6
- metadata.gz: f89c0b53ad425369de8da81a22e2c6f3e197a794d3646989c2df1cfef4df67904d4ba17096fe1078d048ed404a718426e503054cc64a02a1e7f37f7b92c916d8
7
- data.tar.gz: 8a63cf6fd2b7d149897994e799b77c5540a9f6393fdad4c5658243c37c2bd30ad4d01d6808c97def54330fb2910d3d0f436968c4433cdefef8d32b2fb285cd06
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
- MENU["kits"][type]
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
- MENU["kits"].each do |_type, kits|
55
+ menu["kits"].each do |_type, kits|
54
56
  kits.each do |kit|
55
57
  case kit
56
58
  when Hash
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "13.7.0"
5
- VERSION = "13.7.0.pre.alpha.play845allkitsbytypes1232"
5
+ VERSION = "13.7.0.pre.alpha.play845allkitsbytypes1234"
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: 13.7.0.pre.alpha.play845allkitsbytypes1232
4
+ version: 13.7.0.pre.alpha.play845allkitsbytypes1234
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX