diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f3b99043..decb38e8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: '2.7' + ruby-version: '>= 3.0.0' - name: Build and run tests run: | gem install bundler diff --git a/xero-ruby.gemspec b/xero-ruby.gemspec index 2662de90..a45c36cc 100644 --- a/xero-ruby.gemspec +++ b/xero-ruby.gemspec @@ -24,7 +24,7 @@ Gem::Specification.new do |s| s.summary = "Xero Accounting API Ruby Gem" s.description = "Xero API OAuth2.0 SDK - Ruby Gem" s.license = "Unlicense" - s.required_ruby_version = ">= 2.3" + s.required_ruby_version = ">= 3.0.0" s.add_runtime_dependency 'faraday', '>= 2.0', '< 3.0' s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'