fluent-plugin-dd 0.1.7 → 0.1.8

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: d285e72f5b8bf01124cb19a451371b5b14a8d463
4
- data.tar.gz: da55f3eba2243d787a6a65eb7928b6b255619fd4
3
+ metadata.gz: 7b6da02d0d07e7347ac476d7f97de5e136e01969
4
+ data.tar.gz: 7f9956c77744ddc5693684c381d0e5003bcf3035
5
5
  SHA512:
6
- metadata.gz: dfab8fcebab9d7494e25240ac63001bbf97f7b30a3781cc0b241d4a44b443d8989eae50a4e28db9ede398ad0bf875a4b7660f9795bb54a5fe168942c46202e63
7
- data.tar.gz: 5eb63861cde16533fadc3e189a7b1944fe5a6db28df3e9df7c91b081942fe0a9a2af3a706ed40cdf3d820335fa40e920900aba6382d2c5475794284957790f4e
6
+ metadata.gz: 3913be63998e5c1e866ea2d700388fc9267631c0f29b9f34a15ddc4450f6dbb24afa82591bb2d7436a41b5a86cd58fb7dbb37c63ca378468d16e4f4a59f2dc0f
7
+ data.tar.gz: 6c5b9a9a41fbd118babcf8455ab594f152c79e5738f1878cf946e136aaed2245f1dab8a654af352758b14fa13bfcf07f491d3b7473e8aeac6ad324a3d2d571da
@@ -1,6 +1,8 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - 2.0.0
4
+ - 2.1
5
+ - 2.2
4
6
  script:
5
7
  - bundle install
6
8
  - bundle exec rake
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  Gem::Specification.new do |spec|
3
3
  spec.name = 'fluent-plugin-dd'
4
- spec.version = '0.1.7'
4
+ spec.version = '0.1.8'
5
5
  spec.authors = ['Genki Sugawara']
6
6
  spec.email = ['sugawara@cookpad.com']
7
7
  spec.description = %q{Output plugin for Datadog}
@@ -20,4 +20,5 @@ Gem::Specification.new do |spec|
20
20
  spec.add_development_dependency 'bundler'
21
21
  spec.add_development_dependency 'rake'
22
22
  spec.add_development_dependency 'rspec', '>= 3.0.0'
23
+ spec.add_development_dependency 'test-unit', '>= 3.1.0'
23
24
  end
@@ -5,8 +5,8 @@ class Fluent::DdOutput < Fluent::BufferedOutput
5
5
  define_method('log') { $log }
6
6
  end
7
7
 
8
- config_param :dd_api_key, :string
9
- config_param :dd_app_key, :string, :default => nil
8
+ config_param :dd_api_key, :string, :secret => true
9
+ config_param :dd_app_key, :string, :default => nil, :secret => true
10
10
  config_param :host, :string, :default => nil
11
11
  config_param :device, :string, :default => nil
12
12
  config_param :silent, :bool, :default => true
@@ -5,6 +5,7 @@ require 'time'
5
5
 
6
6
  # Disable Test::Unit
7
7
  module Test::Unit::RunCount; def run(*); end; end
8
+ Test::Unit.run = true if defined?(Test::Unit) && Test::Unit.respond_to?(:run=)
8
9
 
9
10
  class Fluent::DdOutput < Fluent::BufferedOutput
10
11
  private
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-dd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genki Sugawara
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-13 00:00:00.000000000 Z
11
+ date: 2015-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd
@@ -80,6 +80,20 @@ dependencies:
80
80
  - - '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: 3.0.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: test-unit
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '>='
88
+ - !ruby/object:Gem::Version
89
+ version: 3.1.0
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '>='
95
+ - !ruby/object:Gem::Version
96
+ version: 3.1.0
83
97
  description: Output plugin for Datadog
84
98
  email:
85
99
  - sugawara@cookpad.com