diff --git a/.github/workflows/linux-test.yaml b/.github/workflows/linux-test.yaml index 83db862..0e49d4b 100644 --- a/.github/workflows/linux-test.yaml +++ b/.github/workflows/linux-test.yaml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - ruby-version: ['3.3', '3.2', '3.1', '3.0', '2.7'] + ruby-version: ['3.4', '3.3', '3.2', '3.1'] os: [ubuntu-latest] experimental: [false] include: @@ -31,8 +31,7 @@ jobs: run: | sudo apt update sudo apt -V install libcap-ng-dev - gem install bundler -v 2.2.27 - bundle _2.2.27_ install + bundle install - name: setup linux capability (cap_dac_read_search=+eip) run: sudo setcap cap_dac_read_search=+eip $(command -v ruby) if: ${{ matrix.capability }} diff --git a/fluent-plugin-node-exporter-metrics.gemspec b/fluent-plugin-node-exporter-metrics.gemspec index 3cb8319..9cb194d 100644 --- a/fluent-plugin-node-exporter-metrics.gemspec +++ b/fluent-plugin-node-exporter-metrics.gemspec @@ -23,7 +23,10 @@ Gem::Specification.new do |spec| spec.add_runtime_dependency "cmetrics", "~> 0.3.3" spec.add_runtime_dependency "capng_c", "~> 0.2.2" - spec.add_development_dependency "bundler", "~> 2.2.0" + # gems that aren't default gems as of Ruby 3.5 + spec.add_runtime_dependency "ostruct", "~> 0.6" + + spec.add_development_dependency "bundler" spec.add_development_dependency "rake", "~> 13.0.6" spec.add_development_dependency "test-unit", "~> 3.4.4" spec.add_development_dependency "test-unit-rr", "~> 1.0.5"