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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8a69be8244f05f17f48dc37898ebd7d180be43ed
4
- data.tar.gz: ef009b4b827ba659167e73d69c16721ffaaadd56
3
+ metadata.gz: 521bfa515c7830eb4eca67649e054da956972994
4
+ data.tar.gz: 7d31d733d09bc81671c773eb0019c1facc392a0c
5
5
  SHA512:
6
- metadata.gz: 06793a5e5a8216ed99477655b77a28f7dc970ae8db9c6ca9225b3562fad4688503851d68d20b9ec9e2a67ece57195002e9fba010a4dd0ce4ec17ed1e97db2a1b
7
- data.tar.gz: 4c1f26fdb2435251ca550bb7320b31e812838da40a1030b4466ae9fd9ff20d65a84a0331790fbc332220e5e4d89242669136f6ba33d3a988afcfdbbb157a0be8
6
+ metadata.gz: 2f94ccd55a711885d245a67c173b3433fadc8463679c2ff1170f7c0e9a8cb50ca62f25b3071e43dc24fa77df4f1cb25b43030456bcc18e6f4a9b0d1a4d298db8
7
+ data.tar.gz: b4edb70aa87f803b57c08a38dd8e13db1c817916f6d3fdc82337a16e40dbffef26122eb056adcc17b67053688b73a064b8776b73c2a8b6487b58f140deb110bb
@@ -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 #connect and #disconnect.
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', :undef => :replace, :invalid => :replace)
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', :undef => :replace, :invalid => :replace)
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.1
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: '1.9'
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.0
45
+ rubygems_version: 2.0.2
46
46
  signing_key:
47
47
  specification_version: 4
48
48
  summary: Simple RPC library