Skip to content

Commit

Permalink
Test against Ruby 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed May 28, 2020
1 parent 35dd3d9 commit e55edcf
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
17 changes: 12 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ sudo: false
cache: bundler
language: ruby
rvm:
- 2.4.6
- 2.5.5
- 2.6.3
- '2.4'
- '2.5'
- '2.6'
- '2.7'
- ruby-head
gemfile:
- Gemfile
Expand All @@ -15,10 +16,16 @@ gemfile:
- gemfiles/Gemfile-rails.5.0.x
matrix:
exclude:
- rvm: 2.4.6
- rvm: '2.4'
gemfile: gemfiles/Gemfile-rails.6.0.x
- rvm: 2.4.6
- rvm: '2.4'
gemfile: gemfiles/Gemfile-rails.head
- rvm: '2.7'
gemfile: gemfiles/Gemfile-rails.5.0.x
- rvm: '2.7'
gemfile: gemfiles/Gemfile-rails.5.1.x
- rvm: '2.7'
gemfile: gemfiles/Gemfile-rails.5.2.x
allow_failures:
- rvm: ruby-head
- gemfile: gemfiles/Gemfile-rails.head
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,4 @@ DEPENDENCIES
rubocop-performance

BUNDLED WITH
1.17.3
2.1.4
2 changes: 1 addition & 1 deletion lib/responders/flash_responder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def set_flash_message!
return if controller.flash[status].present?

options = mount_i18n_options(status)
message = Responders::FlashResponder.helper.t options[:default].shift, options
message = Responders::FlashResponder.helper.t options[:default].shift, **options
set_flash(status, message)
end

Expand Down

0 comments on commit e55edcf

Please sign in to comment.