rbhive 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -266,7 +266,11 @@ module RBHive
266
266
  private
267
267
 
268
268
  def execute_safe(query)
269
- safe { execute_unsafe(query) }
269
+ safe do
270
+ exec_result = execute_unsafe(query)
271
+ raise_error_if_failed!(exec_result)
272
+ exec_result
273
+ end
270
274
  end
271
275
 
272
276
  def execute_unsafe(query)
@@ -1,3 +1,3 @@
1
1
  module RBHive
2
- VERSION = '0.5.2'
2
+ VERSION = '0.5.3'
3
3
  end
metadata CHANGED
@@ -1,44 +1,49 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbhive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Forward3D
8
9
  - KolobocK
9
- autorequire:
10
+ autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2013-12-09 00:00:00.000000000 Z
13
+ date: 2014-01-31 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: thrift
16
- version_requirements: !ruby/object:Gem::Requirement
17
+ requirement: !ruby/object:Gem::Requirement
18
+ none: false
17
19
  requirements:
18
20
  - - '='
19
21
  - !ruby/object:Gem::Version
20
22
  version: 0.9.0
21
- requirement: !ruby/object:Gem::Requirement
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
22
27
  requirements:
23
28
  - - '='
24
29
  - !ruby/object:Gem::Version
25
30
  version: 0.9.0
26
- prerelease: false
27
- type: :runtime
28
31
  - !ruby/object:Gem::Dependency
29
32
  name: json
30
- version_requirements: !ruby/object:Gem::Requirement
33
+ requirement: !ruby/object:Gem::Requirement
34
+ none: false
31
35
  requirements:
32
- - - '>='
36
+ - - ! '>='
33
37
  - !ruby/object:Gem::Version
34
38
  version: '0'
35
- requirement: !ruby/object:Gem::Requirement
39
+ type: :runtime
40
+ prerelease: false
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
36
43
  requirements:
37
- - - '>='
44
+ - - ! '>='
38
45
  - !ruby/object:Gem::Version
39
46
  version: '0'
40
- prerelease: false
41
- type: :runtime
42
47
  description: Simple gem for executing Hive queries and collecting the results
43
48
  email:
44
49
  - andy@forward.co.uk
@@ -82,25 +87,26 @@ files:
82
87
  homepage: http://github.com/forward3d/rbhive
83
88
  licenses:
84
89
  - MIT
85
- metadata: {}
86
- post_install_message:
90
+ post_install_message:
87
91
  rdoc_options: []
88
92
  require_paths:
89
93
  - lib
90
94
  required_ruby_version: !ruby/object:Gem::Requirement
95
+ none: false
91
96
  requirements:
92
- - - '>='
97
+ - - ! '>='
93
98
  - !ruby/object:Gem::Version
94
99
  version: '0'
95
100
  required_rubygems_version: !ruby/object:Gem::Requirement
101
+ none: false
96
102
  requirements:
97
- - - '>='
103
+ - - ! '>='
98
104
  - !ruby/object:Gem::Version
99
105
  version: '0'
100
106
  requirements: []
101
- rubyforge_project:
102
- rubygems_version: 2.1.9
103
- signing_key:
104
- specification_version: 4
107
+ rubyforge_project:
108
+ rubygems_version: 1.8.23
109
+ signing_key:
110
+ specification_version: 3
105
111
  summary: Simple gem for executing Hive queries
106
112
  test_files: []
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: da3790c63f99b8f55faa21302df7433f9b7025f8
4
- data.tar.gz: 2d47994ce6288bae07f9da5c651f961c1c0df74a
5
- SHA512:
6
- metadata.gz: 2cdba715c6940b663e2110b9e2ce0c0849c0be1c3f980adc332bcbd64718b9456cb542a8f2424e745c8ac5bf1eef642b9171a3be8ccd5e1dee70a4c3f421ab4e
7
- data.tar.gz: 895dd02525a02872eb81c072304650752908769b8f3214570eb21fced42e1008537ddc30fa698e6d67045b22a7da20a38d9086494f9de041bc9cd5687c38c5c9