Skip to content

Commit

Permalink
feat: Update minimum Ruby version to 2.7 (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
dazuma authored Feb 23, 2024
1 parent 64655f4 commit d459381
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 10 deletions.
5 changes: 3 additions & 2 deletions .github/sync-repo-settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ branchProtectionRules:
isAdminEnforced: false
requiredStatusCheckContexts:
- 'conventionalcommits.org'
- 'CI (macos-latest, 3.2)'
- 'CI (macos-latest, 3.3)'
- 'CI (ubuntu-latest, 2.7)'
- 'CI (ubuntu-latest, 3.0)'
- 'CI (ubuntu-latest, 3.1)'
- 'CI (ubuntu-latest, 3.2)'
- 'CI (windows-latest, 3.2)'
- 'CI (ubuntu-latest, 3.3)'
- 'CI (windows-latest, 3.3)'
- 'cla/google'
requiredApprovingReviewCount: 1
requiresCodeOwnerReviews: true
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@ jobs:
ruby: "3.1"
- os: ubuntu-latest
ruby: "3.2"
- os: ubuntu-latest
ruby: "3.3"
- os: macos-latest
ruby: "3.2"
ruby: "3.3"
- os: windows-latest
ruby: "3.2"
ruby: "3.3"
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion google-apps-script-type/google-apps-script-type.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
spec.files = Dir.glob("lib/**/*.rb") + Dir.glob("*.md")
spec.require_paths = ["lib"]

spec.required_ruby_version = ">= 2.6"
spec.required_ruby_version = ">= 2.7"

spec.add_dependency "googleapis-common-protos-types", "~> 1.7"
spec.add_dependency "google-protobuf", "~> 3.18"
Expand Down
2 changes: 1 addition & 1 deletion google-cloud-common/google-cloud-common.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
spec.files = Dir.glob("lib/**/*.rb") + Dir.glob("*.md")
spec.require_paths = ["lib"]

spec.required_ruby_version = ">= 2.6"
spec.required_ruby_version = ">= 2.7"

spec.add_dependency "google-protobuf", "~> 3.18"
spec.add_dependency "googleapis-common-protos-types", "~> 1.7"
Expand Down
2 changes: 1 addition & 1 deletion google-shopping-type/google-shopping-type.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
spec.files = Dir.glob("lib/**/*.rb") + Dir.glob("*.md")
spec.require_paths = ["lib"]

spec.required_ruby_version = ">= 2.6"
spec.required_ruby_version = ">= 2.7"

spec.add_dependency "google-protobuf", "~> 3.18"
end
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
spec.files = Dir.glob("lib/**/*.rb") + Dir.glob("*.md")
spec.require_paths = ["lib"]

spec.required_ruby_version = ">= 2.6"
spec.required_ruby_version = ">= 2.7"

spec.add_dependency "google-protobuf", "~> 3.18"
end
2 changes: 1 addition & 1 deletion googleapis-common-protos/googleapis-common-protos.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
spec.files = Dir.glob("lib/**/*.rb") + Dir.glob("*.md")
spec.require_paths = ["lib"]

spec.required_ruby_version = ">= 2.6"
spec.required_ruby_version = ">= 2.7"

spec.add_dependency "googleapis-common-protos-types", "~> 1.7"
spec.add_dependency "google-protobuf", "~> 3.18"
Expand Down
2 changes: 1 addition & 1 deletion grpc-google-iam-v1/grpc-google-iam-v1.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
spec.files = Dir.glob("lib/**/*.rb") + Dir.glob("*.md")
spec.require_paths = ["lib"]

spec.required_ruby_version = ">= 2.6"
spec.required_ruby_version = ">= 2.7"

spec.add_dependency "googleapis-common-protos", "~> 1.4"
spec.add_dependency "google-protobuf", "~> 3.18"
Expand Down

0 comments on commit d459381

Please sign in to comment.