eventmachine 1.0.0.rc.2 → 1.0.0.rc.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.7.9'
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
 
@@ -40,7 +40,8 @@ def manual_ssl_config
40
40
  end
41
41
 
42
42
  if ENV['CROSS_COMPILING']
43
- openssl_dir = File.expand_path("~/.rake-compiler/builds/openssl-1.0.0a/")
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"
@@ -1,3 +1,3 @@
1
1
  module EventMachine
2
- VERSION = "1.0.0.rc.2"
2
+ VERSION = "1.0.0.rc.3"
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: 2153358173
4
+ hash: -2955305448
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
9
  - 0
10
10
  - rc
11
- - 2
12
- version: 1.0.0.rc.2
11
+ - 3
12
+ version: 1.0.0.rc.3
13
13
  platform: ruby
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-25 00:00:00 -07:00
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: 17
32
+ hash: 61
33
33
  segments:
34
34
  - 0
35
- - 7
36
- - 9
37
- version: 0.7.9
35
+ - 8
36
+ - 1
37
+ version: 0.8.1
38
38
  type: :development
39
39
  version_requirements: *id001
40
40
  - !ruby/object:Gem::Dependency