embulk-filter-query_string_ruby 0.1.9 → 0.1.10
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f0eabb508174708087538ec131c6aeb6a01ce19
|
4
|
+
data.tar.gz: 75e65aabdcf0ce8ba8d99c2faf5f0a62dc52edf4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d09eb39cf3aad0429cf1a49cae7ad9e0b73dc80e86f6b12672045c78cb051e46b189d8b1bed29dd06da366db2d87b415702cf1d00b81b9d352bfe1790fbb13c7
|
7
|
+
data.tar.gz: ec9c58b1f094cf29e091afd6900670b0b066e76a92791e0db06717e8c298550592461a55639e63d6d6ec042e9dacebece9fae086516251e20dc85760dfed372f
|
@@ -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.10"
|
5
5
|
spec.authors = ["Yuma Murata"]
|
6
6
|
spec.summary = "Query String Ruby filter plugin for Embulk"
|
7
7
|
spec.description = "Query String Ruby"
|
@@ -42,10 +42,11 @@ module Embulk
|
|
42
42
|
begin
|
43
43
|
u = Addressable::URI.parse(query_string)
|
44
44
|
uri = u.query ? u : Addressable::URI.parse("?#{query_string}")
|
45
|
-
|
45
|
+
uri.query_values(Hash)
|
46
46
|
rescue => e
|
47
47
|
Embulk.logger.warn("Parse failed '#{query_string}'")
|
48
48
|
end
|
49
|
+
uri.nil? ? {} || uri.query_values(Hash)
|
49
50
|
end
|
50
51
|
|
51
52
|
def make_record(schema, query)
|
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.10
|
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-04-
|
11
|
+
date: 2017-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|