rbhive 1.0.1.pre → 1.0.2.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/rbhive/t_c_l_i_connection.rb +3 -1
- data/lib/rbhive/version.rb +1 -1
- metadata +13 -26
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: cb05c926dee5cf2115719dfbc34de8685da98436
|
4
|
+
data.tar.gz: bd3e9ad59b0562653d15b3e34c2aff40e95432de
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 5df575b889f861a71c39b0297dbe8ae81968594b58014f42078e2742c1bbe79327389fea6f8a7724a570c301a45ee1d98bf9244399fe6359f2b1fd4edd23dffe
|
7
|
+
data.tar.gz: df82c2200cf899f1e0ec85ba84a856c86252608bb511e9874ec72d544c9cfd59bf2f8e631259187260f38a759703d60b92fad2070fc969983e96b6fd824065f0
|
@@ -431,7 +431,9 @@ module RBHive
|
|
431
431
|
def raise_error_if_failed!(result)
|
432
432
|
return if result.status.statusCode == 0
|
433
433
|
error_message = result.status.errorMessage || 'Execution failed!'
|
434
|
-
raise error_message
|
434
|
+
raise RBHive::TCLIConnectionError.new(error_message)
|
435
435
|
end
|
436
436
|
end
|
437
|
+
|
438
|
+
class TCLIConnectionError < StandardError; end
|
437
439
|
end
|
data/lib/rbhive/version.rb
CHANGED
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbhive
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
5
|
-
prerelease: 6
|
4
|
+
version: 1.0.2.pre
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Forward3D
|
@@ -10,12 +9,11 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date: 2014-
|
12
|
+
date: 2014-08-28 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: thrift
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
18
|
- - '='
|
21
19
|
- !ruby/object:Gem::Version
|
@@ -23,7 +21,6 @@ dependencies:
|
|
23
21
|
type: :runtime
|
24
22
|
prerelease: false
|
25
23
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
24
|
requirements:
|
28
25
|
- - '='
|
29
26
|
- !ruby/object:Gem::Version
|
@@ -31,49 +28,43 @@ dependencies:
|
|
31
28
|
- !ruby/object:Gem::Dependency
|
32
29
|
name: json
|
33
30
|
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
31
|
requirements:
|
36
|
-
- -
|
32
|
+
- - '>='
|
37
33
|
- !ruby/object:Gem::Version
|
38
34
|
version: '0'
|
39
35
|
type: :runtime
|
40
36
|
prerelease: false
|
41
37
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
38
|
requirements:
|
44
|
-
- -
|
39
|
+
- - '>='
|
45
40
|
- !ruby/object:Gem::Version
|
46
41
|
version: '0'
|
47
42
|
- !ruby/object:Gem::Dependency
|
48
43
|
name: rake
|
49
44
|
requirement: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
45
|
requirements:
|
52
|
-
- -
|
46
|
+
- - '>='
|
53
47
|
- !ruby/object:Gem::Version
|
54
48
|
version: '0'
|
55
49
|
type: :development
|
56
50
|
prerelease: false
|
57
51
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
none: false
|
59
52
|
requirements:
|
60
|
-
- -
|
53
|
+
- - '>='
|
61
54
|
- !ruby/object:Gem::Version
|
62
55
|
version: '0'
|
63
56
|
- !ruby/object:Gem::Dependency
|
64
57
|
name: bundler
|
65
58
|
requirement: !ruby/object:Gem::Requirement
|
66
|
-
none: false
|
67
59
|
requirements:
|
68
|
-
- -
|
60
|
+
- - '>='
|
69
61
|
- !ruby/object:Gem::Version
|
70
62
|
version: '1.3'
|
71
63
|
type: :development
|
72
64
|
prerelease: false
|
73
65
|
version_requirements: !ruby/object:Gem::Requirement
|
74
|
-
none: false
|
75
66
|
requirements:
|
76
|
-
- -
|
67
|
+
- - '>='
|
77
68
|
- !ruby/object:Gem::Version
|
78
69
|
version: '1.3'
|
79
70
|
description: Simple gem for executing Hive queries and collecting the results
|
@@ -122,29 +113,25 @@ files:
|
|
122
113
|
homepage: http://github.com/forward3d/rbhive
|
123
114
|
licenses:
|
124
115
|
- MIT
|
116
|
+
metadata: {}
|
125
117
|
post_install_message:
|
126
118
|
rdoc_options: []
|
127
119
|
require_paths:
|
128
120
|
- lib
|
129
121
|
required_ruby_version: !ruby/object:Gem::Requirement
|
130
|
-
none: false
|
131
122
|
requirements:
|
132
|
-
- -
|
123
|
+
- - '>='
|
133
124
|
- !ruby/object:Gem::Version
|
134
125
|
version: '0'
|
135
|
-
segments:
|
136
|
-
- 0
|
137
|
-
hash: -635025961538808384
|
138
126
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
139
|
-
none: false
|
140
127
|
requirements:
|
141
|
-
- -
|
128
|
+
- - '>'
|
142
129
|
- !ruby/object:Gem::Version
|
143
130
|
version: 1.3.1
|
144
131
|
requirements: []
|
145
132
|
rubyforge_project:
|
146
|
-
rubygems_version:
|
133
|
+
rubygems_version: 2.0.6
|
147
134
|
signing_key:
|
148
|
-
specification_version:
|
135
|
+
specification_version: 4
|
149
136
|
summary: Simple gem for executing Hive queries
|
150
137
|
test_files: []
|