rexpro 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/lib/rexpro/client.rb CHANGED
@@ -28,6 +28,7 @@ module Rexpro
28
28
  @socket.close if @socket && !@socket.closed?
29
29
  begin
30
30
  @socket = TCPTimeout::TCPSocket.new(@host, @port, @socket_opts)
31
+ @socket.setsockopt(Socket::SOL_SOCKET, Socket::SO_KEEPALIVE, true)
31
32
  rescue TCPTimeout::SocketTimeout => ex
32
33
  raise Rexpro::RexproException.new(ex)
33
34
  end
@@ -1,3 +1,3 @@
1
1
  module Rexpro
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rexpro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Lann Martin
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-05-15 00:00:00.000000000 Z
12
+ date: 2013-06-13 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: msgpack
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ~>
18
20
  - !ruby/object:Gem::Version
@@ -20,6 +22,7 @@ dependencies:
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - ~>
25
28
  - !ruby/object:Gem::Version
@@ -27,6 +30,7 @@ dependencies:
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: uuid
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
35
  - - ~>
32
36
  - !ruby/object:Gem::Version
@@ -34,6 +38,7 @@ dependencies:
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
43
  - - ~>
39
44
  - !ruby/object:Gem::Version
@@ -41,6 +46,7 @@ dependencies:
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: tcp_timeout
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
51
  - - ~>
46
52
  - !ruby/object:Gem::Version
@@ -48,6 +54,7 @@ dependencies:
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
59
  - - ~>
53
60
  - !ruby/object:Gem::Version
@@ -55,6 +62,7 @@ dependencies:
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: bundler
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
67
  - - ~>
60
68
  - !ruby/object:Gem::Version
@@ -62,6 +70,7 @@ dependencies:
62
70
  type: :development
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
75
  - - ~>
67
76
  - !ruby/object:Gem::Version
@@ -69,15 +78,17 @@ dependencies:
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: rake
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
- - - '>='
83
+ - - ! '>='
74
84
  - !ruby/object:Gem::Version
75
85
  version: '0'
76
86
  type: :development
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
- - - '>='
91
+ - - ! '>='
81
92
  - !ruby/object:Gem::Version
82
93
  version: '0'
83
94
  description: RexPro, a binary protocol for Rexster
@@ -106,26 +117,27 @@ files:
106
117
  homepage: https://github.com/lann/rexpro-ruby
107
118
  licenses:
108
119
  - MIT
109
- metadata: {}
110
120
  post_install_message:
111
121
  rdoc_options: []
112
122
  require_paths:
113
123
  - lib
114
124
  required_ruby_version: !ruby/object:Gem::Requirement
125
+ none: false
115
126
  requirements:
116
- - - '>='
127
+ - - ! '>='
117
128
  - !ruby/object:Gem::Version
118
129
  version: '0'
119
130
  required_rubygems_version: !ruby/object:Gem::Requirement
131
+ none: false
120
132
  requirements:
121
- - - '>='
133
+ - - ! '>='
122
134
  - !ruby/object:Gem::Version
123
135
  version: '0'
124
136
  requirements: []
125
137
  rubyforge_project:
126
- rubygems_version: 2.0.0
138
+ rubygems_version: 1.8.23
127
139
  signing_key:
128
- specification_version: 4
140
+ specification_version: 3
129
141
  summary: RexPro is a binary protocol for Rexster that can be used to send Gremlin
130
142
  scripts to a remote Rexster instance.
131
143
  test_files:
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 2b625dbe780d7501c8edf102e13612f1825f07b5
4
- data.tar.gz: c9a724543109d439ef1d67473296a2acf964400b
5
- SHA512:
6
- metadata.gz: 10f1b58f59e07543393d51ea0e7eaa1aa8a64c7851ce00cfa891e5483b12a9356ac78088b35c2fbe0dfadd00e993471ec6e22f8dcf37a3632805dc3f1ba2bded
7
- data.tar.gz: 1d3df5a87629ef4ae075af09ba3bcf3903fffacc502e1ef838203660ba75fd2a541a5144633c93168b87d615e43230ad6ae192b26fe25c72eea0872f12d50f25