impala 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,6 +11,7 @@ Gem::Specification.new do |gem|
11
11
  gem.description = %q{A ruby client for Cloudera's Impala}
12
12
  gem.summary = %q{A ruby client for Cloudera's Impala}
13
13
  gem.homepage = "https://github.com/colinmarc/impala-ruby"
14
+ gem.license = 'MIT'
14
15
 
15
16
  gem.add_dependency('thrift', '~> 0.9.1')
16
17
  gem.add_dependency('rack')
@@ -99,7 +99,7 @@ module Impala
99
99
  row = {}
100
100
  fields = raw.split(metadata.delim)
101
101
 
102
- fields.zip(metadata.schema.fieldSchemas).each do |raw_value, schema|
102
+ metadata.schema.fieldSchemas.zip(fields).each do |schema, raw_value|
103
103
  value = convert_raw_value(raw_value, schema)
104
104
  row[schema.name.to_sym] = value
105
105
  end
@@ -1,3 +1,3 @@
1
1
  module Impala
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: impala
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-15 00:00:00.000000000 Z
12
+ date: 2014-02-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thrift
@@ -216,7 +216,8 @@ files:
216
216
  - thrift/fb303.thrift
217
217
  - thrift/hive_metastore.thrift
218
218
  homepage: https://github.com/colinmarc/impala-ruby
219
- licenses: []
219
+ licenses:
220
+ - MIT
220
221
  post_install_message:
221
222
  rdoc_options: []
222
223
  require_paths: