Skip to content

Commit

Permalink
Move ffi dependency forward
Browse files Browse the repository at this point in the history
This is required for Ruby 3.3, but works on 3.1+

Signed-off-by: Phil Dibowitz <[email protected]>
  • Loading branch information
jaymzh committed Jan 22, 2025
1 parent b763796 commit 2404b86
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .expeditor/verify.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,29 @@ expeditor:

steps:

- label: run-lint-and-specs-ruby-2.7
- label: run-lint-and-specs-ruby-3.0
command:
- .expeditor/run_linux_tests.sh rake
expeditor:
executor:
docker:
image: ruby:2.7
image: ruby:3.0

- label: run-lint-and-specs-ruby-3.0
- label: run-lint-and-specs-ruby-3.1
command:
- .expeditor/run_linux_tests.sh rake
expeditor:
executor:
docker:
image: ruby:3.0
image: ruby:3.1

- label: run-lint-and-specs-ruby-3.1
- label: run-lint-and-specs-ruby-3.3
command:
- .expeditor/run_linux_tests.sh rake
expeditor:
executor:
docker:
image: ruby:3.1
image: ruby:3.3

- label: run-specs-ruby-3.0-windows
command:
Expand Down
3 changes: 2 additions & 1 deletion mixlib-log.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ Gem::Specification.new do |gem|
gem.require_paths = ["lib"]
gem.required_ruby_version = ">= 2.7"

gem.add_dependency "ffi", "< 1.17.0"
# 1.17.1 is broken, see: https://github.com/ffi/ffi/issues/1139
gem.add_dependency "ffi", "~> 1.9", "<= 1.17.0"
end

0 comments on commit 2404b86

Please sign in to comment.