akita-har_logger 0.2.8 → 0.2.9

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: 4c48c0c45ad4fc65a7dcfa32c042ff24039025111dead2a610c5b956e1cf24e9
4
- data.tar.gz: 85becb20d70489a5d8e48d275e894b40325acf010714f1d9d8031a90ead03996
3
+ metadata.gz: c1366b8824f9cd610742238604c0d162845132a67dd67e9763542ae271cf0b7d
4
+ data.tar.gz: 2ca5e09f1f65045405ce549b194fa4a51573663f43e1f3ecdde5c73d930538c2
5
5
  SHA512:
6
- metadata.gz: 02b3c2b375f134945aa2c7e20552771bc4829c7644b3e5d04561177e4806c2f0245b8219808e4fd608bd4da379187d7d4a2bb14e3b58ca72e69b737c14c83e57
7
- data.tar.gz: 40bdf185b1dda6a8b83b124599931597f4363f61470ab5253645a4ff3ba028470f50254faffab63b7bf1b3334a96a86c01eb7ac005c39c1b589d98c3899ebeb5
6
+ metadata.gz: 82b07817b21e2e05c0f5c5139370c7bdd9b712dcd02e134b9d52be1d1ce95a00e4ff200067c0797a9be1a1f2b56a0518a2fac0526696bb3de3700f8f58c9bd44
7
+ data.tar.gz: 45ea9d1c479cb47f481c1b3fb7eba1dc8032dc692dc69d478e8cba98b2abb14d94e685efff5d5591785a871ddecc787166c99f70ceb2d99fc5f6961803f27a49
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- akita-har_logger (0.2.8)
4
+ akita-har_logger (0.2.9)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -121,7 +121,8 @@ module Akita
121
121
  # Gracefully handle any characters that are invalid in the source
122
122
  # encoding and characters that have no UTF-8 representation by
123
123
  # replacing with '?'. Log a warning when this happens.
124
- source = req.body.string.force_encoding(getPostDataCharSet(env))
124
+ sourceCharset = getPostDataCharSet(env)
125
+ source = String.new(req.body.string).force_encoding(sourceCharset)
125
126
  utf8EncodingSuccessful = false
126
127
  if source.valid_encoding? then
127
128
  begin
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Akita
4
4
  module HarLogger
5
- VERSION = "0.2.8"
5
+ VERSION = "0.2.9"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: akita-har_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jed Liu
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-07-15 00:00:00.000000000 Z
11
+ date: 2021-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -54,7 +54,7 @@ licenses:
54
54
  metadata:
55
55
  homepage_uri: https://akitasoftware.com/
56
56
  source_code_uri: https://github.com/akitasoftware/akita-rails-har-logger
57
- post_install_message:
57
+ post_install_message:
58
58
  rdoc_options: []
59
59
  require_paths:
60
60
  - lib
@@ -69,8 +69,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.2
73
- signing_key:
72
+ rubygems_version: 3.2.21
73
+ signing_key:
74
74
  specification_version: 4
75
75
  summary: Rails middleware for HAR logging
76
76
  test_files: []