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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a21813dbbba65ecf388143cd10f14e19836a9814
4
- data.tar.gz: 3611d2f33c4a63c434f7a2a94444506e50112eaf
3
+ metadata.gz: 78a1b64059fb65b0917ad0752737699a9a1618f9
4
+ data.tar.gz: 76a7a64dcca81929a3fb69c0f59916b14cc7c8e9
5
5
  SHA512:
6
- metadata.gz: 534fe5e36741f8427d7189240597ff2ed0ecb34607420fec6513c150e0fccca348ac9db69658512cab3cc6d9ab8b0bfa5e6f33bc8d833da1a9a383b6bdedcdd6
7
- data.tar.gz: 976d66d2fa64cfb13fa0cdd4dd0f57946d603ad7199baa420083acc7d37e0b94b6bf17f301d13c0e33eaf840b1a45d59190cc24fcb3b15ffb772f3becd98c2bd
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)
@@ -1,5 +1,5 @@
1
1
  module RestClient
2
2
  module Jogger
3
- VERSION = '0.3.3'.freeze
3
+ VERSION = '0.3.4'.freeze
4
4
  end
5
5
  end
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.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: 2016-12-01 00:00:00.000000000 Z
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.5.1
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