Skip to content
Open
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
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
AllCops:
TargetRubyVersion: 2.6
NewCops: disable
SuggestExtensions: false
Exclude:
- 'gemfiles/**/*'
- Appraisals
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ gem 'appraisal'
gem 'pry-byebug'
gem 'rake'
gem 'rspec'
gem 'rubocop', '0.63.1'
gem 'rubocop'

gemspec
2 changes: 1 addition & 1 deletion gemfiles/activesupport_7_0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gem "appraisal"
gem "pry-byebug"
gem "rake"
gem "rspec"
gem "rubocop", "0.63.1"
gem "rubocop"
gem "activesupport", "~> 7.0"

gemspec path: "../"
2 changes: 1 addition & 1 deletion gemfiles/activesupport_7_1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gem "appraisal"
gem "pry-byebug"
gem "rake"
gem "rspec"
gem "rubocop", "0.63.1"
gem "rubocop"
gem "activesupport", "~> 7.1"

gemspec path: "../"
2 changes: 1 addition & 1 deletion gemfiles/activesupport_7_2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gem "appraisal"
gem "pry-byebug"
gem "rake"
gem "rspec"
gem "rubocop", "0.63.1"
gem "rubocop"
gem "activesupport", "~> 7.2"

gemspec path: "../"
2 changes: 1 addition & 1 deletion gemfiles/activesupport_8_0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gem "appraisal"
gem "pry-byebug"
gem "rake"
gem "rspec"
gem "rubocop", "0.63.1"
gem "rubocop"
gem "activesupport", "~> 8.0"

gemspec path: "../"
4 changes: 2 additions & 2 deletions lib/rrule/humanizer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def yearly

add list(options.fetch(:bymonth), method(:monthtext), 'and') if bymonth_option

add list (bymonthday_option.map { |o| nth(o) }), :to_s, 'and' if bymonthday_option
add list(bymonthday_option.map { |o| nth(o) }, :to_s, 'and') if bymonthday_option
end

def weekly
Expand Down Expand Up @@ -220,7 +220,7 @@ def _byweekday

def _bymonthday
add 'on the'
add list (bymonthday_option.map { |o| nth(o) }), :to_s, 'and'
add list(bymonthday_option.map { |o| nth(o) }, :to_s, 'and')
end

def _byhour
Expand Down