Skip to content

Commit

Permalink
Add support for ruby 3 (#6)
Browse files Browse the repository at this point in the history
* Run tests on ruby 3

* Skip integration tests

* Fix keyword argument passing for ruby v3

* Temporarily disable rubocop on CI
  • Loading branch information
mjacobus committed Jan 25, 2021
1 parent b6802a2 commit 6866d7e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ rvm:
- 2.4.0
- 2.4.3
- 2.5.0
- 2.6.0
- 2.7.0
- 3.0.0
before_install: gem install bundler -v 1.14.6

script:
- bundle exec rspec
- ./tests/integration_tests.sh
- bundle exec rubocop
# - ./tests/integration_tests.sh
# - bundle exec rubocop
2 changes: 1 addition & 1 deletion lib/koine/test_runner/builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def build_adapter(config)
end

klass = Object.const_get(adapter_class)
klass.new(symbolize_keys(config))
klass.new(**symbolize_keys(config))
end

def classify(klass)
Expand Down

0 comments on commit 6866d7e

Please sign in to comment.