simplerpc 0.2.1 → 0.2.2
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.
- checksums.yaml +4 -4
- data/lib/simplerpc/client.rb +1 -1
- data/lib/simplerpc/socket_protocol.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 521bfa515c7830eb4eca67649e054da956972994
|
4
|
+
data.tar.gz: 7d31d733d09bc81671c773eb0019c1facc392a0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f94ccd55a711885d245a67c173b3433fadc8463679c2ff1170f7c0e9a8cb50ca62f25b3071e43dc24fa77df4f1cb25b43030456bcc18e6f4a9b0d1a4d298db8
|
7
|
+
data.tar.gz: b4edb70aa87f803b57c08a38dd8e13db1c817916f6d3fdc82337a16e40dbffef26122eb056adcc17b67053688b73a064b8776b73c2a8b6487b58f140deb110bb
|
data/lib/simplerpc/client.rb
CHANGED
@@ -99,7 +99,7 @@ module SimpleRPC
|
|
99
99
|
# == Modes
|
100
100
|
#
|
101
101
|
# It is possible to use the client in two modes: _always-on_ and _connect-on-demand_,
|
102
|
-
# controlled by calling #
|
102
|
+
# controlled by calling #persist and #disconnect.
|
103
103
|
#
|
104
104
|
# Always-on mode maintains a pool of connections to the server, and requests
|
105
105
|
# are preferentially sent over these (note that if you have threading off, it makes
|
@@ -11,10 +11,10 @@ module SimpleRPC
|
|
11
11
|
module SocketProtocol
|
12
12
|
|
13
13
|
# Sent when auth succeeds (ASCII to match simple protocol)
|
14
|
-
AUTH_SUCCESS = 'C'.encode('ASCII-8BIT'
|
14
|
+
AUTH_SUCCESS = 'C'.encode('ASCII-8BIT')
|
15
15
|
|
16
16
|
# Sent when auth fails (ASCII to match simple protocol)
|
17
|
-
AUTH_FAIL = 'F'.encode('ASCII-8BIT'
|
17
|
+
AUTH_FAIL = 'F'.encode('ASCII-8BIT')
|
18
18
|
|
19
19
|
# The request succeeded
|
20
20
|
REQUEST_SUCCESS = 0
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplerpc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Wattam
|
@@ -34,7 +34,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
34
34
|
requirements:
|
35
35
|
- - '>='
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: '
|
37
|
+
version: '2.0'
|
38
38
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - '>='
|
@@ -42,7 +42,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
42
42
|
version: '0'
|
43
43
|
requirements: []
|
44
44
|
rubyforge_project:
|
45
|
-
rubygems_version: 2.0.
|
45
|
+
rubygems_version: 2.0.2
|
46
46
|
signing_key:
|
47
47
|
specification_version: 4
|
48
48
|
summary: Simple RPC library
|