eventmachine 1.0.0.rc.2-x86-mswin32-60 → 1.0.0.rc.3-x86-mswin32-60
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/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 +9 -11
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
@@ -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: -2955305448
|
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
|
+
- 3
|
12
|
+
version: 1.0.0.rc.3
|
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-
|
21
|
+
date: 2012-06-28 00:00:00 -07:00
|
22
22
|
default_executable:
|
23
23
|
dependencies:
|
24
24
|
- !ruby/object:Gem::Dependency
|
@@ -27,14 +27,14 @@ dependencies:
|
|
27
27
|
requirement: &id001 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
|
-
- -
|
30
|
+
- - ~>
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
hash:
|
32
|
+
hash: 61
|
33
33
|
segments:
|
34
34
|
- 0
|
35
|
-
-
|
36
|
-
-
|
37
|
-
version: 0.
|
35
|
+
- 8
|
36
|
+
- 1
|
37
|
+
version: 0.8.1
|
38
38
|
type: :development
|
39
39
|
version_requirements: *id001
|
40
40
|
- !ruby/object:Gem::Dependency
|
@@ -249,9 +249,7 @@ files:
|
|
249
249
|
- tests/test_ud.rb
|
250
250
|
- tests/test_unbind_reason.rb
|
251
251
|
- lib/1.8/rubyeventmachine.so
|
252
|
-
- lib/1.9/rubyeventmachine.so
|
253
252
|
- lib/1.8/fastfilereaderext.so
|
254
|
-
- lib/1.9/fastfilereaderext.so
|
255
253
|
- lib/rubyeventmachine.rb
|
256
254
|
has_rdoc: true
|
257
255
|
homepage: http://rubyeventmachine.com
|