celluloid-io 0.12.0 → 0.12.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ 0.12.1
2
+ ------
3
+ * Non-blocking connect workaround for JRuby
4
+
1
5
  0.12.0
2
6
  ------
3
7
  * Tracking release for Celluloid 0.12.0
@@ -63,7 +63,11 @@ module Celluloid
63
63
  @socket.connect_nonblock Socket.sockaddr_in(remote_port, @addr.to_s)
64
64
  rescue Errno::EINPROGRESS
65
65
  wait_writable
66
- retry
66
+
67
+ # HAX: for some reason we need to finish_connect ourselves on JRuby
68
+ # This logic is unnecessary but JRuby still throws Errno::EINPROGRESS
69
+ # if we retry the non-blocking connect instead of just finishing it
70
+ retry unless defined?(JRUBY_VERSION) && @socket.to_channel.finish_connect
67
71
  rescue Errno::EISCONN
68
72
  # We're now connected! Yay exceptions for flow control
69
73
  # NOTE: This is the approach the Ruby stdlib docs suggest ;_;
@@ -1,5 +1,5 @@
1
1
  module Celluloid
2
2
  module IO
3
- VERSION = "0.12.0"
3
+ VERSION = "0.12.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,71 +1,102 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: celluloid-io
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
5
- prerelease:
4
+ prerelease:
5
+ version: 0.12.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Tony Arcieri
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-04 00:00:00.000000000 Z
12
+ date: 2012-12-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: celluloid
16
- requirement: &70112015206080 !ruby/object:Gem::Requirement
16
+ version_requirements: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - ~>
19
+ - !ruby/object:Gem::Version
20
+ version: 0.12.0
17
21
  none: false
22
+ requirement: !ruby/object:Gem::Requirement
18
23
  requirements:
19
24
  - - ~>
20
25
  - !ruby/object:Gem::Version
21
26
  version: 0.12.0
22
- type: :runtime
27
+ none: false
23
28
  prerelease: false
24
- version_requirements: *70112015206080
29
+ type: :runtime
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: nio4r
27
- requirement: &70112015221200 !ruby/object:Gem::Requirement
32
+ version_requirements: !ruby/object:Gem::Requirement
33
+ requirements:
34
+ - - ! '>='
35
+ - !ruby/object:Gem::Version
36
+ version: 0.4.0
28
37
  none: false
38
+ requirement: !ruby/object:Gem::Requirement
29
39
  requirements:
30
40
  - - ! '>='
31
41
  - !ruby/object:Gem::Version
32
42
  version: 0.4.0
33
- type: :runtime
43
+ none: false
34
44
  prerelease: false
35
- version_requirements: *70112015221200
45
+ type: :runtime
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: rake
38
- requirement: &70112015220460 !ruby/object:Gem::Requirement
48
+ version_requirements: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ! '>='
51
+ - !ruby/object:Gem::Version
52
+ version: !binary |-
53
+ MA==
39
54
  none: false
55
+ requirement: !ruby/object:Gem::Requirement
40
56
  requirements:
41
57
  - - ! '>='
42
58
  - !ruby/object:Gem::Version
43
- version: '0'
44
- type: :development
59
+ version: !binary |-
60
+ MA==
61
+ none: false
45
62
  prerelease: false
46
- version_requirements: *70112015220460
63
+ type: :development
47
64
  - !ruby/object:Gem::Dependency
48
65
  name: rspec
49
- requirement: &70112015219920 !ruby/object:Gem::Requirement
66
+ version_requirements: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ! '>='
69
+ - !ruby/object:Gem::Version
70
+ version: !binary |-
71
+ MA==
50
72
  none: false
73
+ requirement: !ruby/object:Gem::Requirement
51
74
  requirements:
52
75
  - - ! '>='
53
76
  - !ruby/object:Gem::Version
54
- version: '0'
55
- type: :development
77
+ version: !binary |-
78
+ MA==
79
+ none: false
56
80
  prerelease: false
57
- version_requirements: *70112015219920
81
+ type: :development
58
82
  - !ruby/object:Gem::Dependency
59
83
  name: benchmark_suite
60
- requirement: &70112015219060 !ruby/object:Gem::Requirement
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ! '>='
87
+ - !ruby/object:Gem::Version
88
+ version: !binary |-
89
+ MA==
61
90
  none: false
91
+ requirement: !ruby/object:Gem::Requirement
62
92
  requirements:
63
93
  - - ! '>='
64
94
  - !ruby/object:Gem::Version
65
- version: '0'
66
- type: :development
95
+ version: !binary |-
96
+ MA==
97
+ none: false
67
98
  prerelease: false
68
- version_requirements: *70112015219060
99
+ type: :development
69
100
  description: Evented IO for Celluloid actors
70
101
  email:
71
102
  - tony.arcieri@gmail.com
@@ -106,29 +137,30 @@ files:
106
137
  - tasks/rspec.task
107
138
  homepage: http://github.com/celluloid/celluloid-io
108
139
  licenses: []
109
- post_install_message:
140
+ post_install_message:
110
141
  rdoc_options: []
111
142
  require_paths:
112
143
  - lib
113
144
  required_ruby_version: !ruby/object:Gem::Requirement
114
- none: false
115
145
  requirements:
116
146
  - - ! '>='
117
147
  - !ruby/object:Gem::Version
118
- version: '0'
119
- required_rubygems_version: !ruby/object:Gem::Requirement
148
+ version: !binary |-
149
+ MA==
120
150
  none: false
151
+ required_rubygems_version: !ruby/object:Gem::Requirement
121
152
  requirements:
122
153
  - - ! '>='
123
154
  - !ruby/object:Gem::Version
124
- version: '0'
155
+ version: !binary |-
156
+ MA==
157
+ none: false
125
158
  requirements: []
126
- rubyforge_project:
127
- rubygems_version: 1.8.10
128
- signing_key:
159
+ rubyforge_project:
160
+ rubygems_version: 1.8.24
161
+ signing_key:
129
162
  specification_version: 3
130
- summary: Celluloid::IO allows you to monitor multiple IO objects within a Celluloid
131
- actor
163
+ summary: Celluloid::IO allows you to monitor multiple IO objects within a Celluloid actor
132
164
  test_files:
133
165
  - spec/celluloid/io/actor_spec.rb
134
166
  - spec/celluloid/io/dns_resolver_spec.rb
@@ -137,4 +169,3 @@ test_files:
137
169
  - spec/celluloid/io/tcp_socket_spec.rb
138
170
  - spec/celluloid/io/udp_socket_spec.rb
139
171
  - spec/spec_helper.rb
140
- has_rdoc: