logstash-filter-fix_protocol 0.3.0 → 0.3.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 +4 -4
- data/lib/logstash/filters/extensions/event.rb +2 -7
- data/logstash-filter-fix_protocol.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 679363f6ca129a34346cf7656cfcdd2f2efff087
|
|
4
|
+
data.tar.gz: 5130b49b6ca69deaba17a0b1e90298b5b516d723
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 89aedbc190464973bb7e6e48cbd599ce14d837265bc35dff2506e870b51a686e4381d2558838c3e409d35acc66067af9b81955ab6f5604cf1cf37ced81e9e605
|
|
7
|
+
data.tar.gz: f88b5e2320fa6ce56515ad5f74e87f0b5fe531d1c6f6ce47366d20b43050590777a203e5142d61c0b9e77288e22d08b83a649a5a668619d6b6f403ae8ea66cbd
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
# monkey-patch deprecated breaking change from 5x
|
|
3
3
|
class LogStash::Event
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
end
|
|
7
|
-
|
|
8
|
-
def []=(key, val)
|
|
9
|
-
respond_to?(:set) ? set(key, val) : super(key, val)
|
|
10
|
-
end
|
|
4
|
+
alias :[] :get if method_defined?(:get)
|
|
5
|
+
alias :[]= :set if method_defined?(:set)
|
|
11
6
|
end
|