Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit b527da9

Browse files
authored
Merge pull request #83 from microsoftgraph/feature/ruby-version-align
- sets minimal version to 3.0
2 parents 596b192 + e88cb9a commit b527da9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- uses: actions/checkout@v3
2929
- uses: ruby/setup-ruby@v1
3030
with:
31-
ruby-version: '3.1'
31+
ruby-version: '3.2'
3232
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
3333
bundler: 'latest'
3434
cache-version: 1

.github/workflows/ruby.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
os: [ubuntu-latest, macos-latest]
15-
ruby-version: ['2.7', '3.0', '3.1', head, jruby, jruby-head, truffleruby, truffleruby-head]
15+
ruby-version: ['3.0', '3.1', '3.2', head, jruby, jruby-head, truffleruby, truffleruby-head]
1616
runs-on: ${{ matrix.os }}
1717
steps:
1818
- uses: actions/checkout@v3
@@ -25,7 +25,7 @@ jobs:
2525
- name: Run tests
2626
run: bundle exec rake
2727
- name: Upload artifacts for ruby version 3 and ubuntu
28-
if: ${{ matrix.os == 'ubuntu-latest' && matrix.ruby-version == '3.1'}}
28+
if: ${{ matrix.os == 'ubuntu-latest' && matrix.ruby-version == '3.2'}}
2929
uses: actions/upload-artifact@v3
3030
with:
3131
name: drop

microsoft_graph.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
1818
'source_code_uri' => 'https://github.com/microsoftgraph/msgraph-sdk-ruby',
1919
'github_repo' => 'ssh://github.com/microsoftgraph/msgraph-sdk-ruby'
2020
}
21-
spec.required_ruby_version = '>= 2.7.0'
21+
spec.required_ruby_version = '>= 3.0.0'
2222

2323
# Specify which files should be added to the gem when it is released.
2424
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.

0 commit comments

Comments
 (0)