fluent-plugin-mysql 0.0.4 → 0.0.5

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: 17d32ebee1a6a374ae625315b8d74209e11a225d
4
- data.tar.gz: 8c9f7169a9637fb2232fee62e4ddae168ad963d5
3
+ metadata.gz: 408a12decbefd767bb9f236f852e35d7596ffc7c
4
+ data.tar.gz: 12d2f9728137b662469dd1c4a2d36b21e2b51ee3
5
5
  SHA512:
6
- metadata.gz: 7612ad9d0914574b9a8e49d483bac4f5d2150ef4247a6642375e96b4b9a807edfed8da4c45ae21944a4bfe789359105deba349b713c33b775e24d3fbe5894c21
7
- data.tar.gz: 5eb7c241f74fd2c6412e13368fd7041ede9bde7c2e1b564a8d016e093d60f7797cf8ea9c9006970a8cbe99f47534d6a3c587fb6878fd48bfdda51089d21b7f30
6
+ metadata.gz: 3d6c9bb6d2a154b881cfaef8600e2bfea88f7ffaeaea7ecd96834507e7979c64acdc1f51e248a62f08a69b2a38efa6209474af69286d46a59c29c13f9901915a
7
+ data.tar.gz: ad4827600dd00abd928f57e30e8f97578c4756391fbe48cc51a096f3e4623dc235182bcc964c8cc675fad9e34ae67e6764269756cb1b2d56b6a98cd770b68f22
@@ -1,12 +1,13 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  Gem::Specification.new do |gem|
3
3
  gem.name = "fluent-plugin-mysql"
4
- gem.version = "0.0.4"
4
+ gem.version = "0.0.5"
5
5
  gem.authors = ["TAGOMORI Satoshi"]
6
6
  gem.email = ["tagomoris@gmail.com"]
7
7
  gem.description = %q{fluent plugin to insert mysql as json(single column) or insert statement}
8
8
  gem.summary = %q{fluent plugin to insert mysql}
9
9
  gem.homepage = "https://github.com/tagomoris/fluent-plugin-mysql"
10
+ gem.license = "APLv2"
10
11
 
11
12
  gem.files = `git ls-files`.split($\)
12
13
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
@@ -15,4 +16,5 @@ Gem::Specification.new do |gem|
15
16
 
16
17
  gem.add_runtime_dependency "fluentd"
17
18
  gem.add_runtime_dependency "mysql2-cs-bind"
19
+ gem.add_development_dependency "rake"
18
20
  end
@@ -3,7 +3,7 @@ class Fluent::MysqlOutput < Fluent::BufferedOutput
3
3
 
4
4
  include Fluent::SetTimeKeyMixin
5
5
  include Fluent::SetTagKeyMixin
6
-
6
+
7
7
  config_param :host, :string
8
8
  config_param :port, :integer, :default => nil
9
9
  config_param :database, :string
@@ -82,7 +82,7 @@ class Fluent::MysqlOutput < Fluent::BufferedOutput
82
82
  Mysql2::Client.new({
83
83
  :host => @host, :port => @port,
84
84
  :username => @username, :password => @password,
85
- :database => @database
85
+ :database => @database, :flags => Mysql2::Client::MULTI_STATEMENTS,
86
86
  })
87
87
  end
88
88
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-mysql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - TAGOMORI Satoshi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-08 00:00:00.000000000 Z
11
+ date: 2013-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
41
55
  description: fluent plugin to insert mysql as json(single column) or insert statement
42
56
  email:
43
57
  - tagomoris@gmail.com
@@ -55,7 +69,8 @@ files:
55
69
  - test/helper.rb
56
70
  - test/plugin/test_out_mysql.rb
57
71
  homepage: https://github.com/tagomoris/fluent-plugin-mysql
58
- licenses: []
72
+ licenses:
73
+ - APLv2
59
74
  metadata: {}
60
75
  post_install_message:
61
76
  rdoc_options: []
@@ -73,10 +88,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
88
  version: '0'
74
89
  requirements: []
75
90
  rubyforge_project:
76
- rubygems_version: 2.0.0
91
+ rubygems_version: 2.0.3
77
92
  signing_key:
78
93
  specification_version: 4
79
94
  summary: fluent plugin to insert mysql
80
95
  test_files:
81
96
  - test/helper.rb
82
97
  - test/plugin/test_out_mysql.rb
98
+ has_rdoc: