embulk-input-presto 0.2.0 → 0.2.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: 042574a4df2a41bc869a625661001f50d0b371e6
4
- data.tar.gz: 5e9536ea331fa538d6a09d390fa7cf07ea057320
3
+ metadata.gz: 67bf35a9ef204c218a7af863542d53bc5a13b1a6
4
+ data.tar.gz: 6c4de11cbdb9459f5ac4f908e59ac94c5ae9336f
5
5
  SHA512:
6
- metadata.gz: 17baab4b601e67d21c8b9fe91c23924594f1ccffa5ed22cd65a937ad3909edbf7cf3d070d0c7b1eb2bad965d757d3f2ea1ea6870748972990b9da4014578007f
7
- data.tar.gz: 51b93b3c578d298f35399b1127a236cc64ea393aee7bef3088c62032c6b7e64640a61205ca5f4b27c5f4862a153d0212566080aec05255aca423f1f1e2bdcf84
6
+ metadata.gz: a29287ee6349c3d2528619fe2ad608e24490f8f8dce5219643f60b4cdb65ed18a0280faad5596432ee568f2598d7f1578f5e8f85db282dd9dd83b2cf1eefd823
7
+ data.tar.gz: 4ef631e76e880378e047ca66d5b806f96583764dcb50de57d3c56dceedc84836d6ceccfa31e893a29bf7cfc0f258552d2d0ffd57c332f693f3388a3cae29ddac
@@ -1,7 +1,7 @@
1
1
 
2
2
  Gem::Specification.new do |spec|
3
3
  spec.name = "embulk-input-presto"
4
- spec.version = "0.2.0"
4
+ spec.version = "0.2.1"
5
5
  spec.authors = ["toyama0919"]
6
6
  spec.summary = "Facebook Presto input plugin for Embulk"
7
7
  spec.description = "Facebook Presto input plugin for Embulk."
@@ -7,7 +7,7 @@ module Embulk
7
7
  column_name_raw, column_type_raw = explain_text.split(' => ')
8
8
  names = column_name_raw.split('[').last.split(']').first.split(',').map{ |name| name.strip }
9
9
  types = column_type_raw.split('[').last.split(']').first.split(',').map{ |info| info.split(':').last }
10
- Hash[*names.zip(types).flatten]
10
+ names.zip(types)
11
11
  end
12
12
  end
13
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-input-presto
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.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-06-30 00:00:00.000000000 Z
11
+ date: 2016-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement