Joshua Haberman
b07e4b1eeb
[Ruby] Warn if assigning a "UTF-8" string with invalid UTF-8. ( #17253 )
...
This is a warning now, but will be an error in the next version.
PiperOrigin-RevId: 653236128
8 months ago
aiuto
3ab1276bbb
Update Bazel references to rules_pkg to the supported file locations. ( #15780 )
...
WIP: I want to see this pass CI first.
Fixes : #15779
3 scripted transforms:
```
-load("@rules_pkg//:mappings.bzl", ...)
+load("@rules_pkg//pkg:mappings.bzl", ...)
```
```
-load("@rules_pkg//:pkg.bzl", "pkg_tar")
+load("@rules_pkg//pkg:tar.bzl", "pkg_tar")
```
```
-load("@rules_pkg//:pkg.bzl", "pkg_zip")
+load("@rules_pkg//pkg:zip.bzl", "pkg_zip")
```
Closes #15780
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/15780 from aiuto:rules_pkg a630276341
PiperOrigin-RevId: 606641398
1 year ago
Joshua Haberman
5cfc9e775d
Breaking Change: Dropped support for Ruby DSL, [as previously announced]( https://engdoc.corp.google.com/eng/doc/devguide/proto/news/2023-12-27.md#ruby-breaking-changes ).
...
The generated code has not used the DSL since 23.0 (released May 8, 2023).
PiperOrigin-RevId: 595481605
1 year ago
Jason Lunn
c52d80cf04
Ruby FFI implementation ( #13343 )
...
Supersedes #11483 .
Closes #13343
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/13343 from protocolbuffers:simultaneous_ffi bcb4bb7842
PiperOrigin-RevId: 550782245
2 years ago
Matt Fowles Kulukundis
a01d047456
Refactor the object cache to better account for race conditions ( #13204 )
...
Supersedes #13075
Closes #13204
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/13204 from fowles:main 9b6aad673d
PiperOrigin-RevId: 546579459
2 years ago
Jason Lunn
15b215f30b
Bulk update to use `assert_*` methods wherever possible. ( #13156 )
...
Influenced by https://minitest.rubystyle.guide/
Closes #13156
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/13156 from JasonLunn:flakes-fix 503d3c7745
PiperOrigin-RevId: 544234585
2 years ago
Mike Kruskal
633e8f75d0
Bazelify ruby runtime ( #10525 )
...
This uses https://github.com/protocolbuffers/rules_ruby to fully Bazelify our ruby runtime code. The Rakefile is left in place for now and is still used by our aarch64 tests. With the current implementation ruby behaves similarly to our python wrapper, which selects whatever version is installed in the system. Future enhancements will allow for more hermetic builds via Bazel flags to pin a specific version
Closes #10525
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/10525 from mkruskal-google:rules_ruby 97fa1f70ab
PiperOrigin-RevId: 499283908
2 years ago