diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b34386b..1964767 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,7 @@ -name: build +name: test -on: [pull_request] +on: + pull_request: jobs: test: @@ -13,9 +14,6 @@ jobs: - '3.3' - '3.2' - '3.1' - - '3.0' - - '2.7' - - '2.6' steps: - uses: actions/checkout@v3 - uses: ruby/setup-ruby@v1 diff --git a/.ruby-version b/.ruby-version index a603bb5..47b322c 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.7.5 +3.4.1 diff --git a/Gemfile.lock b/Gemfile.lock index 2c52a42..679f025 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -5,10 +5,11 @@ GEM maxitest (5.8.0) minitest (>= 5.14.0, < 5.26.0) minitest (5.25.4) - rake (13.0.6) + rake (13.2.1) PLATFORMS arm64-darwin-21 + arm64-darwin-23 arm64-darwin-24 x86_64-linux @@ -18,4 +19,4 @@ DEPENDENCIES rake BUNDLED WITH - 2.3.12 + 2.6.2 diff --git a/rchardet.gemspec b/rchardet.gemspec index 80cdee4..df0d73c 100644 --- a/rchardet.gemspec +++ b/rchardet.gemspec @@ -7,5 +7,5 @@ Gem::Specification.new "rchardet", CharDet::VERSION do |s| s.summary = "Character encoding auto-detection in Ruby. As smart as your browser. Open source." s.files = Dir["lib/**/*", "LGPL-LICENSE.txt"] s.license = "LGPL" - s.required_ruby_version = ">= 2.6.0" + s.required_ruby_version = ">= 3.0.0" end