eventmachine 1.0.0.rc.1-x86-mingw32 → 1.0.0.rc.2-x86-mingw32
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.
- data/ext/extconf.rb +10 -1
- data/lib/em/version.rb +1 -1
- metadata +4 -4
data/ext/extconf.rb
CHANGED
@@ -87,6 +87,15 @@ else
|
|
87
87
|
add_define "HAVE_KQUEUE" if have_header("sys/event.h") and have_header("sys/queue.h")
|
88
88
|
end
|
89
89
|
|
90
|
+
# Adjust number of file descriptors (FD) on Windows
|
91
|
+
|
92
|
+
if RbConfig::CONFIG["host_os"] =~ /mingw/
|
93
|
+
found = RbConfig::CONFIG.values_at("CFLAGS", "CPPFLAGS").
|
94
|
+
any? { |v| v.include?("FD_SETSIZE") }
|
95
|
+
|
96
|
+
add_define "FD_SETSIZE=32767" unless found
|
97
|
+
end
|
98
|
+
|
90
99
|
# Main platform invariances:
|
91
100
|
|
92
101
|
case RUBY_PLATFORM
|
@@ -163,4 +172,4 @@ add_define 'HAVE_MAKE_PAIR' if try_link(<<SRC, '-lstdc++')
|
|
163
172
|
SRC
|
164
173
|
TRY_LINK.sub!('$(CXX)', '$(CC)')
|
165
174
|
|
166
|
-
create_makefile "rubyeventmachine"
|
175
|
+
create_makefile "rubyeventmachine"
|
data/lib/em/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eventmachine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: -2162582668
|
5
5
|
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
9
|
- 0
|
10
10
|
- rc
|
11
|
-
-
|
12
|
-
version: 1.0.0.rc.
|
11
|
+
- 2
|
12
|
+
version: 1.0.0.rc.2
|
13
13
|
platform: x86-mingw32
|
14
14
|
authors:
|
15
15
|
- Francis Cianfrocca
|
@@ -18,7 +18,7 @@ autorequire:
|
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
20
|
|
21
|
-
date: 2012-06-
|
21
|
+
date: 2012-06-25 00:00:00 -07:00
|
22
22
|
default_executable:
|
23
23
|
dependencies:
|
24
24
|
- !ruby/object:Gem::Dependency
|