Skip to content

Commit

Permalink
Merge pull request #573 from andyundso/precompiled-3-4-0
Browse files Browse the repository at this point in the history
Add Ruby 3.4 to the cross compile list
  • Loading branch information
andyundso authored Dec 30, 2024
2 parents 34ca4c7 + 34e55ed commit f5cd106
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 8 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
name: cross-compile-windows
runs-on: ubuntu-22.04
container:
image: "ghcr.io/rake-compiler/rake-compiler-dock-image:1.4.0-mri-${{ matrix.platform }}"
image: "ghcr.io/rake-compiler/rake-compiler-dock-image:1.7.0-mri-${{ matrix.platform }}"
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -181,6 +181,7 @@ jobs:
- "3.1"
- "3.2"
- "3.3"
- "3.4"

name: install-windows-ucrt
runs-on: windows-latest
Expand Down Expand Up @@ -230,6 +231,8 @@ jobs:
- "3.1"
- "3.2"
- "3.3"
- "3.4"

name: test-windows-ucrt
runs-on: windows-latest
steps:
Expand Down Expand Up @@ -305,6 +308,7 @@ jobs:
- "3.1"
- "3.2"
- "3.3"
- "3.4"

name: install-windows-native
runs-on: windows-latest
Expand Down Expand Up @@ -340,7 +344,7 @@ jobs:

- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
ruby-version: 3.4
bundler-cache: true

- name: Write used versions into file
Expand Down Expand Up @@ -376,6 +380,8 @@ jobs:
- "3.1"
- "3.2"
- "3.3"
- "3.4"

runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -439,6 +445,7 @@ jobs:
- "3.1"
- "3.2"
- "3.3"
- "3.4"

name: install-macos-m1
runs-on: macos-14
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 3.1.0

* Add Ruby 3.4 to the cross compile list

## 3.0.0

* Drop support for Ruby < 2.7
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.3.0:3.2.0:3.1.0".freeze
ruby_cc_ucrt_versions = "3.4.0:3.3.5:3.2.0:3.1.0".freeze
ruby_cc_mingw32_versions = "3.0.0:2.7.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 @@
3.0.0
3.1.0
2 changes: 1 addition & 1 deletion test/gem_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
require 'test_helper'
require 'tiny_tds/gem'

class GemTest < MiniTest::Spec
class GemTest < Minitest::Spec
gem_root ||= File.expand_path '../..', __FILE__

describe TinyTds::Gem do
Expand Down
2 changes: 1 addition & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
TINYTDS_SCHEMAS = ['sqlserver_2017', 'sqlserver_azure'].freeze

module TinyTds
class TestCase < MiniTest::Spec
class TestCase < Minitest::Spec

class << self

Expand Down
4 changes: 2 additions & 2 deletions tiny_tds.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ 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.4.0'
s.add_development_dependency 'minitest', '~> 5.14.0'
s.add_development_dependency 'rake-compiler-dock', '~> 1.7.0'
s.add_development_dependency 'minitest', '~> 5.25'
s.add_development_dependency 'minitest-reporters', '~> 1.6.1'
s.add_development_dependency 'connection_pool', '~> 2.2.0'
s.add_development_dependency 'toxiproxy', '~> 2.0.0'
Expand Down

0 comments on commit f5cd106

Please sign in to comment.