-
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
80 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.{yml,yaml}] | ||
indent_style = space | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: nio4r | ||
name: Test | ||
|
||
on: [push, pull_request] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,4 @@ Gregory Longtin <[email protected]> <[email protected]> | |
Elad Eyal <[email protected]> | ||
Boaz Segev <[email protected]> | ||
Tao Luo <[email protected]> | ||
Jean Boussier <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
# frozen_string_literal: true | ||
|
||
require File.expand_path("lib/nio/version", __dir__) | ||
require_relative "lib/nio/version" | ||
|
||
Gem::Specification.new do |spec| | ||
spec.authors = ["Tony Arcieri"] | ||
spec.email = ["[email protected]"] | ||
spec.homepage = "https://github.com/socketry/nio4r" | ||
spec.licenses = ["MIT", "BSD-2-Clause"] | ||
spec.summary = "New IO for Ruby" | ||
spec.description = <<-DESCRIPTION.strip.gsub(/\s+/, " ") | ||
Cross-platform asynchronous I/O primitives for scalable network clients | ||
and servers. Inspired by the Java NIO API, but simplified for ease-of-use. | ||
DESCRIPTION | ||
|
||
spec.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) } | ||
spec.files = `git ls-files`.split("\n") | ||
spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") | ||
spec.name = "nio4r" | ||
spec.require_paths = ["lib"] | ||
spec.version = NIO::VERSION | ||
spec.name = "nio4r" | ||
spec.version = NIO::VERSION | ||
|
||
spec.summary = "New IO for Ruby" | ||
spec.authors = ["Tony Arcieri", "Samuel Williams", "Olle Jonsson", "Gregory Longtin", "Tiago Cardoso", "Joao Fernandes", "Thomas Dziedzic", "Boaz Segev", "Logan Bowers", "Pedro Paiva", "Jun Aruga", "Omer Katz", "Upekshe Jayasekera", "Tim Carey-Smith", "Benoit Daloze", "Sergey Avseyev", "Tomoya Ishida", "Usaku Nakamura", "Cédric Boutillier", "Daniel Berger", "Dirkjan Bussink", "Hiroshi Shibata", "Jesús Burgos Maciá", "Luis Lavena", "Pavel Rosický", "Sadayuki Furuhashi", "Stephen von Takach", "Vladimir Kochnev", "Vít Ondruch", "Anatol Pomozov", "Bernd Ahlers", "Charles Oliver Nutter", "Denis Washington", "Elad Eyal", "Jean byroot Boussier", "Jeffrey Martin", "John Thornton", "Jun Jiang", "Lars Kanis", "Marek Kowalcze", "Maxime Demolin", "Orien Madgwick", "Pavel Lobashov", "Per Lundberg", "Phillip Aldridge", "Ravil Bayramgalin", "Shannon Skipper", "Tao Luo", "Thomas Kuntz", "Tsimnuj Hawj", "Zhang Kang"] | ||
spec.licenses = ["MIT", "BSD-2-Clause"] | ||
|
||
spec.cert_chain = ['release.cert'] | ||
spec.signing_key = File.expand_path('~/.gem/release.pem') | ||
|
||
spec.homepage = "https://github.com/socketry/nio4r" | ||
|
||
spec.metadata = { | ||
"bug_tracker_uri" => "https://github.com/socketry/nio4r/issues", | ||
"changelog_uri" => "https://github.com/socketry/nio4r/blob/main/changes.md", | ||
"documentation_uri" => "https://www.rubydoc.info/gems/nio4r/#{spec.version}", | ||
"source_code_uri" => "https://github.com/socketry/nio4r/tree/v#{spec.version}", | ||
"wiki_uri" => "https://github.com/socketry/nio4r/wiki", | ||
"funding_uri" => "https://github.com/sponsors/ioquatix/", | ||
"bug_tracker_uri" => "https://github.com/socketry/nio4r/issues", | ||
"changelog_uri" => "https://github.com/socketry/nio4r/blob/main/changes.md", | ||
"documentation_uri" => "https://www.rubydoc.info/gems/nio4r", | ||
"funding_uri" => "https://github.com/sponsors/ioquatix/", | ||
"source_code_uri" => "https://github.com/socketry/nio4r.git", | ||
"wiki_uri" => "https://github.com/socketry/nio4r/wiki", | ||
} | ||
|
||
spec.files = Dir.glob(['{ext,lib}/**/*', '*.md'], File::FNM_DOTMATCH, base: __dir__) | ||
spec.require_paths = ['lib'] | ||
|
||
spec.extensions = ["ext/nio4r/extconf.rb"] | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
chadlwilson
|
||
|
||
spec.required_ruby_version = ">= 2.4" | ||
|
||
if defined? JRUBY_VERSION | ||
|
@@ -37,7 +37,4 @@ Gem::Specification.new do |spec| | |
else | ||
spec.extensions = ["ext/nio4r/extconf.rb"] | ||
end | ||
|
||
spec.add_development_dependency "bundler" | ||
spec.add_development_dependency "rake" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIE2DCCA0CgAwIBAgIBATANBgkqhkiG9w0BAQsFADBhMRgwFgYDVQQDDA9zYW11 | ||
ZWwud2lsbGlhbXMxHTAbBgoJkiaJk/IsZAEZFg1vcmlvbnRyYW5zZmVyMRIwEAYK | ||
CZImiZPyLGQBGRYCY28xEjAQBgoJkiaJk/IsZAEZFgJuejAeFw0yMjA4MDYwNDUz | ||
MjRaFw0zMjA4MDMwNDUzMjRaMGExGDAWBgNVBAMMD3NhbXVlbC53aWxsaWFtczEd | ||
MBsGCgmSJomT8ixkARkWDW9yaW9udHJhbnNmZXIxEjAQBgoJkiaJk/IsZAEZFgJj | ||
bzESMBAGCgmSJomT8ixkARkWAm56MIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIB | ||
igKCAYEAomvSopQXQ24+9DBB6I6jxRI2auu3VVb4nOjmmHq7XWM4u3HL+pni63X2 | ||
9qZdoq9xt7H+RPbwL28LDpDNflYQXoOhoVhQ37Pjn9YDjl8/4/9xa9+NUpl9XDIW | ||
sGkaOY0eqsQm1pEWkHJr3zn/fxoKPZPfaJOglovdxf7dgsHz67Xgd/ka+Wo1YqoE | ||
e5AUKRwUuvaUaumAKgPH+4E4oiLXI4T1Ff5Q7xxv6yXvHuYtlMHhYfgNn8iiW8WN | ||
XibYXPNP7NtieSQqwR/xM6IRSoyXKuS+ZNGDPUUGk8RoiV/xvVN4LrVm9upSc0ss | ||
RZ6qwOQmXCo/lLcDUxJAgG95cPw//sI00tZan75VgsGzSWAOdjQpFM0l4dxvKwHn | ||
tUeT3ZsAgt0JnGqNm2Bkz81kG4A2hSyFZTFA8vZGhp+hz+8Q573tAR89y9YJBdYM | ||
zp0FM4zwMNEUwgfRzv1tEVVUEXmoFCyhzonUUw4nE4CFu/sE3ffhjKcXcY//qiSW | ||
xm4erY3XAgMBAAGjgZowgZcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0O | ||
BBYEFO9t7XWuFf2SKLmuijgqR4sGDlRsMC4GA1UdEQQnMCWBI3NhbXVlbC53aWxs | ||
aWFtc0BvcmlvbnRyYW5zZmVyLmNvLm56MC4GA1UdEgQnMCWBI3NhbXVlbC53aWxs | ||
aWFtc0BvcmlvbnRyYW5zZmVyLmNvLm56MA0GCSqGSIb3DQEBCwUAA4IBgQB5sxkE | ||
cBsSYwK6fYpM+hA5B5yZY2+L0Z+27jF1pWGgbhPH8/FjjBLVn+VFok3CDpRqwXCl | ||
xCO40JEkKdznNy2avOMra6PFiQyOE74kCtv7P+Fdc+FhgqI5lMon6tt9rNeXmnW/ | ||
c1NaMRdxy999hmRGzUSFjozcCwxpy/LwabxtdXwXgSay4mQ32EDjqR1TixS1+smp | ||
8C/NCWgpIfzpHGJsjvmH2wAfKtTTqB9CVKLCWEnCHyCaRVuKkrKjqhYCdmMBqCws | ||
JkxfQWC+jBVeG9ZtPhQgZpfhvh+6hMhraUYRQ6XGyvBqEUe+yo6DKIT3MtGE2+CP | ||
eX9i9ZWBydWb8/rvmwmX2kkcBbX0hZS1rcR593hGc61JR6lvkGYQ2MYskBveyaxt | ||
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8 | ||
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg= | ||
-----END CERTIFICATE----- |
Hello @ioquatix - This seems to cause
spec.extensions
to be there even on JRuby, which seems to cause an install failure in my case.Previously
spec.extensions
seemed to only be set ifJRUBY_VERSION
was unset - this line seems to be still there at 769c298#diff-dd153b45826144f6cdd0f0cf500f1a68ab8b1e55991b671fd4e483c4d907f026R38Was this additional line intentional to be there for JRuby now?