diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c9067cf5..e2b04a2b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby: [ '2.7', '3.0', '3.1' ] + ruby: [ '3.3' ] name: Validate JSON on Ruby ${{ matrix.ruby }} steps: - uses: actions/checkout@v2 diff --git a/fauxhai-chef.gemspec b/fauxhai-chef.gemspec index fabcab01..0c4c7554 100644 --- a/fauxhai-chef.gemspec +++ b/fauxhai-chef.gemspec @@ -12,7 +12,7 @@ Gem::Specification.new do |spec| spec.homepage = "https://github.com/chef/fauxhai" spec.license = "MIT" - spec.required_ruby_version = ">= 2.7" + spec.required_ruby_version = ">= 3.3" spec.files = %w{LICENSE Gemfile fauxhai-chef.gemspec} + Dir.glob("{lib,bin}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) } spec.executables = "fauxhai" @@ -20,8 +20,8 @@ Gem::Specification.new do |spec| spec.add_runtime_dependency "net-ssh" - spec.add_development_dependency "chef", ">= 13.0" - spec.add_development_dependency "ohai", ">= 13.0" + spec.add_development_dependency "chef", "~> 18.0" + spec.add_development_dependency "ohai", "~> 18.0" spec.add_development_dependency "rake" spec.add_development_dependency "rspec", "~> 3.7" spec.add_development_dependency "rspec-its", "~> 1.2"