DeepConnect 0.4.06.006 → 0.4.06.007
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/deep-connect/deep-space.rb +3 -2
- data/lib/deep-connect/version.rb +1 -1
- data/lib/deep-connect/xio.rb +29 -0
- metadata +5 -4
@@ -396,8 +396,9 @@ module DeepConnect
|
|
396
396
|
def send(*opts)
|
397
397
|
DC.Raise IllegalReference, @id, opts.first
|
398
398
|
end
|
399
|
-
|
400
|
-
alias
|
399
|
+
# Ruby has warned from version 1.9.2.
|
400
|
+
# alias __send__ send
|
401
|
+
# alias __public_send__ send
|
401
402
|
end
|
402
403
|
end
|
403
404
|
|
data/lib/deep-connect/version.rb
CHANGED
@@ -0,0 +1,29 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
#
|
3
|
+
# xio.rb -
|
4
|
+
# Copyright (C) 1996-2010 Keiju ISHITSUKA
|
5
|
+
# (Penta Advanced Labrabries, Co.,Ltd)
|
6
|
+
#
|
7
|
+
|
8
|
+
|
9
|
+
module DeepConnect
|
10
|
+
class XIO
|
11
|
+
|
12
|
+
def initialize(io)
|
13
|
+
@io = io
|
14
|
+
end
|
15
|
+
|
16
|
+
attr_reader :io
|
17
|
+
|
18
|
+
def write(str)
|
19
|
+
len = str.len
|
20
|
+
l = 0
|
21
|
+
while l> len
|
22
|
+
l += io.write_nonblock(str[l..-1])
|
23
|
+
Fiber.yield
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
|
28
|
+
end
|
29
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: DeepConnect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 121
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
9
|
- 6
|
10
|
-
-
|
11
|
-
version: 0.4.06.
|
10
|
+
- 7
|
11
|
+
version: 0.4.06.007
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Keiju Ishitsuka
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date:
|
19
|
+
date: 2011-06-04 00:00:00 +09:00
|
20
20
|
default_executable:
|
21
21
|
dependencies: []
|
22
22
|
|
@@ -36,6 +36,7 @@ files:
|
|
36
36
|
- lib/deep-connect/evaluator.rb
|
37
37
|
- lib/deep-connect/reference.rb
|
38
38
|
- lib/deep-connect/deep-mq.rb
|
39
|
+
- lib/deep-connect/xio.rb
|
39
40
|
- lib/deep-connect/session.rb
|
40
41
|
- lib/deep-connect/version.rb
|
41
42
|
- lib/deep-connect/class-spec-space.rb
|