rbhive 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rbhive/connection.rb +3 -3
- metadata +7 -3
data/lib/rbhive/connection.rb
CHANGED
@@ -99,9 +99,9 @@ module RBHive
|
|
99
99
|
private
|
100
100
|
|
101
101
|
def output(sep, out_file)
|
102
|
-
|
103
|
-
return
|
104
|
-
File.open(out_file, 'w') { |f| f <<
|
102
|
+
sv = self.map { |r| r.join(sep) }.join("\n")
|
103
|
+
return sv if out_file.nil?
|
104
|
+
File.open(out_file, 'w') { |f| f << sv }
|
105
105
|
end
|
106
106
|
end
|
107
107
|
end
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbhive
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 15
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
9
|
+
- 10
|
10
|
+
version: 0.1.10
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Forward Internet Group
|
@@ -14,7 +15,7 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2010-11-
|
18
|
+
date: 2010-11-24 00:00:00 +00:00
|
18
19
|
default_executable:
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
@@ -25,6 +26,7 @@ dependencies:
|
|
25
26
|
requirements:
|
26
27
|
- - ">="
|
27
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 15
|
28
30
|
segments:
|
29
31
|
- 0
|
30
32
|
- 4
|
@@ -73,6 +75,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
73
75
|
requirements:
|
74
76
|
- - ">="
|
75
77
|
- !ruby/object:Gem::Version
|
78
|
+
hash: 3
|
76
79
|
segments:
|
77
80
|
- 0
|
78
81
|
version: "0"
|
@@ -81,6 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
84
|
requirements:
|
82
85
|
- - ">="
|
83
86
|
- !ruby/object:Gem::Version
|
87
|
+
hash: 3
|
84
88
|
segments:
|
85
89
|
- 0
|
86
90
|
version: "0"
|