quilt_rails 1.1.0 → 1.2.0

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: 0d59555e0d10e13afa570059f124babb2390a3f72b4680a28e0a9b2d7a33eee7
4
- data.tar.gz: 7312b49e3b665dc05c67c4ddcac0c4a37a7e977c4b00d1ab4b592860d7ba8398
3
+ metadata.gz: 37e297fafc5b69be129c5a4770dacf4f59f4268d7e6c20ec0ad5f04bcf04f553
4
+ data.tar.gz: 479e1d89872d29171328ed4fde97a734acbb6d87482dc3d585a4f5564cbe99dc
5
5
  SHA512:
6
- metadata.gz: d078988e9a4c121a1d27b5c992f3b316925fd76fb907e6db87aab6b656d44eaeea289ebcaeabe0ac0ba09a46b30640fbf0e781f7803d22794839c6a90ddbc29c
7
- data.tar.gz: 86eb0acf06b9327992c3b5f6c1470e3096d6079cc8c70b8a78f54910842f851a1a7cafbd0aaebfa891ee9c716cdab916e85c3b6fbe6caadd3c409c1f1b7f9c33
6
+ metadata.gz: e4241d2c553d44a385970ada0101e88461685b1dfc58bf057d02e97476df0662b7be908d453d8f920b9d268b5a8d3d42b2a2b568d9252ef9e6ae086cff112d43
7
+ data.tar.gz: bb2df14689c7255c6df563df49f3985b312109fc3f89521cf85252130540c29f945e9a860f99d432adc4ffa819a95c3d019d306d690761323cbf35fe8daa5244
@@ -4,8 +4,11 @@ module Quilt
4
4
  attr_accessor :react_server_host, :react_server_protocol
5
5
 
6
6
  def initialize
7
- @react_server_host = ENV['SERVICE_URL'] || 'localhost:8081'
8
- @react_server_protocol = ENV['SERVICE_PROTOCOL'] || 'http'
7
+ ip = ENV['REACT_SERVER_IP'] || 'localhost'
8
+ port = ENV['REACT_SERVER_PORT'] || 8081
9
+
10
+ @react_server_host = "#{ip}:#{port}"
11
+ @react_server_protocol = ENV['REACT_SERVER_PROTOCOL'] || 'http'
9
12
  end
10
13
  end
11
14
 
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Quilt
3
- VERSION = "1.1.0"
3
+ VERSION = "1.2.0"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quilt_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mathew Allen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-15 00:00:00.000000000 Z
11
+ date: 2019-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties