fluent-plugin-wendelin 0.2 → 0.3
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/fluent-plugin-wendelin.gemspec +1 -1
- data/lib/fluent/plugin/wendelin_client.rb +5 -5
- 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: 16421dddd4db913fcdc9c1c50de6c83065014e9c
|
|
4
|
+
data.tar.gz: 7af5466ec21e0b9845ff1fef6e1e85d2b4fd5a56
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7ecff204b3f1b6ccc090709ecf00f88fa511be03e9912e1a1aa5761ba9e0a39b871df297e50796a26c9640f266eeed198d061dc502079677053e3dac107b12e7
|
|
7
|
+
data.tar.gz: 98be162b72588df472140aa7c2eb033c70c3ac4d36fc9fde4c4b3d6ab85934bcb5e9c96320bf781c0f41e351494f0818cd60f0e7041950157558b67838dc30da
|
|
@@ -41,11 +41,11 @@ class WendelinClient
|
|
|
41
41
|
req.basic_auth @credentials['user'], @credentials['password']
|
|
42
42
|
end
|
|
43
43
|
|
|
44
|
-
#
|
|
45
|
-
#
|
|
46
|
-
#
|
|
47
|
-
|
|
48
|
-
req.
|
|
44
|
+
# When using 'application/x-www-form-urlencoded', Ruby encodes with regex
|
|
45
|
+
# and it is far too slow. Such POST is legit:
|
|
46
|
+
# https://stackoverflow.com/a/14710450
|
|
47
|
+
req.body = data_chunk
|
|
48
|
+
req.content_type = 'application/octet-stream'
|
|
49
49
|
|
|
50
50
|
@log.on_trace do
|
|
51
51
|
@log.trace '>>> REQUEST'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-wendelin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: '0.
|
|
4
|
+
version: '0.3'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kirill Smelkov
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-10-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fluentd
|
|
@@ -62,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
62
62
|
version: '0'
|
|
63
63
|
requirements: []
|
|
64
64
|
rubyforge_project:
|
|
65
|
-
rubygems_version: 2.5.1
|
|
65
|
+
rubygems_version: 2.5.2.1
|
|
66
66
|
signing_key:
|
|
67
67
|
specification_version: 4
|
|
68
68
|
summary: Fluentd output to Wendelin
|