eventmachine 1.0.0.rc.1-x86-mswin32-60 → 1.0.0.rc.2-x86-mswin32-60

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/ext/extconf.rb +10 -1
  2. data/lib/em/version.rb +1 -1
  3. metadata +4 -4
@@ -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"
@@ -1,3 +1,3 @@
1
1
  module EventMachine
2
- VERSION = "1.0.0.rc.1"
2
+ VERSION = "1.0.0.rc.2"
3
3
  end
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: 379161805
4
+ hash: -2162582668
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
9
  - 0
10
10
  - rc
11
- - 1
12
- version: 1.0.0.rc.1
11
+ - 2
12
+ version: 1.0.0.rc.2
13
13
  platform: x86-mswin32-60
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-18 00:00:00 -07:00
21
+ date: 2012-06-25 00:00:00 -07:00
22
22
  default_executable:
23
23
  dependencies:
24
24
  - !ruby/object:Gem::Dependency