fluent-plugin-mysql 0.1.3 → 0.1.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 610af4a47fce2d59e6127e3807852d88f1b4cc10
4
- data.tar.gz: cb4877084c4d8b577d88a3419458fb64a58e9775
3
+ metadata.gz: 1ae9d1927aa31d75c7242f2e4abb0d0964eb6795
4
+ data.tar.gz: e2b50f7c500cf5dc1dced0b5a4472ea8f5d26948
5
5
  SHA512:
6
- metadata.gz: fe22ceb42d179872696486c6629196235a3f0d17048aac1bc0c57b9b5865c4075faf0a1d6f1fb2d79cbb243bd2945aaa4e5045289f1de83620f1dcd3463c2b5f
7
- data.tar.gz: deca6e5d9007061d43c16c055246759aa6dc3eac42aa1809431d30cf85e23de9d844b9f5c113cb0bde882148e90fa54c42b025168786fd2a728ce993aa56e5c8
6
+ metadata.gz: 6fb9f8a430ca6830499b3c0555db2bc1650cb943450fb951ee46ff2c36d5617006edaf9589dc228e0821fe69355597cfe80464685080c962526de5e45c808bee
7
+ data.tar.gz: aec9e2f7e4b5ed9d8b83422a420e15cb42d2c5818d7287dad117973b746401aed7496795bd855956c5c4025793bbb36a05f29324ea4317d23f6eb74bbe5d7102
@@ -8,6 +8,12 @@ rvm:
8
8
 
9
9
  gemfile:
10
10
  - Gemfile
11
+ - Gemfile.fluentd.0.12
12
+
13
+ matrix:
14
+ exclude:
15
+ - rvm: 2.0.0
16
+ gemfile: Gemfile
11
17
 
12
18
  before_install:
13
19
  - gem update bundler
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ gem 'fluentd', '~> 0.12.0'
4
+ gemspec
data/README.md CHANGED
@@ -19,6 +19,7 @@ username|user(require)
19
19
  password|password(default: blank)
20
20
  column_names|bulk insert column (require)
21
21
  key_names|value key names, ${time} is placeholder Time.at(time).strftime("%Y-%m-%d %H:%M:%S") (default : column_names)
22
+ json_key_names|Key names which store data as json, comma separator.
22
23
  table|bulk insert table (require)
23
24
  on_duplicate_key_update|on duplicate key update enable (true:false)
24
25
  on_duplicate_update_keys|on duplicate key update column, comma separator
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  Gem::Specification.new do |gem|
3
3
  gem.name = "fluent-plugin-mysql"
4
- gem.version = "0.1.3"
4
+ gem.version = "0.1.4"
5
5
  gem.authors = ["TAGOMORI Satoshi", "Toyama Hiroshi"]
6
6
  gem.email = ["tagomoris@gmail.com", "toyama0919@gmail.com"]
7
7
  gem.description = %q{fluent plugin to insert mysql as json(single column) or insert statement}
@@ -115,7 +115,7 @@ DESC
115
115
  sql = "INSERT INTO #{@table} (#{@column_names.join(',')}) VALUES #{values.join(',')}"
116
116
  sql += @on_duplicate_key_update_sql if @on_duplicate_key_update
117
117
 
118
- log.info "bulk insert values size => #{values.size}"
118
+ log.info "bulk insert values size (table: #{@table}) => #{values.size}"
119
119
  @handler.xquery(sql)
120
120
  @handler.close
121
121
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-mysql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - TAGOMORI Satoshi
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-05-24 00:00:00.000000000 Z
12
+ date: 2016-09-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fluentd
@@ -92,6 +92,7 @@ files:
92
92
  - ".gitignore"
93
93
  - ".travis.yml"
94
94
  - Gemfile
95
+ - Gemfile.fluentd.0.12
95
96
  - LICENSE.txt
96
97
  - README.md
97
98
  - README_mysql.md
@@ -122,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
123
  version: '0'
123
124
  requirements: []
124
125
  rubyforge_project:
125
- rubygems_version: 2.4.8
126
+ rubygems_version: 2.5.1
126
127
  signing_key:
127
128
  specification_version: 4
128
129
  summary: fluent plugin to insert mysql
@@ -130,3 +131,4 @@ test_files:
130
131
  - test/helper.rb
131
132
  - test/plugin/test_out_mysql.rb
132
133
  - test/plugin/test_out_mysql_bulk.rb
134
+ has_rdoc: