quilt_rails 3.5.1 → 3.5.2

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: aa72dc117e88bc8726ec6dcc658d86fe6882b62d91a964bac6267b351de1c595
4
- data.tar.gz: d11b303d107674073e8a0bc597b59861ef627251c64554c515ef978f497cbe5e
3
+ metadata.gz: e75a3c9179f160afc62c9d7d275913577f1d8f2e639018854e90a823451481ca
4
+ data.tar.gz: a5979cb7e422567a9f6ab641776fdb59fb9304dd3e6bb83b9313b482798ac427
5
5
  SHA512:
6
- metadata.gz: b38651e9772a2a6882a9ab3064897e3f9c78ad75a05f9f2f6cedcb77602c59ba12581187c800694758dc841bdc87fde6a261d3c8516478639e58b9fe60f8263d
7
- data.tar.gz: ef8e6e54e66d7e9132d738fb51efc5ccc06c4d7e243201ddd177fda4992e6260d1bb9b5790a7eeaa785c8f31f2e3f39f2cdec5119508ceae8fabd2e188a3cb85
6
+ metadata.gz: 9bf77688d4b8e9fd4503e0528318a5b4f3cf6a5fd21d6accc75673a29b65765940ef11c4cdc4896c81de44a95c1f007195229c8a4b5532a87ff53b1119a90c8a
7
+ data.tar.gz: e42d50020da5d75bd4d6695bcdd7580cf17e339e32d6bc15e85da67c6aa4015aec6293625bfc658781ca3d6671fd820c4a5ad20a29a442bfb483f375041a7a26
@@ -40,9 +40,10 @@ module Quilt
40
40
  end
41
41
 
42
42
  begin
43
+ data_json = JSON.generate(data.as_json, ascii_only: true)
43
44
  reverse_proxy(
44
45
  url,
45
- headers: headers.merge('X-Request-ID': request.request_id, 'X-Quilt-Data': data.to_json)
46
+ headers: headers.merge('X-Request-ID': request.request_id, 'X-Quilt-Data': data_json)
46
47
  ) do |callbacks|
47
48
  callbacks.on_response do |status_code, _response|
48
49
  Quilt.logger.info("[ReactRenderable] #{url} returned #{status_code}")
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Quilt
3
- VERSION = "3.5.1"
3
+ VERSION = "3.5.2"
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: 3.5.1
4
+ version: 3.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mathew Allen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-30 00:00:00.000000000 Z
11
+ date: 2021-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties