hubrise_initializer 0.2.2.4 → 0.2.2.5

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: 38a0b1e4aaa8973347597a11bba638e38e61f6c19028fbdbfda8a8a4041eb5c1
4
- data.tar.gz: e630c7e49057b857a3c342f3fb9ca5d49a2c2a6e729caa904ddf913a68701e9b
3
+ metadata.gz: 937fe120fe01034d7f0c5df5c91a11cfe9bb945f6e37b2afeccc4e27a5a2f917
4
+ data.tar.gz: '079af4cb6224b5b8cad3c79dc41b7fe07d0f9e466ee7152a776661a34d43dc53'
5
5
  SHA512:
6
- metadata.gz: 2e49577d6eaf39b80849576ad54017813a7297b9376b48249ecad8be21f55b944145dacfa3c29eb920770231ad683f75e9cca00e8fd84673e9411d00debf7543
7
- data.tar.gz: bb63fc2423756d040a67860700e39946654e78ca031f8884a35abdcde7a3491aedeefa140543cf171da4ed03fef0b7f839962eb0b6062e647e81e860b1f40c74
6
+ metadata.gz: b6e7a4f4568cde4676c5db5832190f2c5151b721b59fd92f36d249392a1988120ccce6ddc7b0384cf7dd4f615a98118cca0dd6ad9615668737cc405c2cfdc730
7
+ data.tar.gz: a1362ecfcf7bf37c9a54b69fa9f8bc78db32aca433b621381b89c723fe173d0685b91ff513cef4079afacd1e674a2918f15e19460ce46353e4f085c0b05089c9
@@ -16,10 +16,11 @@ class HubriseInitializer
16
16
  }.merge(
17
17
  if ENV['RAILS_LOGRAGE_QUERY'] == 'true'
18
18
  puts "request.raw_post.encoding = #{request.raw_post.encoding} - request.raw_post = #{request.raw_post}\n\n"
19
+ puts "request.raw_post.force_encoding(Encoding::UTF_8).encoding = #{request.raw_post.force_encoding(Encoding::UTF_8).encoding} - request.raw_post.force_encoding(Encoding::UTF_8) = #{request.raw_post.force_encoding(Encoding::UTF_8)}\n\n"
19
20
  puts "response.body.encoding = #{response.body.encoding} - response.body = #{response.body}\n\n"
20
21
  {
21
22
  request_headers: process_request_headers(request).to_s,
22
- request_body: truncate_body(request.raw_post),
23
+ request_body: truncate_body(request.raw_post.force_encoding(Encoding::UTF_8)),
23
24
  response_headers: response.headers.to_h.to_s,
24
25
  response_body: truncate_body(response.body),
25
26
  }
@@ -1,3 +1,3 @@
1
1
  class HubriseInitializer
2
- VERSION = '0.2.2.4'.freeze
2
+ VERSION = '0.2.2.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hubrise_initializer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2.4
4
+ version: 0.2.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Antoine Monnier