embulk-filter-query_string_ruby 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/embulk-filter-query_string_ruby.gemspec +1 -1
- data/example/csv/sample_01.csv.gz +0 -0
- data/lib/embulk/filter/query_string_ruby.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 330226327df90f0bb439a35ce2ccf2eb2ddbbeb8
|
4
|
+
data.tar.gz: 96d5331cfb16e5f5caa1e8bc854aafa50526a863
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4aeb1b596783eabd87b10709b5d494bf61c887c52963368a58148b9298c41f9a9a49acd6f47248ffc2b99b201272cc844bc599e20edaad413d285835cf1193dd
|
7
|
+
data.tar.gz: 8569db1b5f909f879cf0cfadf4fe2d0231b9228ecaae46a71af264f0e681e87358e44a1054a2da8e3359a9dc0fdea6f5ef301edb83973fba2191adef1858b075
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
Gem::Specification.new do |spec|
|
3
3
|
spec.name = "embulk-filter-query_string_ruby"
|
4
|
-
spec.version = "0.1.
|
4
|
+
spec.version = "0.1.2"
|
5
5
|
spec.authors = ["Yuma Murata"]
|
6
6
|
spec.summary = "Query String Ruby filter plugin for Embulk"
|
7
7
|
spec.description = "Query String Ruby"
|
Binary file
|
@@ -51,16 +51,16 @@ module Embulk
|
|
51
51
|
begin
|
52
52
|
case col["type"]
|
53
53
|
when "long"
|
54
|
-
v
|
54
|
+
Integer(v)
|
55
55
|
when "double"
|
56
|
-
v
|
56
|
+
Float(v)
|
57
57
|
when "timestamp"
|
58
58
|
Time.parse(v)
|
59
59
|
else
|
60
60
|
v.to_s
|
61
61
|
end
|
62
62
|
rescue => e
|
63
|
-
|
63
|
+
Embulk.logger.warn("Cast failed '#{v}' as '#{col["type"]}' (query name is '#{col["name"]}')")
|
64
64
|
end
|
65
65
|
end
|
66
66
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embulk-filter-query_string_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuma Murata
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: embulk
|