quilt_rails 2.0.0 → 3.0.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: c6dead256d2474833a254f212522b7e05b4c7a798d082a2a84b7b2003606583d
4
- data.tar.gz: c77e268a3c4be95a2990087ad03400cf16c5b8ba8fcd25f36cbb095b7ce6d169
3
+ metadata.gz: c38993bec98aa474ec2a1833abc0ab868085cba9a4521eb2007bfcaca6c12194
4
+ data.tar.gz: be6a1c6e8a9ff87a8030d118bbe33fc5779d506070ac05d0a817653980044023
5
5
  SHA512:
6
- metadata.gz: ebc9c4a21b3e5046583a3e9711c084856c2a46844806f058d26e0bc90b06bab6f9be7074b91c216d75ccfb6883fe20c01fc250744a6c2b725b63633b88046ae5
7
- data.tar.gz: 4c490e4b849cd5a6e548285129eaa130c7217c4d9534b76899a274983ce298a568d5e7713d59a31bd1406e4f46e91ce34b4d4b2c089ecf424cd704d572a2b638
6
+ metadata.gz: 9abee4ef36e0de59346a5a0310c50074cb54f3bb6b59f228cb3aa65c2307a0ef05b719bfe391849c98e866256bc3d9380e14e41a06310c5fb0c66d02ab87f259
7
+ data.tar.gz: 6fc3bacb20732cae063fc83cbf4761ca2db8f5fdc952796187f640b0058ab8cf3904e171fdc755b8b4db1d1d6a2d5e6ed19a4d9eb005b02e2bb4a562ef67317b
@@ -37,10 +37,9 @@ module Quilt
37
37
  end
38
38
 
39
39
  begin
40
-
41
40
  reverse_proxy(
42
41
  url,
43
- headers: headers.merge('X-CSRF-Token': form_authenticity_token, 'X-Quilt-Data': headers.merge(data).to_json)
42
+ headers: headers.merge('X-CSRF-Token': form_authenticity_token, 'X-Quilt-Data': data.to_json)
44
43
  ) do |callbacks|
45
44
  callbacks.on_response do |status_code, _response|
46
45
  Quilt::Logger.log("[ReactRenderable] #{url} returned #{status_code}")
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Quilt
3
- VERSION = "2.0.0"
3
+ VERSION = "3.0.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: 2.0.0
4
+ version: 3.0.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: 2020-06-08 00:00:00.000000000 Z
11
+ date: 2020-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties