rest-client-jogger 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rest_client/core_ext/logged_request.rb +1 -0
- data/lib/rest_client/jogger/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78a1b64059fb65b0917ad0752737699a9a1618f9
|
4
|
+
data.tar.gz: 76a7a64dcca81929a3fb69c0f59916b14cc7c8e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 102dd95e61121843e22950b41668c24572ecfdae4e8beca1cd07c46a9d15e8c6b923931436d51f90020018c3557ca747796b4a869034a3c1a102c63f68ff8105
|
7
|
+
data.tar.gz: 01cb4d01bd797ca78d44c829b6fe6b2027ea9966b87782df75a04a5eadb77466128bf8223c1b3f3463184fd1da599bbba46d1100a4e2985a0b1936687a86b33f
|
@@ -18,6 +18,7 @@ module LoggedRequest
|
|
18
18
|
time = (Time.now - started).round(2)
|
19
19
|
content_type = content_type_from_headers(opts[:headers])
|
20
20
|
payload = filter(content_type).new(data: opts[:payload]).filter
|
21
|
+
opts[:headers].reject! { |k, _| k.to_s.casecmp('authorization').zero? } if opts[:headers]
|
21
22
|
params = opts.except(:user, :password, :payload).merge(payload: payload)
|
22
23
|
ActiveSupport::Notifications.instrument PATTERN,
|
23
24
|
log_data(params, response, exception, time)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rest-client-jogger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jordan Babe
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2017-11-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
@@ -244,7 +244,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
244
244
|
version: '0'
|
245
245
|
requirements: []
|
246
246
|
rubyforge_project:
|
247
|
-
rubygems_version: 2.
|
247
|
+
rubygems_version: 2.6.13
|
248
248
|
signing_key:
|
249
249
|
specification_version: 4
|
250
250
|
summary: Logs RestClient requests in a JSON format
|