embulk-filter-query_string_ruby 0.1.7 → 0.1.8

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: 4a45f4b13863c072559b2ae1292f788e7c8d1dee
4
- data.tar.gz: 52c444d8b5007cc877dba17ad60715abe8881397
3
+ metadata.gz: a4aeade6f4753094282ffd227bdd6744354031e3
4
+ data.tar.gz: fefd908aef8b4158969a281089dc05a500e9111e
5
5
  SHA512:
6
- metadata.gz: e520f73dbc5173697a4a6d31b98310d219e14eab1647fbd0fe462886c0a3ba594f655c7401e51efc87997c3e8029a265083e94b4bcb66bf2576527e0975534b0
7
- data.tar.gz: a6e838f9cb8429feeb564ea6fda9b9358073f3f3d769f932320b7551cedfd2b164ee4435365fc111dae837b208ba96b1f5320f3c85b2e09dc204b6dbd7e204b5
6
+ metadata.gz: f452a31805bc5ac593ee86e95ff04df06808906e7de649c85db237d0c0c13e289fd08d81df9ea4fb2ac5271d603e6bc352970cf9d8ae1ca8fb0bbb9e2893fffc
7
+ data.tar.gz: 6532f7cc6836ec40ff2a8b470a17dd561f8f2e83e205e3ddb56fcd662e3ccc85f3d544877fbe969cbd96e9ab091850499dff7d062958258e0d0bb41d0f3a237f
@@ -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.7"
4
+ spec.version = "0.1.8"
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
@@ -47,7 +47,7 @@ module Embulk
47
47
  def make_record(schema, query)
48
48
  return schema.map do |col|
49
49
  v = query[col["name"]]
50
- if v
50
+ if !v.to_s.empty?
51
51
  begin
52
52
  case col["type"]
53
53
  when "long"
metadata CHANGED
@@ -1,7 +1,7 @@
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.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuma Murata