qodex-rails 0.1.16 → 0.1.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e88448baabd3c75fe3d312fe1b58fa9a0ba449d457f5acd4b4727efb1f9dcc5c
4
- data.tar.gz: 40239b7f2e897ef1f6ed3ca51f54b4a1af66a3c95c28cf3d3ac1d12090d5004c
3
+ metadata.gz: ea44a483e6aa5b9a0256ad3bf9be3da14ddf820af5aacec1dba49310282ee8ef
4
+ data.tar.gz: 8f00c98d8144d5c5a01a0adccaa4193e3d520be3b1b6a1f9b8d5ab3a7b5dbbfa
5
5
  SHA512:
6
- metadata.gz: 40233126d4c00ca269c1f04f0038c5222d365496b0eb6d5ee8b9233d8d47d1a34a850fac55022738b69c2b04d6d641bbb19659e011f1a6f097c43fa7e9693a97
7
- data.tar.gz: 89246f891ba54b5617b77e1811b53200cec88bbdf097bb80fa9fe254a3d3d4ae50a4d44a2f3123d8a64e9e67394f710b784008819a1305e92121075087b247af
6
+ metadata.gz: 48dcddcf6e7548de399a4a87c691846c6b998c5a72ffffd77089d23aad37b43dc8caa4145f839612e36ef9d0b45282e41df4fec7ec29b14abcb066390f5bc5a0
7
+ data.tar.gz: d83a6f240b820bf731fd9cb865ed4fa6550593436cf8267e925fcc9a3221cb708abf50848027eb131d97e9f1ebba4acef5a905c41a483b18567d75f2a4bb82a5
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Qodex
4
4
  module Rails
5
- VERSION = "0.1.16"
5
+ VERSION = "0.1.17"
6
6
  end
7
7
  end
@@ -42,9 +42,6 @@ module QodexRails
42
42
 
43
43
  # Capture the request details
44
44
  request = Rack::Request.new(env)
45
- request_body = request.body.read
46
- request.body.rewind
47
-
48
45
  status, headers, response = @app.call(env)
49
46
  response_content_type = response.instance_eval('@response').headers['content-type']
50
47
  if response_content_type.present? && !(response_content_type.include?('application/json'))
@@ -72,7 +69,6 @@ module QodexRails
72
69
  response_headers = MaskingUtil.mask_data(response_headers, pii_masking)
73
70
  request_params = MaskingUtil.mask_data(request_params, pii_masking)
74
71
  response_body = MaskingUtil.mask_data(response_body, pii_masking)
75
- request_body = MaskingUtil.mask_data(request_body, pii_masking)
76
72
  request_url = MaskingUtil.mask_query_params(request.url, pii_masking)
77
73
 
78
74
  # Construct the logs
@@ -83,7 +79,6 @@ module QodexRails
83
79
  controller_name: controller_name,
84
80
  action_name: action_name,
85
81
  time_spent: (end_time - start_time).to_i,
86
- body: request_body,
87
82
  response_body: response_body,
88
83
  body_type: 'none-type',
89
84
  request_type: request.request_method,
@@ -1,3 +1,3 @@
1
1
  module QodexRails
2
- VERSION = "0.1.16"
2
+ VERSION = "0.1.17"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qodex-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.16
4
+ version: 0.1.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - sid