Skip to content

Commit

Permalink
Updating supported Rubies to add new versions and remove EOL ones
Browse files Browse the repository at this point in the history
  • Loading branch information
rmitchell-sq committed Mar 7, 2024
1 parent b63c716 commit d43e808
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 114 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/ruby.yml

This file was deleted.

28 changes: 5 additions & 23 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,14 @@ jobs:
strategy:
matrix:
ruby:
- 2.6.5
- 2.7.0
- 3.0.0
- 3.1.0
- 3.2.0
- 3.3.0
gemfile:
- gemfiles/activesupport_2.3_LTS.gemfile
- gemfiles/activesupport_3.gemfile
- gemfiles/activesupport_4.gemfile
- gemfiles/activesupport_5.gemfile
- gemfiles/activesupport_6.gemfile
- gemfiles/activesupport_7.gemfile
exclude:
- ruby: 2.6.5
gemfile: gemfiles/activesupport_7.gemfile
- ruby: 2.7.0
gemfile: gemfiles/activesupport_3.gemfile
- ruby: 2.7.0
gemfile: gemfiles/activesupport_4.gemfile
- ruby: 3.0.0
gemfile: gemfiles/activesupport_3.gemfile
- ruby: 3.0.0
gemfile: gemfiles/activesupport_4.gemfile
- ruby: 3.1.0
gemfile: gemfiles/activesupport_3.gemfile
- ruby: 3.1.0
gemfile: gemfiles/activesupport_4.gemfile
- gemfiles/activesupport_6_1.gemfile
- gemfiles/activesupport_7_0.gemfile
- gemfiles/activesupport_7_1.gemfile

name: Ruby ${{ matrix.ruby }} using Gemfile ${{ matrix.gemfile }}
env:
Expand Down
16 changes: 0 additions & 16 deletions gemfiles/activesupport_2.3_LTS.gemfile

This file was deleted.

16 changes: 0 additions & 16 deletions gemfiles/activesupport_3.gemfile

This file was deleted.

15 changes: 0 additions & 15 deletions gemfiles/activesupport_4.gemfile

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gem "pry", "~> 0.12.2"
gem "rake"
gem "rspec", "~> 3.8"
gem "rubocop", "0.63.1"
gem "activesupport", "~> 5"
gem "activesupport", "~> 6.1"

platforms :mri do
gem "pry-byebug"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gem "pry", "~> 0.12.2"
gem "rake"
gem "rspec", "~> 3.8"
gem "rubocop", "0.63.1"
gem "activesupport", "~> 6"
gem "activesupport", "~> 7.0"

platforms :mri do
gem "pry-byebug"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gem "pry", "~> 0.12.2"
gem "rake"
gem "rspec", "~> 3.8"
gem "rubocop", "0.63.1"
gem "activesupport", "~> 7"
gem "activesupport", "~> 7.1"

platforms :mri do
gem "pry-byebug"
Expand Down
5 changes: 2 additions & 3 deletions lib/rrule/humanizer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ def to_s

send freq_option.downcase

if until_option
raise 'Implement Until'
elsif count_option
raise 'Implement Until' if until_option
if count_option
add 'for'
add count_option
add plural?(count_option) ? 'times' : 'time'
Expand Down

0 comments on commit d43e808

Please sign in to comment.