io-event 1.1.2 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dd5603ed5cc26eaa2f9d4261d7462ec1d435c169c36c2770af80c0d27fe2c4e2
4
- data.tar.gz: 1ce4d895bfc5618e97bf84702e2591aa9b3aa947678e5eae8b1b42c0c4119607
3
+ metadata.gz: 24132010da80dc62afdf1bc31b5e7b9c26fe6ad4f38c14b09e507f202d72afdd
4
+ data.tar.gz: 551cffa8341dd52ed993b937ea6924853c32ef0a41ac9e06f7c45345cb92fae1
5
5
  SHA512:
6
- metadata.gz: c5924e3108f8c731a55d36f5329519870931aaa16e14fab81ca7b56418afb77cc6bab395c10751b628ce2668ef5c570141af6237cc07c7a62bf8fc8a4b53c71a
7
- data.tar.gz: a5e8281833ac2f7476ca298fc0446ad4479dd0f08cb7764c5f0940fd235446b903e03909acc669869b2847eab50e92c1ef80e6c77acef62b35525d39a48a5351
6
+ metadata.gz: 7d09aca9258a428103a2f2c3ecd28d7a64f7901a20302f26f02499d52025e875c17c134d46bc84a32228a189a7cbc520478e3f1e10c39b23317d8b1a1352ece2
7
+ data.tar.gz: e7ec8eaa45eb246110de0ae32a39704d8885ad2952b30c6c392194eef45f7def5edea15194cc1831eb979c39d9b095e9184f464e0cd13cc72a8b1ac5c3fb252b
checksums.yaml.gz.sig CHANGED
Binary file
data/ext/extconf.rb CHANGED
@@ -24,6 +24,8 @@
24
24
  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
25
25
  # THE SOFTWARE.
26
26
 
27
+ return if RUBY_DESCRIPTION =~ /jruby/
28
+
27
29
  require 'mkmf'
28
30
 
29
31
  gem_name = File.basename(__dir__)
@@ -48,7 +50,9 @@ if have_header('sys/epoll.h')
48
50
  $srcs << "io/event/selector/epoll.c"
49
51
  end
50
52
 
51
- if have_header('sys/event.h')
53
+ # The order matters, because we MUST have EV_UDATA_SPECIFIC.
54
+ # The `have_header` call is just to add the -D to the compiler flags.
55
+ if have_const('EV_UDATA_SPECIFIC', 'sys/event.h') and have_header('sys/event.h')
52
56
  $srcs << "io/event/selector/kqueue.c"
53
57
  end
54
58
 
@@ -5,6 +5,6 @@
5
5
 
6
6
  class IO
7
7
  module Event
8
- VERSION = "1.1.2"
8
+ VERSION = "1.1.4"
9
9
  end
10
10
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: io-event
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -41,7 +41,7 @@ cert_chain:
41
41
  Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
42
42
  voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
43
43
  -----END CERTIFICATE-----
44
- date: 2022-10-19 00:00:00.000000000 Z
44
+ date: 2022-12-07 00:00:00.000000000 Z
45
45
  dependencies:
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: bake
metadata.gz.sig CHANGED
Binary file