copy_tuner_client 0.4.6 → 0.4.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/copy_tuner_client/copyray_middleware.rb +4 -5
- data/lib/copy_tuner_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac7de9e94feb84dcd83112003007f9a2c8c334ef0a446ecfb1b3ea822c1b34fb
|
4
|
+
data.tar.gz: d5eb971a3f94c2f471476a46c76a5eaed0f5b28d6b7476e051ee95563e91252d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 684e8d5fa455555b9da8c3cc2e0fb09238da7a4e7cd65050c7b44eb72a27ddea10d1db9d1d737e6d329553a34a724aa726bb2de728e5650372e565e0e8d386c5
|
7
|
+
data.tar.gz: 3ce3e0e8851c86d20644bc6c85653f1c1b4e01f52fcb5e87a025a87e8de65e4ff1191b1bd06fceafbb5c2c613604090221777f4b381c6461776e989a3997dfa4
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -15,12 +15,11 @@ module CopyTunerClient
|
|
15
15
|
body = append_translation_logs(body)
|
16
16
|
body = inject_copy_tuner_bar(body)
|
17
17
|
content_length = body.bytesize.to_s
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
18
|
+
headers['Content-Length'] = content_length
|
19
|
+
# maintains compatibility with other middlewares
|
20
|
+
if defined?(ActionDispatch::Response::RackBody) && ActionDispatch::Response::RackBody === response
|
21
|
+
ActionDispatch::Response.new(status, headers, [body]).to_a
|
22
22
|
else
|
23
|
-
headers['Content-Length'] = content_length
|
24
23
|
[status, headers, [body]]
|
25
24
|
end
|
26
25
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: copy_tuner_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SonicGarden
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|