nio4r 2.5.6 → 2.5.7

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: d68b6bc99d29b37444727a6108b1751d5dfa79fde39808f748afd2f66ff5b695
4
- data.tar.gz: 015304f2af3edaca58df746efb161e7ef4126ba6359aca638d3b31e01957437a
3
+ metadata.gz: 94787af8473a9b5715919fe9dc98c76b5cef6b9c0c9da66843a50a0fa3edd553
4
+ data.tar.gz: f9a34dc98a62a40901eb1a8904cef23391aecebe11913265caddbc994b26cf78
5
5
  SHA512:
6
- metadata.gz: 308a5d36bc3f37817c36188d49689e9d4423f4288105dd4d27a649b5111263d87f4b1a649508ee0b1a07e480ef4bf854aa935ad0f8ac1837c6978850027460b5
7
- data.tar.gz: 47382950f3931f136022db1cc77fe5d33e482ad449d4fed223de96a9cc83e0f654024b5610e6a707d6cac38ad3bfc27775872fc6b9fd04d95d095832cca28766
6
+ metadata.gz: 3187b027779135b4d5a4940fe7ad6827f6d5d6e2bc062a551a8d1fc2657225f1dba77d8e1d515b7be3226092c059d09fadd8a80597bc2f533293f9f6fd7d15cd
7
+ data.tar.gz: 3224b79d3d5d9049579948800f2e3b876d529e69c2fd25252c11774b267e2b516dea3a504bc3069473104dc75c09abef15aa0586358f855fd12bffa607e12665
data/ext/nio4r/extconf.rb CHANGED
@@ -27,5 +27,9 @@ $defs << "-DEV_STANDALONE" # prevent libev from assuming "config.h" exists
27
27
 
28
28
  CONFIG["optflags"] << " -fno-strict-aliasing" unless RUBY_PLATFORM =~ /mswin/
29
29
 
30
+ if RUBY_PLATFORM =~ /darwin/
31
+ $DLDFLAGS.gsub!(/\-arch\s+[^\s]+/, "")
32
+ end
33
+
30
34
  dir_config "nio4r_ext"
31
35
  create_makefile "nio4r_ext"
data/lib/nio.rb CHANGED
@@ -25,9 +25,9 @@ module NIO
25
25
  end
26
26
 
27
27
  # M1 native extension is crashing on M1 (arm64):
28
- if RUBY_PLATFORM =~ /darwin/ && RUBY_PLATFORM =~ /arm64/
29
- return true
30
- end
28
+ # if RUBY_PLATFORM =~ /darwin/ && RUBY_PLATFORM =~ /arm64/
29
+ # return true
30
+ # end
31
31
 
32
32
  return false
33
33
  end
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.6"
4
+ VERSION = "2.5.7"
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.6
4
+ version: 2.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Arcieri
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-03 00:00:00.000000000 Z
11
+ date: 2021-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -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.6
113
- source_code_uri: https://github.com/socketry/nio4r/tree/v2.5.6
112
+ documentation_uri: https://www.rubydoc.info/gems/nio4r/2.5.7
113
+ source_code_uri: https://github.com/socketry/nio4r/tree/v2.5.7
114
114
  wiki_uri: https://github.com/socketry/nio4r/wiki
115
115
  post_install_message:
116
116
  rdoc_options: []
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
127
127
  - !ruby/object:Gem::Version
128
128
  version: '0'
129
129
  requirements: []
130
- rubygems_version: 3.1.2
130
+ rubygems_version: 3.2.3
131
131
  signing_key:
132
132
  specification_version: 4
133
133
  summary: New IO for Ruby