nut 0.1.4 → 0.1.5
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/nut/handler.rb +3 -3
- data/lib/nut/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c85e274499874adb9027b42e92d38fede99bc8d5
|
|
4
|
+
data.tar.gz: 3e3c8bf2e8e2528d29c170ae8dad405f465c341c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 64f6128cd19cf0262f8f339b5a521fbbb139e3c857ffaee8842259ccd6436fbbb11e44cd1e430ee16d3296a3b1fc83112c84d2e52922f7f87a7eb95772f63188
|
|
7
|
+
data.tar.gz: 7608440402fd71ce1b7517e07640ea58a17b6fdb630d4c2973424654939ad552b1fe301f4b493965e3a5dd5908ffb75fbde3a223eb1c72f975c25ed6906fc6c5
|
data/lib/nut/handler.rb
CHANGED
|
@@ -35,14 +35,14 @@ module Nut
|
|
|
35
35
|
end
|
|
36
36
|
|
|
37
37
|
# On Drop
|
|
38
|
-
# RxIO Service Interface Callback - Triggered each time a Client disconnects.
|
|
38
|
+
# @note RxIO Service Interface Callback - Triggered each time a Client disconnects.
|
|
39
39
|
# @param [Hash] client An RxIO Client Hash
|
|
40
40
|
def self.on_drop client
|
|
41
41
|
# NoOp
|
|
42
42
|
end
|
|
43
43
|
|
|
44
44
|
# Handle Message
|
|
45
|
-
#
|
|
45
|
+
# RxIO Service Interface Callback - Triggered each time a message is received from a Client.
|
|
46
46
|
# @param [Hash] client An RxIO Client Hash
|
|
47
47
|
# @param [String] msg The message received from the Client
|
|
48
48
|
def self.handle_msg client, msg
|
|
@@ -52,7 +52,7 @@ module Nut
|
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
# Sub-Process Input
|
|
55
|
-
# RxIO Service Interface Callback - Triggered each time a chunk of data is received from a Client.
|
|
55
|
+
# # RxIO Service Interface Callback - Triggered each time a chunk of data is received from a Client.
|
|
56
56
|
# Some Content-Length-based Requests may not end with a CRLF - this pulls in any left-over data directly from the RxIO Input Buffer.
|
|
57
57
|
# @param [Hash] client Client Hash
|
|
58
58
|
def self.subprocess_input client
|
data/lib/nut/version.rb
CHANGED