Skip to content

Commit

Permalink
Merge pull request #548 from ecentell-CPF/master
Browse files Browse the repository at this point in the history
Add Ruby 3.3 to the cross compile list
  • Loading branch information
andyundso authored Jan 8, 2024
2 parents 3515313 + 2211c39 commit cac41d7
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ commands:
$ProgressPreference='SilentlyContinue'
$uri = 'https://api.github.com/repos/oneclick/rubyinstaller2/tags?per_page=200'
$releases = ((Invoke-WebRequest $uri) | ConvertFrom-Json).name | select-string -Pattern '<< parameters.ruby_version >>'
$releases = ((Invoke-WebRequest $uri) | ConvertFrom-Json).name | select-string (-join("RubyInstaller-" , "<< parameters.ruby_version >>" ))
$target_release = (($releases | Sort-Object -Descending)[0] | Out-String).Trim()
$target_version = $target_release.Substring($target_release.Length - 7)
$download_uri = "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-$target_version/rubyinstaller-devkit-$target_version-x64.exe"
Expand Down Expand Up @@ -243,7 +243,7 @@ jobs:
type: string

docker:
- image: "ghcr.io/rake-compiler/rake-compiler-dock-image:1.3.0-mri-<< parameters.platform >>"
- image: "ghcr.io/rake-compiler/rake-compiler-dock-image:1.4.0-mri-<< parameters.platform >>"

steps:
- checkout
Expand Down Expand Up @@ -392,6 +392,7 @@ workflows:
- '3.0'
- '3.1'
- '3.2'
- '3.3'
- test_linux:
matrix: *ruby_versions

Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 2.1.7
* Add Ruby 3.3 to the cross compile list

## 2.1.6

* Add Ruby 3.0, 3.1, and 3.2 to the cross compile list
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require_relative './ext/tiny_tds/extconsts'

SPEC = Gem::Specification.load(File.expand_path('../tiny_tds.gemspec', __FILE__))

ruby_cc_ucrt_versions = "3.2.0:3.1.0".freeze
ruby_cc_ucrt_versions = "3.3.0:3.2.0:3.1.0".freeze
ruby_cc_mingw32_versions = "3.0.0:2.7.0:2.6.0:2.5.0:2.4.0".freeze

GEM_PLATFORM_HOSTS = {
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.6
2.1.7
2 changes: 1 addition & 1 deletion tiny_tds.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |s|
s.add_development_dependency 'mini_portile2', '~> 2.5.0'
s.add_development_dependency 'rake', '~> 13.0.0'
s.add_development_dependency 'rake-compiler', '~> 1.2'
s.add_development_dependency 'rake-compiler-dock', '~> 1.3.0'
s.add_development_dependency 'rake-compiler-dock', '~> 1.4.0'
s.add_development_dependency 'minitest', '~> 5.14.0'
s.add_development_dependency 'minitest-ci', '~> 3.4.0'
s.add_development_dependency 'connection_pool', '~> 2.2.0'
Expand Down

0 comments on commit cac41d7

Please sign in to comment.