isomorfeus-preact 10.5.4 → 10.5.5

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: 92daeaa6f6973b4d2e753e7466d900292a636fedb636d6c1534c541a746113a6
4
- data.tar.gz: 7a7ac6a939db1a8c9b10daf4a167971bcf19908b9ae9aaf960fb1a8d6243a876
3
+ metadata.gz: 5099cf9839b4aad7edb9989452c1d1e2a1a4d5a9c0a976604339c613c9b2a1c6
4
+ data.tar.gz: 6b439959ee9af20e6f2f90319e366a73c87d7c7b4ad4167833ee2521e88c8eca
5
5
  SHA512:
6
- metadata.gz: c62d10cd9ece7a8ba65b02f5e2e84b8c36279216dfdaf9365a193701522228bf7cbd98e4b933784ea9a86ca27b9a074d5e0807be4f367d0252efe3dd169e6089
7
- data.tar.gz: 64891193627696400afa83c1cad10e47eca8cd12f89c4fe9cae4aeb5f58b70de77cfc54b4ba02859c7436519848aa5254253d2804bfe089c9b440e937e28b17e
6
+ metadata.gz: 0be97f9a391ad39d689609712adc124460b784269087ca08c1fef07115564c288a20563d4ff771b5af6c4efc3d18bb8a947b1a07a6c2188120dc25aa548eb10f
7
+ data.tar.gz: 216bb6094f7f317bb7f12ff5178d20812c6d28c329264b9661b436abd940b1a5c7af5c9ed0a43ca2b655d7469c87482b699b94414632a4335e56cd90917bdda2
@@ -16,12 +16,12 @@ module Isomorfeus
16
16
  render_result
17
17
  end
18
18
 
19
- def mount_component(component_name, props = {}, asset_key = 'ssr.js', skip_ssr: false)
19
+ def mount_component(component_name, props = {}, asset_key = 'ssr.js', skip_ssr: false, use_ssr: false)
20
20
  @ssr_response_status = nil
21
21
  @ssr_styles = nil
22
22
  thread_id_asset = "#{Thread.current.object_id}#{asset_key}"
23
23
  render_result = "<div data-iso-env=\"#{Isomorfeus.env}\" data-iso-root=\"#{component_name}\" data-iso-props='#{Oj.dump(props, mode: :strict)}'"
24
- if !skip_ssr && Isomorfeus.server_side_rendering
24
+ if !skip_ssr && (Isomorfeus.server_side_rendering || use_ssr)
25
25
  if Isomorfeus.development?
26
26
  # always create a new context, effectively reloading code
27
27
  # delete the existing context first, saves memory
@@ -1,3 +1,3 @@
1
1
  module Preact
2
- VERSION = '10.5.4'
2
+ VERSION = '10.5.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isomorfeus-preact
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.5.4
4
+ version: 10.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Biedermann
@@ -84,16 +84,16 @@ dependencies:
84
84
  name: isomorfeus-asset-manager
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 0.12.2
89
+ version: 0.12.3
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 0.12.2
96
+ version: 0.12.3
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: isomorfeus-redux
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -168,16 +168,16 @@ dependencies:
168
168
  name: isomorfeus-puppetmaster
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
- - - ">="
171
+ - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: 0.5.1
173
+ version: 0.5.2
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
- - - ">="
178
+ - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: 0.5.1
180
+ version: 0.5.2
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: rake
183
183
  requirement: !ruby/object:Gem::Requirement