Skip to content

Commit

Permalink
Merge pull request #34 from HatsuneMiku3939/feature/update-supported-…
Browse files Browse the repository at this point in the history
…ruby-version

feature: Update minimal ruby version to 2.7
  • Loading branch information
HatsuneMiku3939 authored Feb 6, 2024
2 parents f8388eb + 55801ea commit 2bbfadc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
matrix:
#os: ['ubuntu-latest', 'windows-latest']
os: ['ubuntu-latest']
ruby-version: ['2.3', '2.4', '2.7', '3.0', '3.1']
ruby-version: ['2.7', '3.0', '3.1']

name: Ruby ${{ matrix.ruby-version }} on ${{ matrix.os }}
steps:
Expand Down
4 changes: 2 additions & 2 deletions fluent-plugin-http-pull.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ Gem::Specification.new do |spec|
spec.test_files = test_files
spec.require_paths = ["lib"]

spec.required_ruby_version = '>= 2.1'
spec.required_ruby_version = '>= 2.7'

spec.add_development_dependency "rake", "~> 12.0"
spec.add_development_dependency "simplecov", "~> 0.7"
spec.add_development_dependency "test-unit", "~> 3.0"
spec.add_development_dependency "test-unit-rr", "~> 1.0", "~> 1.0.2"
spec.add_development_dependency "coveralls", "~> 0.7"
spec.add_development_dependency "solargraph", "~> 0.50.0"

spec.add_runtime_dependency "fluentd", [">= 0.14.10", "< 2"]
spec.add_runtime_dependency "rest-client", [">= 2.0.0", "< 3"]
Expand Down
3 changes: 0 additions & 3 deletions test/helper.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
# simplecov must be loaded before any of target code
require 'simplecov'
require 'coveralls'
Coveralls.wear!

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter
])

SimpleCov.start do
Expand Down

0 comments on commit 2bbfadc

Please sign in to comment.