Skip to content

Commit 5d3aece

Browse files
chore: Ruby 3.2 minimum, default 4.0
1 parent f4394ce commit 5d3aece

File tree

12 files changed

+26
-18
lines changed

12 files changed

+26
-18
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ jobs:
1313
strategy:
1414
matrix:
1515
include:
16-
- os: ubuntu-latest
17-
ruby: "3.1"
18-
task: "--include-spec"
1916
- os: ubuntu-latest
2017
ruby: "3.2"
2118
task: "--include-spec"
@@ -24,13 +21,16 @@ jobs:
2421
task: "--include-spec"
2522
- os: ubuntu-latest
2623
ruby: "3.4"
24+
task: "--include-spec"
25+
- os: ubuntu-latest
26+
ruby: "4.0"
2727
task: "--include-spec --include-yardoc --include-build"
2828
rubyopt: "--enable-frozen-string-literal --debug-frozen-string-literal"
2929
- os: macos-latest
30-
ruby: "3.4"
30+
ruby: "4.0"
3131
task: "--include-spec"
3232
- os: windows-latest
33-
ruby: "3.4"
33+
ruby: "4.0"
3434
task: "--include-spec"
3535
fail-fast: false
3636
runs-on: ${{ matrix.os }}

.github/workflows/generate-updates.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
steps:
1616
- name: Checkout repo
1717
uses: actions/checkout@v4
18-
- name: Install Ruby 3.4
18+
- name: Install Ruby 4.0
1919
uses: ruby/setup-ruby@v1
2020
with:
21-
ruby-version: "3.4"
21+
ruby-version: "4.0"
2222
- name: Install tools
2323
run: |
2424
gem install --no-document toys

.github/workflows/release-freeze.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
steps:
1212
- name: Checkout repo
1313
uses: actions/checkout@v4
14-
- name: Install Ruby 3.4
14+
- name: Install Ruby 4.0
1515
uses: ruby/setup-ruby@v1
1616
with:
17-
ruby-version: "3.4"
17+
ruby-version: "4.0"
1818
- name: Install tools
1919
run: |
2020
gem install --no-document toys

.github/workflows/release-unfreeze.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
steps:
1212
- name: Checkout repo
1313
uses: actions/checkout@v4
14-
- name: Install Ruby 3.4
14+
- name: Install Ruby 4.0
1515
uses: ruby/setup-ruby@v1
1616
with:
17-
ruby-version: "3.4"
17+
ruby-version: "4.0"
1818
- name: Install tools
1919
run: |
2020
gem install --no-document toys

.github/workflows/weekly-generate-updates.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
steps:
1313
- name: Checkout repo
1414
uses: actions/checkout@v4
15-
- name: Install Ruby 3.4
15+
- name: Install Ruby 4.0
1616
uses: ruby/setup-ruby@v1
1717
with:
18-
ruby-version: "3.4"
18+
ruby-version: "4.0"
1919
- name: Install tools
2020
run: |
2121
gem install --no-document toys

Gemfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
source 'https://rubygems.org'
22

3-
gem "rake", "~> 13.0"
43
gem "gems", "~> 1.2"
4+
gem "irb", "~> 1.17"
5+
gem "ostruct", "~> 0.5.5"
6+
gem "rake", "~> 13.0"
7+
gem "syslog", "~> 0.4.0"

google-apis-core/Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,11 @@ group :development do
1212
gem 'launchy', '~> 2.4'
1313
gem 'dotenv', '~> 2.0'
1414
gem 'fakefs', '>= 1.0', '< 4', require: "fakefs/safe"
15+
gem "fiddle", "~> 1.1"
1516
gem 'google-id-token', '~> 1.3'
1617
gem 'os', '~> 0.9'
18+
gem 'ostruct', '~> 0.5.5'
19+
gem "irb", "~> 1.17"
1720
gem 'rmail', '~> 1.1'
1821
gem 'redis', '>= 3.2', '< 5.0.8'
1922
gem 'logging', '~> 2.2'

google-apis-core/google-apis-core.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Gem::Specification.new do |gem|
1919
gem.files = Dir.glob("lib/**/*.rb") + Dir.glob("*.md") + [".yardopts"]
2020
gem.require_paths = ["lib"]
2121

22-
gem.required_ruby_version = '>= 3.1'
22+
gem.required_ruby_version = '>= 3.2'
2323
gem.add_runtime_dependency "representable", "~> 3.0"
2424
gem.add_runtime_dependency "retriable", "~> 3.1"
2525
gem.add_runtime_dependency "addressable", "~> 2.8", ">= 2.8.7"

google-apis-generator/Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ group :development do
1414
gem 'fakefs', '>= 1.0', '< 3', require: "fakefs/safe"
1515
gem 'google-id-token', '~> 1.3'
1616
gem 'os', '~> 0.9'
17+
gem "ostruct", "~> 0.5.5"
18+
gem "irb", "~> 1.17"
1719
gem 'rmail', '~> 1.1'
1820
gem 'redis', '>= 3.2', '< 5.0.8'
1921
gem 'logging', '~> 2.2'

google-apis-generator/google-apis-generator.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Gem::Specification.new do |gem|
2020
gem.executables = ["generate-api"]
2121
gem.require_paths = ["lib"]
2222

23-
gem.required_ruby_version = ">= 3.1"
23+
gem.required_ruby_version = ">= 3.2"
2424
gem.add_runtime_dependency "activesupport", ">= 5.0"
2525
gem.add_runtime_dependency "gems", "~> 1.2"
2626
gem.add_runtime_dependency "google-apis-core", ">= 0.15.0", "< 2.a"

0 commit comments

Comments
 (0)