From b03a73ae8b2679787a148df5474d0ad3d15f8176 Mon Sep 17 00:00:00 2001 From: Kinley Wangchuk <94952098+KinWang-2013@users.noreply.github.com> Date: Fri, 27 Sep 2024 16:51:33 +0600 Subject: [PATCH] Add ruby 3.2 and remove 2.4 (#135) --- .github/workflows/ruby.yml | 15 ++++++--------- CHANGELOG.md | 1 + gemfiles/rails_4.gemfile | 9 --------- 3 files changed, 7 insertions(+), 18 deletions(-) delete mode 100644 gemfiles/rails_4.gemfile diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 652c5de..7351733 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -9,20 +9,17 @@ jobs: fail-fast: false matrix: include: + - ruby-version: 3.2 - ruby-version: 3.1 - ruby-version: 3.0 - - ruby-version: 2.5 - - ruby-version: 2.6 - - ruby-version: 2.4 - bundler-version: 1.17.3 - gemfile: gemfiles/rails_4.gemfile - - ruby-version: 2.6 + - ruby-version: 2.7 + - ruby-version: 2.7 gemfile: gemfiles/rails_5.0.gemfile - - ruby-version: 2.6 + - ruby-version: 2.7 gemfile: gemfiles/rails_5.1.gemfile - - ruby-version: 2.6 + - ruby-version: 2.7 gemfile: gemfiles/rails_5.2.gemfile - - ruby-version: 2.6 + - ruby-version: 3.2 gemfile: gemfiles/rails_6.0.gemfile steps: - uses: actions/checkout@v2 diff --git a/CHANGELOG.md b/CHANGELOG.md index a0ea6d3..c7fc28a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ * [#131](https://github.com/radar/distance_of_time_in_words/pull/131): Deprecates `highest_measure_only`. Adds alternate form of `highest_measures` option to permit rounding up whatever part of the duration was previously silently discarded - [@seansfkelley](https://github.com/seansfkelley). * [#133](https://github.com/radar/distance_of_time_in_words/pull/133): Test on Ruby 3.0 and 3.1 - [@dblock](https://github.com/dblock). +* [#135](https://github.com/radar/distance_of_time_in_words/pull/135): Add support for Ruby 2.7 and 3.2, removed support for ruby 2.4, 2.5, 2.6 and Rails 4 - [@KinWang-2013](https://github.com/KinWang-2013). * Your contribution here. ## 5.3.3 (2022/04/25) diff --git a/gemfiles/rails_4.gemfile b/gemfiles/rails_4.gemfile deleted file mode 100644 index 74a1d0e..0000000 --- a/gemfiles/rails_4.gemfile +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -# This file was generated by Appraisal - -source 'http://rubygems.org' - -gem 'rails', '~> 4.0' - -gemspec path: '../'