diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 7351733..2893d04 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -21,6 +21,12 @@ jobs: gemfile: gemfiles/rails_5.2.gemfile - ruby-version: 3.2 gemfile: gemfiles/rails_6.0.gemfile + - ruby-version: 3.2 + gemfile: gemfile/rails_7.0.gemfile + - ruby-version: 3.2 + gemfile: gemfile/rails_7.1.gemfile + - ruby-version: 3.2 + gemfile: gemfile/rails_7.2.gemfile steps: - uses: actions/checkout@v2 - name: Set up Ruby diff --git a/CHANGELOG.md b/CHANGELOG.md index c7fc28a..481dbee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,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). +* [#136](https://github.com/radar/distance_of_time_in_words/pull/136): Add support for Rails 7 - [@KinWang-2013](https://github.com/KinWang-2013). * Your contribution here. ## 5.3.3 (2022/04/25) diff --git a/gemfiles/rails_7.0.gemfile b/gemfiles/rails_7.0.gemfile new file mode 100644 index 0000000..788528e --- /dev/null +++ b/gemfiles/rails_7.0.gemfile @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +# This file was generated by Appraisal + +source 'http://rubygems.org' + +gem 'rails', '~> 7.0.0' + +gemspec path: '../' diff --git a/gemfiles/rails_7.1.gemfile b/gemfiles/rails_7.1.gemfile new file mode 100644 index 0000000..b6d347c --- /dev/null +++ b/gemfiles/rails_7.1.gemfile @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +# This file was generated by Appraisal + +source 'http://rubygems.org' + +gem 'rails', '~> 7.1.0' + +gemspec path: '../' diff --git a/gemfiles/rails_7.2.gemfile b/gemfiles/rails_7.2.gemfile new file mode 100644 index 0000000..3a59810 --- /dev/null +++ b/gemfiles/rails_7.2.gemfile @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +# This file was generated by Appraisal + +source 'http://rubygems.org' + +gem 'rails', '~> 7.2.0' + +gemspec path: '../'