Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add Ruby 2.7.3 and 3.0.1 to the test matrix (#969)
* Add Ruby 2.7.3 and 3.0.1 to the test matrix

* Bring compatibility with Ruby 3 explicit keyword arguments

Signed-off-by: Rémy Coutable <remy@rymai.me>
  • Loading branch information
rymai committed May 13, 2021
1 parent 24e865c commit 452814b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions .travis.yml
Expand Up @@ -6,16 +6,13 @@ rvm:
- 2.4.9
- 2.5.7
- 2.6.5
- 2.7.3
- 3.0.1
- jruby-9.2.8.0
- rbx-4.5

jdk:
- openjdk8

jobs:
allow_failures:
- rvm: rbx-4.5

env:
global:
- JRUBY_OPTS="--debug"
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -53,5 +53,5 @@ platforms :rbx do
gem "psych"
gem "racc"
gem "rubinius-coverage"
gem "rubysl", "~> 2.0"
# gem "rubysl", "~> 2.0"
end
2 changes: 1 addition & 1 deletion lib/guard/plugin_util.rb
Expand Up @@ -62,7 +62,7 @@ def initialize_plugin(options)
klass.new(options.delete(:watchers), options)
else
begin
klass.new(options)
klass.new(**options)
rescue ArgumentError => e
fail "Failed to call #{klass}.new(options): #{e}"
end
Expand Down

0 comments on commit 452814b

Please sign in to comment.