Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Add support for rails 7 #136

Merged
merged 5 commits into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: gemfiles/rails_7.0.gemfile
- ruby-version: 3.2
gemfile: gemfiles/rails_7.1.gemfile
- ruby-version: 3.2
gemfile: gemfiles/rails_7.2.gemfile
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
Expand Down
16 changes: 12 additions & 4 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
appraise 'rails_4' do
gem 'rails', '~> 4.0'
end

appraise 'rails_5.0' do
gem 'rails', '~> 5.0.0'
end
Expand All @@ -17,3 +13,15 @@ end
appraise 'rails_6.0' do
gem 'rails', '~> 6.0.0'
end

appraise 'rails_7.0' do
gem 'rails', '~> 7.0.0'
end

appraise 'rails_7.1' do
gem 'rails', '~> 7.1.0'
end

appraise 'rails_7.2' do
gem 'rails', '~> 7.2.0'
end
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
10 changes: 10 additions & 0 deletions gemfiles/rails_7.0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# frozen_string_literal: true

# This file was generated by Appraisal

source 'http://rubygems.org'

gem 'rails', '~> 7.0.0'
gem 'tzinfo', '~> 2.0'

gemspec path: '../'
11 changes: 11 additions & 0 deletions gemfiles/rails_7.1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# frozen_string_literal: true

# This file was generated by Appraisal

source 'http://rubygems.org'

gem 'rails', '~> 7.1.0'
gem 'tzinfo', '~> 2.0'


gemspec path: '../'
11 changes: 11 additions & 0 deletions gemfiles/rails_7.2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# frozen_string_literal: true

# This file was generated by Appraisal

source 'http://rubygems.org'

gem 'rails', '~> 7.2.0'
gem 'tzinfo', '~> 2.0'


gemspec path: '../'
Loading