eventmachine 1.0.0.rc.1-java → 1.0.0.rc.2-java

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 +2 -2
@@ -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
@@ -2,7 +2,7 @@
2
2
  name: eventmachine
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 6
5
- version: 1.0.0.rc.1
5
+ version: 1.0.0.rc.2
6
6
  platform: java
7
7
  authors:
8
8
  - Francis Cianfrocca
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2012-06-18 00:00:00 Z
14
+ date: 2012-06-26 00:00:00 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rake-compiler