nio4r 2.5.5-java → 2.5.6-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '096be18a4a825023b8442cc0e778d560d3f26ab9c02e90f29c4d61f2d05d91c3'
4
- data.tar.gz: 307111c66f8339770ebfba51b5ec6acb2896d807c9cdd667acdd9654903c8eac
3
+ metadata.gz: aace72b9a6be158138445b5d7c1031a14103590ae4a29bb48658e97feb14b780
4
+ data.tar.gz: 603a4e6762b3a5a8cf1e0e1c0cc7a5a961e05b17a1794440719c50245829e72d
5
5
  SHA512:
6
- metadata.gz: eab4a86309cab8a9771eb371e9700ca56d1ea68944aa58987e09197a8f2050412e52f2d53b89046737932b51d1696f0ca7f5e18195603aba9e2f758ffbcc7151
7
- data.tar.gz: 316e9a29c60fa6c284722309a96dff05d0cddc9c4c1b5c583ee5cfe3499ad1215c2ff74f084e29236d1cda457e343ace0250df36a01b8d8d5b0c5c550861f7f0
6
+ metadata.gz: e65f9831285fcc9318ea41cef6e6be39d20a24d618f1e9311f5d8441ab2f8accedaa106476ea664813c086bbaf63b1c06b14b5af26b17abbbc9136a69df8698d
7
+ data.tar.gz: f9a2e37aaf6f3f45d9f024ca98ff8e96c2beac4660d8aa5dfb8f8c809743f12cc2d8d92d759ef68e4a5ea1b0c4a1a84915df56485ac369980a381fd8b84ec6dc
@@ -19,8 +19,6 @@ jobs:
19
19
  include:
20
20
  - { os: ubuntu-16.04, ruby: 3.0 }
21
21
  - { os: ubuntu-16.04, ruby: 2.4 }
22
- - { os: macos-11.0 , ruby: 3.0 }
23
- - { os: macos-11.0 , ruby: 2.4 }
24
22
  exclude:
25
23
  - { os: windows-2019, ruby: head }
26
24
  - { os: windows-2019, ruby: jruby }
data/CHANGES.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## 2.5.5 (2021-02-05)
2
+
3
+ * [#256](https://github.com/socketry/nio4r/pull/256)
4
+ Use libev 4.33, featuring experimental `io_uring` support.
5
+ ([@jcmfernandes])
6
+
7
+ * [#260](https://github.com/socketry/nio4r/pull/260)
8
+ Workaround for ARM-based macOS Ruby: Use pure Ruby for M1, since the native extension is crashing on M1 (arm64).
9
+ ([@jasl])
10
+
11
+ * [#252](https://github.com/socketry/nio4r/pull/252)
12
+ JRuby: Fix javac -Xlint warnings
13
+ ([@headius])
14
+
1
15
  ## 2.5.4 (2020-09-16)
2
16
 
3
17
  * [#251](https://github.com/socketry/nio4r/issues/251)
@@ -265,3 +279,6 @@ Possible bug with Ruby >= 2.7.0 and `GC.compact`
265
279
  [@eregon]: https://github.com/eregon
266
280
  [@olleolleolle]: https://github.com/olleolleolle
267
281
  [@boazsegev]: https://github.com/boazsegev
282
+ [@headius]: https://github.com/headius
283
+ [@jasl]: https://github.com/jasl
284
+ [@jcmfernandes]: https://github.com/jcmfernandes
data/ext/libev/ev.c CHANGED
@@ -354,19 +354,11 @@
354
354
  #endif
355
355
 
356
356
  #ifndef EV_USE_LINUXAIO
357
- # if __linux /* libev currently assumes linux/aio_abi.h is always available on linux */
358
- # define EV_USE_LINUXAIO 0 /* was: 1, always off by default */
359
- # else
360
357
  # define EV_USE_LINUXAIO 0
361
- # endif
362
358
  #endif
363
359
 
364
360
  #ifndef EV_USE_IOURING
365
- # if __linux /* later checks might disable again */
366
- # define EV_USE_IOURING 1
367
- # else
368
361
  # define EV_USE_IOURING 0
369
- # endif
370
362
  #endif
371
363
 
372
364
  #ifndef EV_USE_INOTIFY
@@ -475,14 +467,6 @@
475
467
  # define EV_USE_INOTIFY 0
476
468
  #endif
477
469
 
478
- #if __linux && EV_USE_IOURING
479
- # include <linux/version.h>
480
- # if LINUX_VERSION_CODE < KERNEL_VERSION(4,14,0)
481
- # undef EV_USE_IOURING
482
- # define EV_USE_IOURING 0
483
- # endif
484
- #endif
485
-
486
470
  #if !EV_USE_NANOSLEEP
487
471
  /* hp-ux has it in sys/time.h, which we unconditionally include above */
488
472
  # if !defined _WIN32 && !defined __hpux
@@ -3163,8 +3147,10 @@ ev_recommended_backends (void) EV_NOEXCEPT
3163
3147
  /* only select works correctly on that "unix-certified" platform */
3164
3148
  flags &= ~EVBACKEND_KQUEUE; /* horribly broken, even for sockets */
3165
3149
  flags &= ~EVBACKEND_POLL; /* poll is based on kqueue from 10.5 onwards */
3166
- #elif !defined(__NetBSD__)
3167
- /* kqueue is borked on everything but netbsd apparently */
3150
+ #endif
3151
+
3152
+ #if !defined(__NetBSD__) && !defined(__APPLE__)
3153
+ /* kqueue is borked on everything but netbsd and osx >= 10.12.2 apparently */
3168
3154
  /* it usually doesn't work correctly on anything but sockets and pipes */
3169
3155
  flags &= ~EVBACKEND_KQUEUE;
3170
3156
  #endif
data/lib/nio/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NIO
4
- VERSION = "2.5.5"
4
+ VERSION = "2.5.6"
5
5
  end
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.5.5
4
+ version: 2.5.6
5
5
  platform: java
6
6
  authors:
7
7
  - Tony Arcieri
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-05 00:00:00.000000000 Z
11
+ date: 2021-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -109,8 +109,8 @@ licenses:
109
109
  metadata:
110
110
  bug_tracker_uri: https://github.com/socketry/nio4r/issues
111
111
  changelog_uri: https://github.com/socketry/nio4r/blob/master/CHANGES.md
112
- documentation_uri: https://www.rubydoc.info/gems/nio4r/2.5.5
113
- source_code_uri: https://github.com/socketry/nio4r/tree/v2.5.5
112
+ documentation_uri: https://www.rubydoc.info/gems/nio4r/2.5.6
113
+ source_code_uri: https://github.com/socketry/nio4r/tree/v2.5.6
114
114
  wiki_uri: https://github.com/socketry/nio4r/wiki
115
115
  post_install_message:
116
116
  rdoc_options: []