Skip to content

Commit 19e1c76

Browse files
authored
feat(storage): Require Ruby 3.1 or later (googleapis#30765)
1 parent 8ba4227 commit 19e1c76

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

google-cloud-storage/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,14 @@ Google::Apis.logger = my_logger
6060

6161
## Supported Ruby Versions
6262

63-
This library is supported on Ruby 3.0.0+.
63+
This library is supported on Ruby 3.1+.
6464

6565
Google provides official support for Ruby versions that are actively supported
66-
by Ruby Core—that is, Ruby versions that are either in normal maintenance or in
67-
security maintenance, and not end of life. Currently, this means Ruby 3.0.0 and
68-
later. Older versions of Ruby _may_ still work, but are unsupported and not
69-
recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
70-
about the Ruby support schedule.
66+
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
67+
in security maintenance, and not end of life. Older versions of Ruby _may_
68+
still work, but are unsupported and not recommended. See
69+
https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
70+
support schedule.
7171

7272
## Versioning
7373

google-cloud-storage/google-cloud-storage.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
1616
["OVERVIEW.md", "AUTHENTICATION.md", "LOGGING.md", "CONTRIBUTING.md", "TROUBLESHOOTING.md", "CHANGELOG.md", "CODE_OF_CONDUCT.md", "LICENSE", ".yardopts"]
1717
gem.require_paths = ["lib"]
1818

19-
gem.required_ruby_version = ">= 3.0.0"
19+
gem.required_ruby_version = ">= 3.1.0"
2020

2121
gem.add_dependency "google-cloud-core", "~> 1.6"
2222
gem.add_dependency "google-apis-core", "~> 0.13"
@@ -27,7 +27,7 @@ Gem::Specification.new do |gem|
2727
gem.add_dependency "addressable", "~> 2.8"
2828
gem.add_dependency "mini_mime", "~> 1.0"
2929

30-
gem.add_development_dependency "google-style", "~> 1.30.0"
30+
gem.add_development_dependency "google-style", "~> 1.31.1"
3131
gem.add_development_dependency "minitest", "~> 5.16"
3232
gem.add_development_dependency "minitest-autotest", "~> 1.0"
3333
gem.add_development_dependency "minitest-focus", "~> 1.1"

google-cloud-storage/lib/google/cloud/storage/policy/bindings.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,10 @@ def remove *bindings
168168
# puts binding.role
169169
# end
170170
#
171-
def each &block
171+
def each(&)
172172
return enum_for :each unless block_given?
173173

174-
@bindings.each(&block)
174+
@bindings.each(&)
175175
end
176176

177177
##

0 commit comments

Comments
 (0)