fluent-plugin-out-http 1.3.2 → 1.3.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/.travis.yml +4 -5
- data/CHANGELOG.md +2 -0
- data/fluent-plugin-out-http.gemspec +1 -1
- data/lib/fluent/plugin/out_http.rb +1 -1
- data/test/plugin/test_out_http.rb +16 -16
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6d4a3bd96989a1de8d1d71e651bcb22fb69c679c29901f8f3f38f9f76ff659fd
|
|
4
|
+
data.tar.gz: c50fda8ab077e2c14f8bcfed38b083d732a279ac1356cd0e2db106d279bcbe47
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 69257fe22d883dda33db126e5bb866697277544f3f3142f741c736ab0c57698e280db6a60035dd3c8468adf22090fb7d1bdf14279522b8e4477df4eb47d6a708
|
|
7
|
+
data.tar.gz: 89aeda125386401d33c02f6b144563c14a737b762a56e79ea60bb08dd7ba7a3009012b12bbd965cf8de240ca8932838939750dacafacda4801a3a6d16f933310
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |gem|
|
|
4
4
|
gem.name = "fluent-plugin-out-http"
|
|
5
|
-
gem.version = "1.3.
|
|
5
|
+
gem.version = "1.3.3"
|
|
6
6
|
gem.authors = ["Marica Odagaki"]
|
|
7
7
|
gem.email = ["ento.entotto@gmail.com"]
|
|
8
8
|
gem.summary = %q{A generic Fluentd output plugin to send logs to an HTTP endpoint}
|
|
@@ -471,21 +471,21 @@ class HTTPOutputTest < HTTPOutputTestBase
|
|
|
471
471
|
assert_equal 1, @posts.size
|
|
472
472
|
record = @posts[0]
|
|
473
473
|
|
|
474
|
-
expected =
|
|
475
|
-
|
|
474
|
+
expected =[
|
|
475
|
+
{
|
|
476
|
+
"binary" => "\u3042",
|
|
476
477
|
"field1" => 50,
|
|
477
478
|
"field2" => 20,
|
|
478
479
|
"field3" => 10,
|
|
479
|
-
"otherfield" => 1
|
|
480
|
+
"otherfield" => 1
|
|
481
|
+
},
|
|
482
|
+
{
|
|
480
483
|
"binary" => "\u3042",
|
|
481
|
-
}) + "\n" +
|
|
482
|
-
Yajl.dump({
|
|
483
484
|
"field1" => 70,
|
|
484
485
|
"field2" => 30,
|
|
485
486
|
"field3" => 20,
|
|
486
|
-
"otherfield" => 2
|
|
487
|
-
|
|
488
|
-
}) + "\n"
|
|
487
|
+
"otherfield" => 2
|
|
488
|
+
}
|
|
489
489
|
]
|
|
490
490
|
|
|
491
491
|
assert_equal expected, record[:x_ndjson]
|
|
@@ -503,21 +503,21 @@ class HTTPOutputTest < HTTPOutputTestBase
|
|
|
503
503
|
assert_equal 1, @posts.size
|
|
504
504
|
record = @posts[0]
|
|
505
505
|
|
|
506
|
-
expected =
|
|
507
|
-
|
|
506
|
+
expected =[
|
|
507
|
+
{
|
|
508
|
+
"binary" => "\u3042",
|
|
508
509
|
"field1" => 50,
|
|
509
510
|
"field2" => 20,
|
|
510
511
|
"field3" => 10,
|
|
511
|
-
"otherfield" => 1
|
|
512
|
+
"otherfield" => 1
|
|
513
|
+
},
|
|
514
|
+
{
|
|
512
515
|
"binary" => "\u3042",
|
|
513
|
-
}) + "\n" +
|
|
514
|
-
Yajl.dump({
|
|
515
516
|
"field1" => 70,
|
|
516
517
|
"field2" => 30,
|
|
517
518
|
"field3" => 20,
|
|
518
|
-
"otherfield" => 2
|
|
519
|
-
|
|
520
|
-
}) + "\n"
|
|
519
|
+
"otherfield" => 2
|
|
520
|
+
}
|
|
521
521
|
]
|
|
522
522
|
|
|
523
523
|
assert_equal expected, record[:x_ndjson]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-out-http
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marica Odagaki
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-10-
|
|
11
|
+
date: 2019-10-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: yajl-ruby
|