Skip to content

Commit

Permalink
Merge pull request #1704 from larskanis/win-ruby-2.5
Browse files Browse the repository at this point in the history
Add support for Ruby-2.5 on Windows
  • Loading branch information
larskanis authored Jan 4, 2018
2 parents 53750f7 + cc80904 commit 734d4d4
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 15 deletions.
2 changes: 2 additions & 0 deletions .cross_rubies
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
2.5.0:i686-w64-mingw32
2.5.0:x86_64-w64-mingw32
2.4.0:i686-w64-mingw32
2.4.0:x86_64-w64-mingw32
2.3.0:i686-w64-mingw32
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
## Features

* [MRI] OpenBSD installation should be a bit easier now. [#1685] (Thanks, @jeremyevans!)
* [MRI] Cross-built Windows gems now support Ruby 2.5


## Bug fixes
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ gem "hoe-git", "~>1.6", :group => [:development, :test]
gem "minitest", "~>5.8.4", :group => [:development, :test]
gem "rake", "~>12.0", :group => [:development, :test]
gem "rake-compiler", "~>1.0.3", :group => [:development, :test]
gem "rake-compiler-dock", "~>0.6.0", :group => [:development, :test]
gem "rake-compiler-dock", "~>0.6.2", :group => [:development, :test]
gem "racc", "~>1.4.14", :group => [:development, :test], :platform => [:ruby, :mingw, :x64_mingw]
gem "rexical", "~>1.0.5", :group => [:development, :test], :platform => [:ruby, :mingw, :x64_mingw]
gem "concourse", "~>0.15", :group => [:development, :test]
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ HOE = Hoe.spec 'nokogiri' do
["minitest", "~> 5.8.4"],
["rake", "~> 12.0"],
["rake-compiler", "~> 1.0.3"],
["rake-compiler-dock", "~> 0.6.0"],
["rake-compiler-dock", "~> 0.6.2"],
["racc", "~> 1.4.14"],
["rexical", "~> 1.0.5"],
["concourse", "~> 0.15"],
Expand Down
31 changes: 18 additions & 13 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,29 @@
install:
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
- SET PATH=C:\MinGW\bin;%PATH%
- SET RAKEOPT=-rdevkit
- SET PATH=C:\ruby%ruby_version%\bin;%PATH%
- ps: |
if ($env:ruby_version -like "*head*") {
$(new-object net.webclient).DownloadFile("https://github.com/oneclick/rubyinstaller2/releases/download/rubyinstaller-head/rubyinstaller-$env:ruby_version.exe", "$pwd/ruby-setup.exe")
cmd /c ruby-setup.exe /verysilent /dir=C:/Ruby$env:ruby_version
}
- ruby --version
- gem --version
- gem install bundler --conservative
- bundle install

build: off

test_script:
- bundle exec rake
- bundle exec rake -rdevkit

environment:
matrix:
- ruby_version: "23"
- ruby_version: "23-x64"
- ruby_version: "22"
- ruby_version: "22-x64"
- ruby_version: "21"
- ruby_version: "21-x64"
- ruby_version: "200"
- ruby_version: "200-x64"
- ruby_version: "193"
- ruby_version: head-x64
- ruby_version: 24
- ruby_version: 23-x64
- ruby_version: 22
- ruby_version: 21-x64
- ruby_version: 200

matrix:
allow_failures:
- ruby_version: head

0 comments on commit 734d4d4

Please sign in to comment.