matestack-ui-core 3.0.0 → 3.0.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 +4 -4
- data/lib/matestack/ui/core/helper.rb +4 -1
- data/lib/matestack/ui/core/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a07026d4b16d912c6a7618b95a8e87604c31bc91277eb983e071e5b9e19106c8
|
|
4
|
+
data.tar.gz: 942f8dba3c8a117ef980c4c7a8f76f4fb8993399d605f46c9c8f2acc3b1b7190
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1121b6029b79907edd42b686ad05b98f3bde3775bceba679390d071e475c71117c9a66fea3616ae6dbc94e8b6c15f8922617d54405db95a99aa65db2524c2473
|
|
7
|
+
data.tar.gz: 3b16c00a0014f0d60260450e0498ad69cd34fe126f03f2a71ebd6a192631b763d90a74f5f1ed1ee6487f90b0a2a738587ee46195a65175c92519187134fa918f
|
|
@@ -36,7 +36,10 @@ module Matestack
|
|
|
36
36
|
if controller_layout == false
|
|
37
37
|
root_layout = layout ? layout.layout : false
|
|
38
38
|
else
|
|
39
|
-
|
|
39
|
+
# when using the turbo-rails gem, controller_layout is a Proc
|
|
40
|
+
# https://github.com/hotwired/turbo-rails/blob/v1.0.1/app/controllers/turbo/frames/frame_request.rb#L16
|
|
41
|
+
# and not nil or a string indicating which layout to be used like before
|
|
42
|
+
if controller_layout.nil? || controller_layout.is_a?(Proc)
|
|
40
43
|
root_layout = "application"
|
|
41
44
|
else
|
|
42
45
|
root_layout = controller_layout
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: matestack-ui-core
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jonas Jabari
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-04-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
71
71
|
- !ruby/object:Gem::Version
|
|
72
72
|
version: '0'
|
|
73
73
|
requirements: []
|
|
74
|
-
rubygems_version: 3.
|
|
74
|
+
rubygems_version: 3.2.15
|
|
75
75
|
signing_key:
|
|
76
76
|
specification_version: 4
|
|
77
77
|
summary: Escape the frontend hustle & easily create interactive web apps in pure Ruby.
|