ganapati 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/ganapati/client.rb +2 -1
- data/lib/ganapati/version.rb +1 -1
- metadata +3 -3
data/lib/ganapati/client.rb
CHANGED
|
@@ -7,7 +7,8 @@ module Ganapati
|
|
|
7
7
|
@transport.open
|
|
8
8
|
protocol = Thrift::BinaryProtocol.new(@transport)
|
|
9
9
|
@client = ThriftHadoopFileSystem::Client.new(protocol)
|
|
10
|
-
|
|
10
|
+
# some versions of ruby + thrift cause an error if the following is called
|
|
11
|
+
@client.setInactivityTimeoutPeriod(timeout) unless timeout.nil?
|
|
11
12
|
end
|
|
12
13
|
|
|
13
14
|
def close
|
data/lib/ganapati/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ganapati
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 17
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 7
|
|
10
|
+
version: 0.0.7
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Brian Muller
|