ichannel 5.1.1.2 → 5.1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog.txt +4 -0
- data/README.md +8 -6
- data/lib/ichannel/version.rb +1 -1
- metadata +3 -3
data/ChangeLog.txt
CHANGED
data/README.md
CHANGED
@@ -17,17 +17,19 @@ All communication on a channel occurs on a streamed UNIXSocket that a channel
|
|
17
17
|
uses to queues its messages (ruby objects), and also to ensure that messages
|
18
18
|
are received in the order they are sent.
|
19
19
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
20
|
+
__SERIALIZATION__
|
21
|
+
|
22
|
+
ichannel relies on serialization when writing and reading from the underlying
|
23
|
+
UNIXSocket. A ruby object is serialized before a write, and it is deserialized
|
24
|
+
after a read. The choice of serializer is left up to you, though. A serializer
|
25
|
+
can be any object that implements `dump` and `load` -- two methods that are
|
26
|
+
usually implemented by serializers written in ruby.
|
25
27
|
|
26
28
|
__EXAMPLES__
|
27
29
|
|
28
30
|
__1.__
|
29
31
|
|
30
|
-
A demo of how to pass ruby objects through a channel and also between processes.
|
32
|
+
A demo of how to pass ruby objects through a channel and also between processes.
|
31
33
|
[Marshal](http://rubydoc.info/stdlib/core/Marshal) is the serializer of choice
|
32
34
|
in this example:
|
33
35
|
|
data/lib/ichannel/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ichannel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.1.1.
|
4
|
+
version: 5.1.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -46,7 +46,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
46
46
|
version: '0'
|
47
47
|
segments:
|
48
48
|
- 0
|
49
|
-
hash:
|
49
|
+
hash: -738845943245247056
|
50
50
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
51
51
|
none: false
|
52
52
|
requirements:
|
@@ -55,7 +55,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
55
55
|
version: '0'
|
56
56
|
segments:
|
57
57
|
- 0
|
58
|
-
hash:
|
58
|
+
hash: -738845943245247056
|
59
59
|
requirements: []
|
60
60
|
rubyforge_project:
|
61
61
|
rubygems_version: 1.8.23
|