Skip to content

Commit be77570

Browse files
committed
add ruby version 2.3
add ruby version 2.3 `make test-all` results: https://gist.github.com/Azolo/521711c5340d2c492495b6d4eb0478b1
2 parents 4070b5c + bb4d08e commit be77570

File tree

1 file changed

+33
-2
lines changed

1 file changed

+33
-2
lines changed

config/ruby_installer.rb

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module RubyInstaller
1515
:file => 'cacert.pem'
1616
)
1717

18-
BaseVersions = %w(18 19 20 21 22)
18+
BaseVersions = %w(18 19 20 21 22 23)
1919

2020
Ruby18 = OpenStruct.new(
2121
:number => "18",
@@ -178,6 +178,35 @@ module RubyInstaller
178178
:installer_guid_x64 => "{A98E44F8-6401-400F-830E-B1A2919C22BD}"
179179
)
180180

181+
Ruby23 = OpenStruct.new(
182+
:number => "23",
183+
:version => "2.3.0",
184+
:short_version => 'ruby23',
185+
:url => "http://cache.ruby-lang.org/pub/ruby/2.3/",
186+
:checkout => 'http://svn.ruby-lang.org/repos/ruby/branches/ruby_2_3',
187+
:checkout_target => 'downloads/ruby_2_3',
188+
:target => 'sandbox/ruby_2_3',
189+
:doc_target => 'sandbox/doc/ruby23',
190+
:build_target => 'sandbox/ruby23_build',
191+
:install_target => 'sandbox/ruby23_mingw',
192+
:patches => 'resources/patches/ruby23',
193+
:configure_options => [
194+
'--enable-shared',
195+
'--disable-install-doc',
196+
'debugflags=-g',
197+
"CPPFLAGS='-DFD_SETSIZE=2048'"
198+
],
199+
:files => [
200+
"ruby-2.3.0.tar.bz2"
201+
],
202+
:dependencies => [
203+
:ffi, :gdbm, :openssl, :yaml, :zlib, :tcl, :tk
204+
],
205+
:excludes => [],
206+
:installer_guid => "{FF67D821-E2CA-4B2A-871F-4624C567AAF7}",
207+
:installer_guid_x64 => "{96A4CEEE-5ACC-4FB2-AAB6-8152D5AB0C9E}"
208+
)
209+
181210
# COMPAT mode for Ruby 1.9.2
182211
if ENV['COMPAT'] then
183212
Ruby19.version = "1.9.2-p290"
@@ -206,7 +235,8 @@ module RubyInstaller
206235
Ruby19 => '{17E73B15-62D2-43FD-B851-ACF86A8C9D25}',
207236
Ruby20 => '{73A045D3-1C69-4885-B055-A5379CC7E603}',
208237
Ruby21 => '{04C58EFB-39FF-42E8-ADA1-3F588D2F2E10}',
209-
Ruby22 => "{245A7D99-7BDE-4CC7-A872-63E47C73174B}"
238+
Ruby22 => "{245A7D99-7BDE-4CC7-A872-63E47C73174B}",
239+
Ruby23 => "{E5385270-5AEF-462F-BEA0-27F72897E2A4}",
210240
}.each do |k, v|
211241
k.patches = nil
212242
k.target = File.expand_path(ENV['LOCAL'].gsub('\\', File::SEPARATOR))
@@ -235,6 +265,7 @@ module RubyInstaller
235265
Ruby20.dependencies.delete(pkg)
236266
Ruby21.dependencies.delete(pkg)
237267
Ruby22.dependencies.delete(pkg)
268+
Ruby23.dependencies.delete(pkg)
238269
end
239270
end
240271

0 commit comments

Comments
 (0)