Skip to content

Commit

Permalink
Run unit tests in github actions with ruby 3 (#89)
Browse files Browse the repository at this point in the history
* Run unit tests on ruby 3.0

* Update gemspec file

* Update faraday requirement from ~> 1.0 to >= 1, < 3

Updates the requirements on [faraday](https://github.com/lostisland/faraday) to permit the latest version.
- [Release notes](https://github.com/lostisland/faraday/releases)
- [Changelog](https://github.com/lostisland/faraday/blob/main/CHANGELOG.md)
- [Commits](lostisland/faraday@v1.0.0...v1.10.2)

---
updated-dependencies:
- dependency-name: faraday
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update Gemfile

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
yuokada and dependabot[bot] authored Feb 7, 2023
1 parent 07921fd commit 58e899d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['2.7']
ruby-version: ['2.7', '3.0']

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ source "https://rubygems.org/"
gemspec

group :development, :test do
gem "tiny-presto", "~> 0.0.8"
gem "tiny-presto", "~> 0.0.10"
end
4 changes: 2 additions & 2 deletions trino-client.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ Gem::Specification.new do |gem|

gem.required_ruby_version = ">= 2.7.0"

gem.add_dependency "faraday", ["~> 1.0"]
gem.add_dependency "faraday", ">= 1", "< 3"
gem.add_dependency "faraday_middleware", ["~> 1.0"]
gem.add_dependency "msgpack", [">= 0.7.0"]
gem.add_dependency "msgpack", [">= 1.5.1"]

gem.add_development_dependency "rake", [">= 0.9.2", "< 11.0"]
gem.add_development_dependency "rspec", ["~> 2.13.0"]
Expand Down

0 comments on commit 58e899d

Please sign in to comment.