props_template 0.22.2 → 0.22.3

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: 34091400c3d4780e7af54a7f5c413384fc50628fe401ed3922cfd14e8d11c5d6
4
- data.tar.gz: 0ca3c6fb38f9d9c7b4d149e0c68bad8366de9cc0407d0d3a0492d335cad4566b
3
+ metadata.gz: 93955e5709c9e347f3f95835055436c686d76604c14cef9c3dbb8db563a6a027
4
+ data.tar.gz: de42a4e0fce0730ee877508bdba102a62fd1f6209c67c06b73e3baeb2a344dc4
5
5
  SHA512:
6
- metadata.gz: 86d5f12f9319172b0880c202063eeae1a3a8ad963a52430ca7f0c06e77000ab296e82832a432823e46c2fe87116ca47a3a0a314c4367422110f6da0761ad6b9b
7
- data.tar.gz: 721aa65b13b218be19bdfe1a10c032f52929b4c61228c7947ae49d92a9d08aca2022ec2043f1a691d4b127bb63426e5ca25920af453a35ec4da49464fd64809b
6
+ metadata.gz: d9120b2f653b9a72b09b5e3970f5d76cc8d4f11ee2c3bb5d51ea0de626236a15650d24ab786c5ad114416a6b80811ac73055929f229c235bce4c59701c34055d
7
+ data.tar.gz: 590bcbe4357862711c1aed726c367f2a8cab62fff2791fa558a03f429dca4d22275c059445c446514a4028e08c869e2a6af51c726732e444be964a8d1987f888
@@ -7,7 +7,7 @@ module Props
7
7
  @details = extract_details(options)
8
8
  template = determine_template(options)
9
9
 
10
- if template.handler == Props::Handler && options[:layout]
10
+ if template.respond_to?(:handler) && template.handler == Props::Handler && options[:layout]
11
11
  prepend_formats(template.format)
12
12
  render_props_template(context, template, options[:layout], options[:locals])
13
13
  else
@@ -1,3 +1,3 @@
1
1
  module Props
2
- VERSION = "0.22.2".freeze
2
+ VERSION = "0.22.3".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: props_template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.2
4
+ version: 0.22.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Johny Ho
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-30 00:00:00.000000000 Z
11
+ date: 2023-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport