Skip to content

Commit

Permalink
feat: Drop support for Ruby 2.6 (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
dazuma authored Jan 30, 2024
1 parent f1d6a77 commit 754618d
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions .github/sync-repo-settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ branchProtectionRules:
isAdminEnforced: false
requiredStatusCheckContexts:
- 'cla/google'
- 'CI (macos-latest, 3.0, spec)'
- 'CI (ubuntu-latest, 2.6, spec)'
- 'CI (macos-latest, 3.2, spec)'
- 'CI (ubuntu-latest, 2.7, spec)'
- 'CI (ubuntu-latest, 3.0, rubocop , build , yardoc , linkinator)'
- 'CI (ubuntu-latest, 3.0, spec)'
- 'CI (ubuntu-latest, 3.1, spec)'
- 'CI (windows-latest, 3.0, spec)'
- 'CI (ubuntu-latest, 3.2, spec)'
- 'CI (ubuntu-latest, 3.2, rubocop , build , yardoc , linkinator)'
- 'CI (windows-latest, 3.2, spec)'
requiredApprovingReviewCount: 1
requiresCodeOwnerReviews: true
requiresStrictStatusChecks: true
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ jobs:
strategy:
matrix:
include:
- os: ubuntu-latest
ruby: "2.6"
task: spec
- os: ubuntu-latest
ruby: "2.7"
task: spec
Expand All @@ -25,14 +22,17 @@ jobs:
- os: ubuntu-latest
ruby: "3.1"
task: spec
- os: ubuntu-latest
ruby: "3.2"
task: spec
- os: macos-latest
ruby: "3.0"
ruby: "3.2"
task: spec
- os: windows-latest
ruby: "3.0"
ruby: "3.2"
task: spec
- os: ubuntu-latest
ruby: "3.0"
ruby: "3.2"
task: rubocop , build , yardoc , linkinator
fail-fast: false
runs-on: ${{ matrix.os }}
Expand All @@ -43,13 +43,13 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: "${{ matrix.ruby }}"
- name: Install NodeJS 16.x
- name: Install NodeJS 18.x
uses: actions/setup-node@v4
with:
node-version: "16.x"
node-version: "18.x"
- name: Install dependencies
shell: bash
run: "gem install --no-document bundler toys && bundle install"
run: "gem install --no-document toys && bundle install"
- name: Test ${{ matrix.task }}
shell: bash
run: toys do ${{ matrix.task }} < /dev/null
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Be sure `https://rubygems.org` is in your gem sources.

## Supported Ruby Versions

This library is supported on Ruby 2.6+.
This library is supported on Ruby 2.7+.

Google provides official support for Ruby versions that are actively supported
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
Expand Down
4 changes: 2 additions & 2 deletions signet.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ Gem::Specification.new do |gem|
gem.rdoc_options = ["--main", "README.md"]
gem.summary = "Signet is an OAuth 1.0 / OAuth 2.0 implementation."

gem.required_ruby_version = ">= 2.6"
gem.required_ruby_version = ">= 2.7"

gem.add_runtime_dependency "addressable", "~> 2.8"
gem.add_runtime_dependency "faraday", ">= 0.17.5", "< 3.a"
gem.add_runtime_dependency "jwt", ">= 1.5", "< 3.0"
gem.add_runtime_dependency "multi_json", "~> 1.10"

gem.add_development_dependency "google-style", "~> 1.26.1"
gem.add_development_dependency "google-style", "~> 1.27.1"
gem.add_development_dependency "kramdown", "~> 1.5"
gem.add_development_dependency "launchy", "~> 2.4"
gem.add_development_dependency "rake", "~> 13.0"
Expand Down

0 comments on commit 754618d

Please sign in to comment.