ffi-rxs 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ffi-rxs/socket.rb +1 -1
- data/lib/ffi-rxs/version.rb +1 -1
- data/spec/nonblocking_recv_spec.rb +0 -6
- metadata +26 -25
data/lib/ffi-rxs/socket.rb
CHANGED
@@ -567,7 +567,7 @@ module XS
|
|
567
567
|
# Populate socket option lookup array
|
568
568
|
def populate_option_lookup
|
569
569
|
# integer options
|
570
|
-
[EVENTS, LINGER, RECONNECT_IVL, FD, TYPE, BACKLOG, KEEPALIVE, IPV4ONLY].each { |option| @option_lookup[option] = 0 }
|
570
|
+
[EVENTS, LINGER, RECONNECT_IVL, FD, TYPE, BACKLOG, KEEPALIVE, IPV4ONLY, SURVEY_TIMEOUT].each { |option| @option_lookup[option] = 0 }
|
571
571
|
|
572
572
|
# long long options
|
573
573
|
[RCVMORE, AFFINITY].each { |option| @option_lookup[option] = 1 }
|
data/lib/ffi-rxs/version.rb
CHANGED
@@ -23,12 +23,6 @@ module XS
|
|
23
23
|
Util.resultcode_ok?(rc).should be_false
|
24
24
|
end
|
25
25
|
|
26
|
-
it "gets EAGAIN when there are no messages to read" do
|
27
|
-
array = []
|
28
|
-
rc = @receiver.recvmsgs(array, XS::NonBlocking)
|
29
|
-
XS::Util.errno.should == XS::EAGAIN
|
30
|
-
end
|
31
|
-
|
32
26
|
it "returns the given array unmodified when there are no messages to read" do
|
33
27
|
array = []
|
34
28
|
rc = @receiver.recvmsgs(array, XS::NonBlocking)
|
metadata
CHANGED
@@ -1,64 +1,64 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ffi-rxs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
4
|
+
prerelease:
|
5
|
+
version: 1.2.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Chris Duncan
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-05-
|
12
|
+
date: 2012-05-29 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ffi
|
16
|
-
|
17
|
-
none: false
|
16
|
+
version_requirements: !ruby/object:Gem::Requirement
|
18
17
|
requirements:
|
19
18
|
- - ! '>='
|
20
19
|
- !ruby/object:Gem::Version
|
21
20
|
version: '0'
|
22
|
-
type: :runtime
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: !ruby/object:Gem::Requirement
|
25
21
|
none: false
|
22
|
+
requirement: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
24
|
- - ! '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
27
|
+
none: false
|
28
|
+
prerelease: false
|
29
|
+
type: :runtime
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: rspec
|
32
|
-
|
33
|
-
none: false
|
32
|
+
version_requirements: !ruby/object:Gem::Requirement
|
34
33
|
requirements:
|
35
34
|
- - ~>
|
36
35
|
- !ruby/object:Gem::Version
|
37
36
|
version: '2.6'
|
38
|
-
type: :development
|
39
|
-
prerelease: false
|
40
|
-
version_requirements: !ruby/object:Gem::Requirement
|
41
37
|
none: false
|
38
|
+
requirement: !ruby/object:Gem::Requirement
|
42
39
|
requirements:
|
43
40
|
- - ~>
|
44
41
|
- !ruby/object:Gem::Version
|
45
42
|
version: '2.6'
|
43
|
+
none: false
|
44
|
+
prerelease: false
|
45
|
+
type: :development
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: rake
|
48
|
-
|
49
|
-
none: false
|
48
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
49
|
requirements:
|
51
50
|
- - ! '>='
|
52
51
|
- !ruby/object:Gem::Version
|
53
52
|
version: '0'
|
54
|
-
type: :development
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
53
|
none: false
|
54
|
+
requirement: !ruby/object:Gem::Requirement
|
58
55
|
requirements:
|
59
56
|
- - ! '>='
|
60
57
|
- !ruby/object:Gem::Version
|
61
58
|
version: '0'
|
59
|
+
none: false
|
60
|
+
prerelease: false
|
61
|
+
type: :development
|
62
62
|
description: Ruby FFI bindings for Crossroads I/O messaging library.
|
63
63
|
email:
|
64
64
|
- celldee@gmail.com
|
@@ -115,26 +115,27 @@ files:
|
|
115
115
|
- spec/spec_helper.rb
|
116
116
|
homepage: http://github.com/celldee/ffi-rxs
|
117
117
|
licenses: []
|
118
|
-
post_install_message:
|
118
|
+
post_install_message:
|
119
119
|
rdoc_options: []
|
120
120
|
require_paths:
|
121
121
|
- lib
|
122
122
|
required_ruby_version: !ruby/object:Gem::Requirement
|
123
|
-
none: false
|
124
123
|
requirements:
|
125
124
|
- - ! '>='
|
126
125
|
- !ruby/object:Gem::Version
|
127
126
|
version: '0'
|
128
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
129
127
|
none: false
|
128
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
130
129
|
requirements:
|
131
130
|
- - ! '>='
|
132
131
|
- !ruby/object:Gem::Version
|
133
132
|
version: '0'
|
133
|
+
none: false
|
134
134
|
requirements: []
|
135
|
-
rubyforge_project:
|
136
|
-
rubygems_version: 1.8.
|
137
|
-
signing_key:
|
135
|
+
rubyforge_project:
|
136
|
+
rubygems_version: 1.8.19
|
137
|
+
signing_key:
|
138
138
|
specification_version: 3
|
139
139
|
summary: Ruby FFI bindings for Crossroads I/O messaging library.
|
140
140
|
test_files: []
|
141
|
+
...
|