isomorfeus-react 16.9.3 → 16.9.4

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: 81bc6523000cdabde5e53469a494472e5fc2bbf8afdfdc4ba90b5d0483f5aae5
4
- data.tar.gz: f8c768ab6fadb01f0199b0cec8db35356b30759897369ba8db0c340ad5f2b15a
3
+ metadata.gz: 130e5c42bf50ff422d94f269e43b5339eae2364cb44d5bcfb1a288ac6e19350e
4
+ data.tar.gz: fd5573839b4c89edceda8ebe29bf8e202e53bc6cafc59b8b5d1d66b19420d321
5
5
  SHA512:
6
- metadata.gz: 613e7d265c470bab6690c0808395f699438dfcba5b71a1a346ebbbf9a0f897c8678d2afdd05409493ba64aa920c8af7fc3ad1c7a173ac5f2627cd369fb3f6c02
7
- data.tar.gz: dbd5819a705824b0701650c5ea7e9c61a176d03eae852eb698de96652b7e89681f8d6e4e54353ee69b2308f274b77acd970a159601d862727c9eb8dc22cca4f7
6
+ metadata.gz: ee586d6c9b6e3119f2426a392b2b0f84d7a68634e03b663ddf10f5399d0213494d051d9c6cdf8d6b4fdb964f3cc709455b410e70d289afa8639d209c55baa4ce
7
+ data.tar.gz: d3aa97bd524eb1d71c27a42c750cd1edda3b7dd5b23b4817c2f3116561bacb12d3c4224d2f239619c2296a544e26c2ffafa57b0e5475af25e2e621d43413c734
@@ -21,12 +21,11 @@ module Isomorfeus
21
21
  ws_scheme = props[:location_scheme] == 'https:' ? 'wss:' : 'ws:'
22
22
  location_host = props[:location_host] ? props[:location_host] : 'localhost'
23
23
  api_ws_path = Isomorfeus.respond_to?(:api_websocket_path) ? Isomorfeus.api_websocket_path : ''
24
+ transport_ws_url = ws_scheme + location_host + api_ws_path
24
25
  javascript << <<~JAVASCRIPT
25
- var location_host = '#{location_host}';
26
- var ws_scheme = '#{ws_scheme}';
27
26
  var api_ws_path = '#{api_ws_path}';
28
27
  if (typeof global.Opal.Isomorfeus.Transport !== 'undefined' && api_ws_path !== '') {
29
- global.Opal.Isomorfeus.TopLevel["$transport_ws_url="](ws_scheme + location_host + api_ws_path);
28
+ global.Opal.Isomorfeus.TopLevel["$transport_ws_url="]("#{transport_ws_url}");
30
29
  global.Opal.send(global.Opal.Isomorfeus.Transport.$promise_connect(), 'then', [], ($$1 = function(){
31
30
  try {
32
31
  global.Opal.Isomorfeus.TopLevel.$render_component_to_string('#{component_name}', #{Oj.dump(props, mode: :strict)});
@@ -1,3 +1,3 @@
1
1
  module React
2
- VERSION = '16.9.3'
2
+ VERSION = '16.9.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isomorfeus-react
3
3
  version: !ruby/object:Gem::Version
4
- version: 16.9.3
4
+ version: 16.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Biedermann