fluent-plugin-datadog-log 0.1.0.rc14 → 0.1.0.rc15

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
  SHA1:
3
- metadata.gz: f9100d5bb190bd0bda8a6acd05dcb4e6181a5fca
4
- data.tar.gz: 5686e0b81e945928c1db36301553111d379c127e
3
+ metadata.gz: 48f6a440bb237e77dd62042587330841626eeede
4
+ data.tar.gz: f2e312c44b3032cc816a9bba7f42c576efc6269d
5
5
  SHA512:
6
- metadata.gz: cefd468fc826971c364343bc3461c22555b17cbbb6de533b1c0d8c055630598dd95d2e85b698c712d67e9ad46702d8970fa9b84ea5acaedbbb7bcdf302a6e724
7
- data.tar.gz: b891ea630b28992e5ac5e068661f9b871c620a79bdbcd7ee63ebd7cb4115850cc69a3931b382ace192c9dd292ff483dcc21c1c72c6f314f203a40ccb2b185cdf
6
+ metadata.gz: 2113b75093acc466335f947fcd62a2ff363f60d78493337acff859ed8fcfd414804ea2702dcc43bf04540596d078f8c4450807f35e6d7d2a8d428b31afeb4065
7
+ data.tar.gz: 0c4e945a346d023a635ff7cffe9a4dfe3ae0ae22b942f62778fa53f4aec89ff12556a9072b9ddcc69339a8825bd62c35d11a38b87770f188ea63c3f38235c56d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fluent-plugin-datadog-log (0.1.0.rc14)
4
+ fluent-plugin-datadog-log (0.1.0.rc15)
5
5
  fluentd (~> 1.0.0)
6
6
  json (~> 1.8)
7
7
  net_tcp_client (~> 2.0.1)
@@ -8,7 +8,7 @@ eos
8
8
  gem.homepage = \
9
9
  'https://github.com/mumoshu/fluent-plugin-datadog-log'
10
10
  gem.license = 'Apache-2.0'
11
- gem.version = '0.1.0.rc14'
11
+ gem.version = '0.1.0.rc15'
12
12
  gem.authors = ['Yusuke KUOKA']
13
13
  gem.email = ['ykuoka@gmail.com']
14
14
  gem.required_ruby_version = Gem::Requirement.new('>= 2.0')
@@ -486,14 +486,14 @@ module Fluent::Plugin
486
486
  unless event.respond_to? :last
487
487
  @log.warn 'Dropping a malformed event: ' \
488
488
  "'#{event.inspect}'. " \
489
- 'A log record should be an array.'
489
+ 'An event should be an array.'
490
490
  next
491
491
  end
492
492
  record = event.last
493
493
  unless record.is_a?(Hash)
494
494
  @log.warn 'Dropping log entries with malformed record: ' \
495
495
  "'#{record.inspect}'. " \
496
- 'A log record should be in JSON format.'
496
+ "A record should be a hash but was a #{record.class}."
497
497
  next
498
498
  end
499
499
  tag = record.first
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-datadog-log
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.rc14
4
+ version: 0.1.0.rc15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yusuke KUOKA
@@ -174,6 +174,8 @@ files:
174
174
  - lib/fluent/plugin/out_datadog_log.rb
175
175
  - lib/fluent/plugin/out_datadog_log.rb~
176
176
  - pkg/fluent-plugin-datadog-log-0.1.0.rc13.gem
177
+ - pkg/fluent-plugin-datadog-log-0.1.0.rc14.gem
178
+ - pkg/fluent-plugin-datadog-log-0.1.0.rc15.gem
177
179
  - test/helper.rb
178
180
  - test/plugin/base_test.rb
179
181
  - test/plugin/constants.rb