Skip to content

Commit 08c77bd

Browse files
feat(error_reporting): Upgrade to Ruby 3.2 minimum
1 parent 00992c7 commit 08c77bd

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

google-cloud-error_reporting/Gemfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,13 @@ local_dependencies.each do |name|
2424
gem name, path: "../#{name}"
2525
end
2626

27-
gem "google-style", "~> 1.30.1"
27+
gem "benchmark", "~> 0.5.0"
28+
gem "google-style", "~> 1.32.0"
2829
gem "minitest", "~> 5.14"
2930
gem "minitest-autotest", "~> 1.0"
3031
gem "minitest-focus", "~> 1.1"
3132
gem "minitest-rg", "~> 5.2"
33+
gem "ostruct", "~> 0.6.3"
3234
gem "rack", ">= 0.1"
3335
gem "railties", ">= 5.0", "< 7.1.4"
3436
gem "rake"

google-cloud-error_reporting/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ end
213213

214214
## Supported Ruby Versions
215215

216-
This library is supported on Ruby 3.0+.
216+
This library is supported on Ruby 3.2+.
217217

218218
Google provides official support for Ruby versions that are actively supported
219219
by Ruby Core—that is, Ruby versions that are either in normal maintenance or

google-cloud-error_reporting/google-cloud-error_reporting.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Gem::Specification.new do |gem|
1818
["OVERVIEW.md", "AUTHENTICATION.md", "INSTRUMENTATION.md", "LOGGING.md", "CONTRIBUTING.md", "TROUBLESHOOTING.md", "CHANGELOG.md", "CODE_OF_CONDUCT.md", "LICENSE", ".yardopts"]
1919
gem.require_paths = ["lib"]
2020

21-
gem.required_ruby_version = ">= 3.0"
21+
gem.required_ruby_version = ">= 3.2"
2222

2323
gem.add_dependency "google-cloud-core", "~> 1.5"
2424
gem.add_dependency "stackdriver-core", "~> 1.3"

google-cloud-error_reporting/lib/google/cloud/error_reporting/project.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def project_id
123123
# error_reporting.report error_event
124124
#
125125
def report *args, &block
126-
service.report *args, &block
126+
service.report(*args, &block)
127127
end
128128

129129
##

0 commit comments

Comments
 (0)