nio4r 2.7.0 → 2.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/changes.md +1 -1
- data/ext/nio4r/org/nio4r/ByteBuffer.java +1 -1
- data/ext/nio4r/org/nio4r/Monitor.java +2 -2
- data/ext/nio4r/org/nio4r/Selector.java +2 -2
- data/lib/nio/version.rb +1 -1
- data/nio4r.gemspec +1 -1
- data/readme.md +4 -0
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54febf2b0d954eb8270ca97cd81e552f3c8ef975b4abb2d8265dcc6151df725f
|
4
|
+
data.tar.gz: 655358505bcbde6a568e585b3f166160d10d97ffd04d8b47ae983e3e6fd3119b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32cbd3ff499173cd7adb3797fadfda14aea5e74638632609dd4d2bda625f274acd0941a1a6f5790bf080d041c7ecb1d2eb17379e13688500ecf904458e5f6070
|
7
|
+
data.tar.gz: b904ecc64938f5206ad046202bdd48d700457967aa49365ab78916584b035ce1b72c6eb77f56ecb9926e1b6aeb7df54960f0380142cba1300bb3edc59e2cb313
|
data/changes.md
CHANGED
@@ -27,7 +27,7 @@ created by Upekshej
|
|
27
27
|
*/
|
28
28
|
public class ByteBuffer extends RubyObject {
|
29
29
|
private static final long serialVersionUID = -6903439483039149324L;
|
30
|
-
private java.nio.ByteBuffer byteBuffer;
|
30
|
+
private transient java.nio.ByteBuffer byteBuffer;
|
31
31
|
|
32
32
|
public static RaiseException newOverflowError(ThreadContext context, String message) {
|
33
33
|
RubyClass klass = context.runtime.getModule("NIO").getClass("ByteBuffer").getClass("OverflowError");
|
@@ -14,9 +14,9 @@ import org.jruby.runtime.builtin.IRubyObject;
|
|
14
14
|
|
15
15
|
public class Monitor extends RubyObject {
|
16
16
|
private static final long serialVersionUID = -3733782997115074794L;
|
17
|
-
private SelectionKey key;
|
17
|
+
private transient SelectionKey key;
|
18
18
|
private RubyIO io;
|
19
|
-
private IRubyObject interests, selector, value, closed;
|
19
|
+
private transient IRubyObject interests, selector, value, closed;
|
20
20
|
|
21
21
|
public Monitor(final Ruby ruby, RubyClass rubyClass) {
|
22
22
|
super(ruby, rubyClass);
|
@@ -22,7 +22,7 @@ import org.jruby.util.io.OpenFile;
|
|
22
22
|
|
23
23
|
public class Selector extends RubyObject {
|
24
24
|
private static final long serialVersionUID = -14562818539414873L;
|
25
|
-
private java.nio.channels.Selector selector;
|
25
|
+
private transient java.nio.channels.Selector selector;
|
26
26
|
private HashMap<SelectableChannel,SelectionKey> cancelledKeys;
|
27
27
|
private volatile boolean wakeupFired;
|
28
28
|
|
@@ -234,7 +234,7 @@ public class Selector extends RubyObject {
|
|
234
234
|
|
235
235
|
cancelKeys();
|
236
236
|
try {
|
237
|
-
context.getThread().beforeBlockingCall();
|
237
|
+
context.getThread().beforeBlockingCall(context);
|
238
238
|
if(timeout.isNil()) {
|
239
239
|
result = this.selector.select();
|
240
240
|
} else {
|
data/lib/nio/version.rb
CHANGED
data/nio4r.gemspec
CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |spec|
|
|
6
6
|
spec.authors = ["Tony Arcieri"]
|
7
7
|
spec.email = ["bascule@gmail.com"]
|
8
8
|
spec.homepage = "https://github.com/socketry/nio4r"
|
9
|
-
spec.
|
9
|
+
spec.licenses = ["MIT", "BSD-2-Clause"]
|
10
10
|
spec.summary = "New IO for Ruby"
|
11
11
|
spec.description = <<-DESCRIPTION.strip.gsub(/\s+/, " ")
|
12
12
|
Cross-platform asynchronous I/O primitives for scalable network clients
|
data/readme.md
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nio4r
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.7.
|
4
|
+
version: 2.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tony Arcieri
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -108,12 +108,13 @@ files:
|
|
108
108
|
- spec/support/selectable_examples.rb
|
109
109
|
homepage: https://github.com/socketry/nio4r
|
110
110
|
licenses:
|
111
|
-
- MIT
|
111
|
+
- MIT
|
112
|
+
- BSD-2-Clause
|
112
113
|
metadata:
|
113
114
|
bug_tracker_uri: https://github.com/socketry/nio4r/issues
|
114
115
|
changelog_uri: https://github.com/socketry/nio4r/blob/main/changes.md
|
115
|
-
documentation_uri: https://www.rubydoc.info/gems/nio4r/2.
|
116
|
-
source_code_uri: https://github.com/socketry/nio4r/tree/v2.
|
116
|
+
documentation_uri: https://www.rubydoc.info/gems/nio4r/2.7.1
|
117
|
+
source_code_uri: https://github.com/socketry/nio4r/tree/v2.7.1
|
117
118
|
wiki_uri: https://github.com/socketry/nio4r/wiki
|
118
119
|
funding_uri: https://github.com/sponsors/ioquatix/
|
119
120
|
post_install_message:
|
@@ -131,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
131
132
|
- !ruby/object:Gem::Version
|
132
133
|
version: '0'
|
133
134
|
requirements: []
|
134
|
-
rubygems_version: 3.
|
135
|
+
rubygems_version: 3.2.22
|
135
136
|
signing_key:
|
136
137
|
specification_version: 4
|
137
138
|
summary: New IO for Ruby
|