eivo-rails-api 0.1.12 → 0.1.13

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: 0e1fe806702976c10a68369fa78dd2ce3b4fb693e80f8d37e20d592fc1871956
4
- data.tar.gz: e652fc339b44cd44ab680cab8e510f90655bb74538bdff657cea66bf4d415f2b
3
+ metadata.gz: 9a7fec1b66e25e2c1aef85dd8d18b1b69a83cefb4d47494fae2d73b8dec21089
4
+ data.tar.gz: 2fdae83eb7d5d86676ca3dfd077d90c2be93064e54e24800d88f7fc6e378ae59
5
5
  SHA512:
6
- metadata.gz: cfff26599d151a387f26500c3898993055d704360b17e2b477a172d7de775bb6cea53844057bda5ce4643f1dbabfafce143c6fdffe44527c62e651d3c891d30f
7
- data.tar.gz: adeed7317b7c66c0c12104aec73d24fbaa4d56e69a0e702a711dc6cc37bb05dffa232457317a9397b1e05b8dd81f494f2964fb87a68e3bfbc643408094773e64
6
+ metadata.gz: f5bf240b46c716222cd59c69ff698545c1dd009a6bd58dd51af1f81479e0815da8f91e57042d9f9551bf23e234ba67b4a07b390f24aaf5fbd86200b336146d6b
7
+ data.tar.gz: fd533ff30d8182382764fa799150c7b342d08040e9b261f5c1ff28a8e99463b6a138badf800a5ef3880e95f49ca122f50c83077dc4304611faa70b16ed9cb0ec
@@ -16,8 +16,11 @@ if Rails.env.staging? || Rails.env.production?
16
16
  config.lograge.ignore_actions = ['EIVO::StatusController#index']
17
17
 
18
18
  config.lograge.custom_options = ->(event) do
19
- result = event.payload || {}
19
+ result = event.payload.dup || {}
20
20
 
21
+ result.delete(:headers)
22
+
23
+ # Removed because already present in event.payload
21
24
  if result[:params]
22
25
  result[:params] = result[:params].except('controller', 'action', 'format')
23
26
  end
@@ -4,7 +4,7 @@ $LOAD_PATH.push File.expand_path('lib', __dir__)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'eivo-rails-api'
7
- spec.version = '0.1.12'
7
+ spec.version = '0.1.13'
8
8
  spec.authors = ['Jonathan VUKOVICH-TRIBOUHARET']
9
9
  spec.email = ['jonathan@eivo.co']
10
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eivo-rails-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan VUKOVICH-TRIBOUHARET