logstasher 1.1.0 → 1.1.1

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
  SHA1:
3
- metadata.gz: a145ef20aa7c10ed9477b6e6bebd87234165f75f
4
- data.tar.gz: bc3b6bad147c07d139589a5571cc91207fd6bf4b
3
+ metadata.gz: e70fe7cbaf3e195c1a4397006dafe495519305c7
4
+ data.tar.gz: 88af689515be8ebf981aa891643eb698d7668d28
5
5
  SHA512:
6
- metadata.gz: fce09c9c21ccb9557f4cd3de6dd159f39fd20613c3d5b2720fa103aa36dc85772bb8ca8bd0e212cec7f73036744487780089afb96a2eaaab090609356cf9e443
7
- data.tar.gz: d23b01e0585845e2cadb57dc01adbf74839c00ef25372a93a9b462b8cdf2721f6d2b09e7fc3d992492597c9088a9814013b42b376013c7c5657dccb319b22dda
6
+ metadata.gz: 5d766762c5cdf4965a0d76e46237f7ce29290487adc221f90dd04030668df0f4ff07243b8fdb4efd606ae79736bfaa6f71e553946b6ed77a731ab51c2dd63c34
7
+ data.tar.gz: e65bfbf19db2c66e3b63e04948a6eafb820698485c243d98f10c6d83931076cb438e53cc273af26fbbbc44965ccedee982bdb3320d307cadf1896b29d5197f80
@@ -67,8 +67,8 @@ module LogStasher
67
67
  LogStasher::CustomFields.add(*LogStasher.store.keys)
68
68
  instance_exec(fields, &block)
69
69
  end
70
- ::ActionController::Metal.send(:define_method, :logtasher_add_custom_fields_to_payload, &wrapped_block)
71
- ::ActionController::Base.send(:define_method, :logtasher_add_custom_fields_to_payload, &wrapped_block)
70
+ ::ActionController::Metal.send(:define_method, :logstasher_add_custom_fields_to_payload, &wrapped_block)
71
+ ::ActionController::Base.send(:define_method, :logstasher_add_custom_fields_to_payload, &wrapped_block)
72
72
  end
73
73
 
74
74
  def add_custom_fields_to_request_context(&block)
@@ -19,9 +19,9 @@ module LogStasher
19
19
  logstasher_add_custom_fields_to_request_context(LogStasher.request_context)
20
20
  end
21
21
 
22
- if self.respond_to?(:logtasher_add_custom_fields_to_payload)
22
+ if self.respond_to?(:logstasher_add_custom_fields_to_payload)
23
23
  before_keys = payload.keys.clone
24
- logtasher_add_custom_fields_to_payload(payload)
24
+ logstasher_add_custom_fields_to_payload(payload)
25
25
  after_keys = payload.keys
26
26
  # Store all extra keys added to payload hash in payload itself. This is a thread safe way
27
27
  LogStasher::CustomFields.add(*(after_keys - before_keys))
@@ -23,9 +23,9 @@ module ActionController
23
23
  logstasher_add_custom_fields_to_request_context(LogStasher.request_context)
24
24
  end
25
25
 
26
- if self.respond_to?(:logtasher_add_custom_fields_to_payload)
26
+ if self.respond_to?(:logstasher_add_custom_fields_to_payload)
27
27
  before_keys = raw_payload.keys.clone
28
- logtasher_add_custom_fields_to_payload(raw_payload)
28
+ logstasher_add_custom_fields_to_payload(raw_payload)
29
29
  after_keys = raw_payload.keys
30
30
  # Store all extra keys added to payload hash in payload itself. This is a thread safe way
31
31
  LogStasher::CustomFields.add(*(after_keys - before_keys))
@@ -1,3 +1,3 @@
1
1
  module LogStasher
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstasher
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shadab Ahmed
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-17 00:00:00.000000000 Z
11
+ date: 2017-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logstash-event