From 61fbfe4a01d8b58913f5ea705ec1e7b503e2da37 Mon Sep 17 00:00:00 2001 From: Michael Overmeyer Date: Sat, 30 Nov 2024 11:21:13 -0500 Subject: [PATCH] Drop Ruby 2 support --- .github/workflows/test.yml | 2 +- .rubocop.yml | 2 +- CHANGELOG.md | 1 + README.md | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d2db470b..390c58ed 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby-version: ['2.7', '3.0', '3.1', '3.2'] + ruby-version: ["3.0", "3.1", "3.2"] cldr-version: [41] steps: diff --git a/.rubocop.yml b/.rubocop.yml index f8cc8d54..3d241761 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -5,7 +5,7 @@ inherit_gem: rubocop-shopify: rubocop.yml AllCops: - TargetRubyVersion: 2.7 + TargetRubyVersion: 3.0 UseCache: true CacheRootDirectory: tmp/rubocop NewCops: enable diff --git a/CHANGELOG.md b/CHANGELOG.md index 9bf1a006..32d54393 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -45,6 +45,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - `Numbers` component now outputs data from all number systems, [#189](https://github.com/ruby-i18n/ruby-cldr/pull/189) - Use `snake_case` for key names unless they are an external identifier, [#207](https://github.com/ruby-i18n/ruby-cldr/pull/207) - Add `WeekData` component, [#229](https://github.com/ruby-i18n/ruby-cldr/pull/229) +- Drop support for Ruby 2, [#265](https://github.com/ruby-i18n/ruby-cldr/pull/265) --- diff --git a/README.md b/README.md index 8775bbe7..175ac0ba 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ There are still a number of issues that need to be addressed before it can be co ## Requirements - * Ruby 2.7+ + * Ruby 3.0+ * [Thor](http://whatisthor.com/) ## Installation