fluent-plugin-mysql-appender 0.3.9 → 0.4.0

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: 31cae01e5c52713b6be5fdac176fad5d3aa36711
4
- data.tar.gz: 6da0e2084dd83abd7b3a0660eb47adff7b42e8d0
3
+ metadata.gz: b9ddfe2a87e411ef8fa452336cee72c661081f86
4
+ data.tar.gz: 0eec5b99563117150a8a320d551abfe65335d994
5
5
  SHA512:
6
- metadata.gz: 3702a51fc229f0e2cbfada2fd97d48611b2fe370ab07d3762305105ec1f8e6932d992ba99c66b7de751f488d46eb36d45bd0a6a65eb0df94106c37f22ba0d7a4
7
- data.tar.gz: 03a2da8b0fc5a4b6e1aff6e20dbab6672c5b43b21a4acd3430ad6e86960b8e44c1b7135e8dad9b5d3c890fc94bf4c5e63d556197d845e0c307544c39a24fde46
6
+ metadata.gz: 1bb26d2dca219aa6993d71810aa8efcbe1abd285c24b75a57bbff0424c33c6883b9b1822a388d6382d6cef2a2dfa4d7e6802e5b0525dd545a2df68b1d54a832f
7
+ data.tar.gz: 6e7f1b8b446786df1941ca8eb435c3e26ec4c23d8f3c5179416fcb7080c9327c3b2e7fb880863be34207326eeb6b4f43214b8cfdfeb41ed5c2e95e8c52098872
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  Gem::Specification.new do |spec|
3
3
  spec.name = "fluent-plugin-mysql-appender"
4
- spec.version = "0.3.9"
4
+ spec.version = "0.4.0"
5
5
  spec.authors = ["TERASAKI Tsuyoshi"]
6
6
  spec.email = ["tsuyoshi_terasaki@realworld.jp"]
7
7
 
@@ -23,7 +23,6 @@ module Fluent
23
23
  config_param :interval, :string, :default => '1m'
24
24
  config_param :tag, :string, :default => 'appender_multi'
25
25
  config_param :yaml_path, :string, :default => nil
26
- config_param :abort_exception, :bool, :default => false
27
26
 
28
27
  def configure(conf)
29
28
  super
@@ -44,8 +43,6 @@ module Fluent
44
43
 
45
44
  def start
46
45
  begin
47
- Thread.abort_on_exception = @abort_exception
48
-
49
46
  @threads = []
50
47
  @mutex = Mutex.new
51
48
  YAML.load_file(@yaml_path).each do |config|
@@ -82,7 +79,7 @@ module Fluent
82
79
  rows.each_with_index do |row, index|
83
80
  if !config['entry_time'].nil? then
84
81
  entry_time = get_time(row[config['entry_time']])
85
- if (Time.now - delay) < entry_time then
82
+ if (start_time - delay) < entry_time then
86
83
  break
87
84
  end
88
85
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-mysql-appender
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.9
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - TERASAKI Tsuyoshi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-29 00:00:00.000000000 Z
11
+ date: 2016-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd