embulk-filter-mysql 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/embulk-filter-mysql.gemspec +2 -2
- data/lib/embulk/filter/mysql.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7dee585e2b80d2158e70ee32028bee401ea9f21
|
4
|
+
data.tar.gz: ce71e605f40be4a449379e6322927457ca18558e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18c8bf4569c9be072cfaa39bcf213fa5aed4875902a1010a3aa8c785d2fedbb28dcfe8afb9fc2a6c831f1ee5d8bf34cefae16f28c33483eaeb1a56e13ba5365f
|
7
|
+
data.tar.gz: 2043954828f36a5778dbd8a1eaa7589f22cae8e667ad572dabdf53de3f8c565f799ca0c4694006b8e32d39a9c4b50225eb259eaac9cb270b074101ae235fd163
|
data/README.md
CHANGED
data/embulk-filter-mysql.gemspec
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
|
2
2
|
Gem::Specification.new do |spec|
|
3
3
|
spec.name = "embulk-filter-mysql"
|
4
|
-
spec.version = "0.1.
|
4
|
+
spec.version = "0.1.1"
|
5
5
|
spec.authors = ["toyama0919"]
|
6
6
|
spec.summary = "Mysql filter plugin for Embulk. Execute prepared statements query."
|
7
|
-
spec.description = "Mysql"
|
7
|
+
spec.description = "Mysql filter plugin for Embulk. Execute prepared statements query."
|
8
8
|
spec.email = ["toyama0919@gmail.com"]
|
9
9
|
spec.licenses = ["MIT"]
|
10
10
|
spec.homepage = "https://github.com/toyama0919/embulk-filter-mysql"
|
data/lib/embulk/filter/mysql.rb
CHANGED
@@ -18,6 +18,7 @@ module Embulk
|
|
18
18
|
"keep_input" => config.param("keep_input", :bool, default: false)
|
19
19
|
}
|
20
20
|
connection = ::Mysql.real_connect(task['host'], task['user'], task['password'], task['database'], task['port'])
|
21
|
+
Embulk.logger.info "PREPARE SQL:\n#{task['query']}"
|
21
22
|
statement = connection.prepare(task['query'])
|
22
23
|
columns = []
|
23
24
|
columns = columns + in_schema if task['keep_input']
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embulk-filter-mysql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- toyama0919
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '10.0'
|
69
|
-
description: Mysql
|
69
|
+
description: Mysql filter plugin for Embulk. Execute prepared statements query.
|
70
70
|
email:
|
71
71
|
- toyama0919@gmail.com
|
72
72
|
executables: []
|