isomorfeus-iodine 0.7.46 → 0.7.47
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/iodine/extconf.rb +16 -2
- data/isomorfeus-iodine.gemspec +8 -5
- data/lib/iodine/version.rb +1 -1
- data/lib/iodine.rb +2 -2
- metadata +9 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a017db20d4da0d99ec041f94af86227596b489d7a5323f1033786817a534c5c
|
4
|
+
data.tar.gz: eeb6600aece29a3a17984edca815e475bac45f89c7103394ea6b9afe6e35c8f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c7ff4c05f48077939435d7924776396add7369ff081a878c5ffabb9e4dbcfdfa349ac8afb4cfce9e7451061bc7fbc70a9ee4111c3de68e98174876cb08e4595
|
7
|
+
data.tar.gz: c42f137b14b1b1846a814be44343cbcd0b3f6ebbb1c7abf7eb39c4f0d372de36c39f14d914acd8ac43b6fd23eed4cffee9b5569c805d9d2ed2632d61cf670ae3
|
data/ext/iodine/extconf.rb
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
require 'mkmf'
|
2
2
|
|
3
|
+
WIN_PATTERNS = [
|
4
|
+
/bccwin/i,
|
5
|
+
/cygwin/i,
|
6
|
+
/djgpp/i,
|
7
|
+
/mingw/i,
|
8
|
+
/mswin/i,
|
9
|
+
/wince/i,
|
10
|
+
].freeze
|
11
|
+
|
12
|
+
def win_platform?
|
13
|
+
ruby_platform = RbConfig::CONFIG['host_os']
|
14
|
+
!!WIN_PATTERNS.find {|r| ruby_platform =~ r }
|
15
|
+
end
|
16
|
+
|
3
17
|
# Test polling
|
4
18
|
def iodine_test_polling_support
|
5
19
|
iodine_poll_test_kqueue = <<EOS
|
@@ -36,7 +50,7 @@ int main(void) {
|
|
36
50
|
EOS
|
37
51
|
|
38
52
|
# Test for manual selection and then TRY_COMPILE with each polling engine
|
39
|
-
if
|
53
|
+
if win_platform?
|
40
54
|
puts "skipping polling tests, using WSAPOLL on Windows"
|
41
55
|
$defs << "-DFIO_ENGINE_WSAPOLL"
|
42
56
|
elsif ENV['FIO_POLL']
|
@@ -67,7 +81,7 @@ end
|
|
67
81
|
|
68
82
|
iodine_test_polling_support()
|
69
83
|
|
70
|
-
unless
|
84
|
+
unless win_platform?
|
71
85
|
# Test for OpenSSL version equal to 1.0.0 or greater.
|
72
86
|
unless ENV['NO_SSL'] || ENV['NO_TLS'] || ENV["DISABLE_SSL"]
|
73
87
|
OPENSSL_TEST_CODE = <<EOS
|
data/isomorfeus-iodine.gemspec
CHANGED
@@ -10,9 +10,13 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ['jan@kursator.de']
|
11
11
|
|
12
12
|
spec.summary = 'iodine build for Isomorfeus'
|
13
|
-
spec.description = 'iodine build for Isomorfeus'
|
14
|
-
spec.homepage = 'https://
|
13
|
+
spec.description = 'iodine build for Isomorfeus, original iodine from Bo: https://github.com/boazsegev/iodine'
|
14
|
+
spec.homepage = 'https://isomorfeus.com'
|
15
15
|
spec.license = 'MIT'
|
16
|
+
spec.metadata = {
|
17
|
+
"github_repo" => "ssh://github.com/isomorfeus/gems",
|
18
|
+
"source_code_uri" => "https://github.com/isomorfeus/isomorfeus-iodine"
|
19
|
+
}
|
16
20
|
|
17
21
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
22
|
spec.bindir = 'exe'
|
@@ -21,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
21
25
|
|
22
26
|
spec.extensions = %w(ext/iodine/extconf.rb)
|
23
27
|
|
24
|
-
spec.required_ruby_version = '>=
|
28
|
+
spec.required_ruby_version = '>= 3.1.0'
|
25
29
|
|
26
30
|
spec.requirements << 'A Unix based system: Linux / macOS / BSD.'
|
27
31
|
spec.requirements << 'An updated C compiler.'
|
@@ -36,8 +40,7 @@ Gem::Specification.new do |spec|
|
|
36
40
|
spec.add_development_dependency 'rspec', '>=3.9.0', '< 4.0'
|
37
41
|
spec.add_development_dependency 'spec', '>=5.3.0', '< 6.0'
|
38
42
|
spec.add_development_dependency 'rake-compiler', '>= 1', '< 2.0'
|
39
|
-
spec.required_ruby_version = '>= 3.1.0'
|
40
43
|
|
41
44
|
spec.post_install_message = "Thank you for installing Iodine #{Iodine::VERSION}.\n" +
|
42
|
-
"Remember: if iodine supports your business, it's only fair to give value back (code contributions / donations) to Bo."
|
45
|
+
"Remember: if iodine supports your business, it's only fair to give value back (code contributions / donations) to Bo, see https://github.com/boazsegev/iodine"
|
43
46
|
end
|
data/lib/iodine/version.rb
CHANGED
data/lib/iodine.rb
CHANGED
@@ -2,8 +2,8 @@ require 'stringio' # Used internally as a default RackIO
|
|
2
2
|
require 'socket' # TCPSocket is used internally for Hijack support
|
3
3
|
# require 'openssl' # For SSL/TLS support using OpenSSL
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
require 'iodine/version'
|
6
|
+
require 'iodine/iodine' # loading a binary C extension
|
7
7
|
|
8
8
|
# Iodine is an HTTP / WebSocket server as well as an Evented Network Tool Library. In essense, Iodine is a Ruby port for the [facil.io](http://facil.io) C library.
|
9
9
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: isomorfeus-iodine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.47
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Biedermann
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -110,7 +110,7 @@ dependencies:
|
|
110
110
|
- - "<"
|
111
111
|
- !ruby/object:Gem::Version
|
112
112
|
version: '2.0'
|
113
|
-
description: iodine build for Isomorfeus
|
113
|
+
description: 'iodine build for Isomorfeus, original iodine from Bo: https://github.com/boazsegev/iodine'
|
114
114
|
email:
|
115
115
|
- jan@kursator.de
|
116
116
|
executables:
|
@@ -237,13 +237,15 @@ files:
|
|
237
237
|
- lib/iodine/version.rb
|
238
238
|
- lib/rack/handler/iodine.rb
|
239
239
|
- logo.png
|
240
|
-
homepage: https://
|
240
|
+
homepage: https://isomorfeus.com
|
241
241
|
licenses:
|
242
242
|
- MIT
|
243
|
-
metadata:
|
243
|
+
metadata:
|
244
|
+
github_repo: ssh://github.com/isomorfeus/gems
|
245
|
+
source_code_uri: https://github.com/isomorfeus/isomorfeus-iodine
|
244
246
|
post_install_message: |-
|
245
|
-
Thank you for installing Iodine 0.7.
|
246
|
-
Remember: if iodine supports your business, it's only fair to give value back (code contributions / donations) to Bo.
|
247
|
+
Thank you for installing Iodine 0.7.47.
|
248
|
+
Remember: if iodine supports your business, it's only fair to give value back (code contributions / donations) to Bo, see https://github.com/boazsegev/iodine
|
247
249
|
rdoc_options: []
|
248
250
|
require_paths:
|
249
251
|
- lib
|