embulk-parser-query_string 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 482d53ac57ad5d31f0149507090deeb010743c45
4
- data.tar.gz: 4fac1b68e078caf3f88e763ce7af0deceb0eeff6
3
+ metadata.gz: 7ac626f433219956351f1469cb10fcb04bc6d8f7
4
+ data.tar.gz: 9867d72ed16d696d33a03c7221f7ca628ac9f50b
5
5
  SHA512:
6
- metadata.gz: f06bd83e24c40a98d38d343e4d3af7febfc761f39fab704538b9d8a45046219a1d1ffa2c0d49d09fe8bce07ba11f67c301405425921f191756333f80a6e96f4b
7
- data.tar.gz: fbb0c6bd32fa340e4bb0bbb50c17a5f8a3265ea37af262679259f32ebe3571bbeb669420eae1ef47d16a7c279ef99059bcc71405b6bfc29d995f2a549d305396
6
+ metadata.gz: 891c288a06ffff07142f4e12ad7ebbcb73d6b0c3811547d678f7b83a80a9790de7b2cf9fdbf8bf1b9bbe9afaf9dc1bded2d83a18d1c800b85d4c57328add6aa1
7
+ data.tar.gz: 6dfc5c6461092a8fb5243c9b910a798b5a82c87fc9a71cc7612ecad3f2d91a7bb73a26ab0d14d2383a03a32ab449afb24bb62cc50fa0bbd63f0ae7c8c4ff6862
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 0.1.1 - 2015-07-14
2
+ * [fixed] Add missing support capture option to parser [#13](https://github.com/treasure-data/embulk-parser-query_string/pull/13)
3
+
1
4
  ## 0.1.0 - 2015-07-14
2
5
  * [enhancement] Add capture option [#11](https://github.com/treasure-data/embulk-parser-query_string/pull/11)
3
6
 
@@ -1,7 +1,7 @@
1
1
 
2
2
  Gem::Specification.new do |spec|
3
3
  spec.name = "embulk-parser-query_string"
4
- spec.version = "0.1.0"
4
+ spec.version = "0.1.1"
5
5
  spec.authors = ["yoshihara", "uu59"]
6
6
  spec.summary = "Query String parser plugin for Embulk"
7
7
  spec.description = "Parses Query String files read by other file input plugins."
@@ -13,6 +13,7 @@ module Embulk
13
13
  "decoder" => DataSource.from_java(decoder_task.dump),
14
14
  "strip_quote" => config.param("strip_quote", :bool, default: true),
15
15
  "strip_whitespace" => config.param("strip_whitespace", :bool, default: true),
16
+ "capture" => config.param("capture", :string, default: nil),
16
17
  }
17
18
 
18
19
  columns = []
@@ -31,6 +32,7 @@ module Embulk
31
32
  @options = {
32
33
  strip_quote: task["strip_quote"],
33
34
  strip_whitespace: task["strip_whitespace"],
35
+ capture: task["capture"],
34
36
  }
35
37
 
36
38
  @decoder = task.param("decoder", :hash).load_task(Java::LineDecoder::DecoderTask)
@@ -101,6 +101,7 @@ module Embulk
101
101
  "decoder" => {"Charset" => "UTF-8", "Newline" => "CRLF"},
102
102
  "strip_quote" => true,
103
103
  "strip_whitespace" => true,
104
+ "capture" => "(.*)",
104
105
  "schema" => columns,
105
106
  }
106
107
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-parser-query_string
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - yoshihara