eventmachine 1.0.0.rc.2-java → 1.0.0.rc.3-java
Sign up to get free protection for your applications and to get access to all the features.
- data/eventmachine.gemspec +1 -1
- data/ext/extconf.rb +2 -1
- data/ext/fastfilereader/extconf.rb +10 -1
- data/lib/em/version.rb +1 -1
- metadata +4 -4
data/eventmachine.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.files = `git ls-files`.split("\n")
|
14
14
|
s.extensions = ["ext/extconf.rb", "ext/fastfilereader/extconf.rb"]
|
15
15
|
|
16
|
-
s.add_development_dependency 'rake-compiler', '0.
|
16
|
+
s.add_development_dependency 'rake-compiler', '~> 0.8.1'
|
17
17
|
s.add_development_dependency 'yard', ">= 0.7.2"
|
18
18
|
#s.add_development_dependency 'bluecloth'
|
19
19
|
|
data/ext/extconf.rb
CHANGED
@@ -40,7 +40,8 @@ def manual_ssl_config
|
|
40
40
|
end
|
41
41
|
|
42
42
|
if ENV['CROSS_COMPILING']
|
43
|
-
|
43
|
+
openssl_version = ENV.fetch("OPENSSL_VERSION", "1.0.0a")
|
44
|
+
openssl_dir = File.expand_path("~/.rake-compiler/builds/openssl-#{openssl_version}/")
|
44
45
|
if File.exists?(openssl_dir)
|
45
46
|
FileUtils.mkdir_p Dir.pwd+"/openssl/"
|
46
47
|
FileUtils.cp Dir[openssl_dir+"/include/openssl/*.h"], Dir.pwd+"/openssl/", :verbose => true
|
@@ -26,6 +26,15 @@ else
|
|
26
26
|
add_define 'OS_UNIX'
|
27
27
|
end
|
28
28
|
|
29
|
+
# Adjust number of file descriptors (FD) on Windows
|
30
|
+
|
31
|
+
if RbConfig::CONFIG["host_os"] =~ /mingw/
|
32
|
+
found = RbConfig::CONFIG.values_at("CFLAGS", "CPPFLAGS").
|
33
|
+
any? { |v| v.include?("FD_SETSIZE") }
|
34
|
+
|
35
|
+
add_define "FD_SETSIZE=32767" unless found
|
36
|
+
end
|
37
|
+
|
29
38
|
# Main platform invariances:
|
30
39
|
|
31
40
|
case RUBY_PLATFORM
|
@@ -91,4 +100,4 @@ else
|
|
91
100
|
CONFIG['LDSHARED'] = "$(CXX) -shared"
|
92
101
|
end
|
93
102
|
|
94
|
-
create_makefile "fastfilereaderext"
|
103
|
+
create_makefile "fastfilereaderext"
|
data/lib/em/version.rb
CHANGED
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.
|
5
|
+
version: 1.0.0.rc.3
|
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-
|
14
|
+
date: 2012-06-29 00:00:00 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rake-compiler
|
@@ -19,9 +19,9 @@ dependencies:
|
|
19
19
|
requirement: &id001 !ruby/object:Gem::Requirement
|
20
20
|
none: false
|
21
21
|
requirements:
|
22
|
-
- -
|
22
|
+
- - ~>
|
23
23
|
- !ruby/object:Gem::Version
|
24
|
-
version: 0.
|
24
|
+
version: 0.8.1
|
25
25
|
type: :development
|
26
26
|
version_requirements: *id001
|
27
27
|
- !ruby/object:Gem::Dependency
|