Граф коммитов

299 Коммитов

Автор SHA1 Сообщение Дата
Arthur Nogueira Neves 749d0e489e bump version 1.12 2024-08-26 17:52:24 -04:00
Arthur Nogueira Neves fcc494833a Add release notes 2024-08-26 17:51:56 -04:00
Arthur Nogueira Neves e07fabc2b0 for now , rack 3 does not work 2024-08-26 17:42:09 -04:00
Arthur Nogueira Neves 2a8e6c1146 Update example 2024-08-26 17:23:55 -04:00
Arthur Nogueira Neves 1c2decec2e pin example to protobuf 3 for now 2024-08-26 17:23:44 -04:00
Arthur Nogueira Neves d8841c28c1 Add a note about version 1.10 2024-08-26 17:14:04 -04:00
Arthur Nogueira Neves 06048f4859
Merge pull request #117 from arthurnn/dependabot/bundler/example/rack-2.2.8.1
Bump rack from 2.2.3.1 to 2.2.8.1 in /example
2024-08-26 17:12:53 -04:00
Arthur Nogueira Neves 2e0bb9a2d2
Merge pull request #122 from Shopify/bump-protobuf-4
Bump `google-protobuf` to v4.27
2024-08-26 16:36:00 -04:00
Jonathan Baker b1a0871c34
Update twirp.gemspec
Co-authored-by: Colin Bendell <colin.bendell@shopify.com>
2024-07-15 15:16:56 -04:00
Jonathan Baker 4c7148b53a
Update tests to use `4.x` syntax. 2024-07-12 15:36:40 -04:00
Jonathan Baker 64273c0902
Bump `google-protobuf` to v4.27 2024-07-12 15:36:40 -04:00
Arthur Nogueira Neves a61951f2df
Merge pull request #119 from kovyrin/kovyrin/expose-response-headers
Expose response HTTP headers to the caller
2024-07-12 13:47:45 -04:00
Oleksiy Kovyrin c2d2d923e8 Add header tests top json client as well 2024-04-26 11:52:47 -04:00
Oleksiy Kovyrin 9a2a2f8cc6 Expose response HTTP headers to the caller 2024-04-26 11:49:30 -04:00
Arthur Nogueira Neves c9c8b5ea9a
Merge pull request #116 from bquorning/run-ci-with-different-versions-of-faraday
Run CI with different versions of Faraday
2024-03-04 18:53:43 -05:00
dependabot[bot] ffc875cfd4
Bump rack from 2.2.3.1 to 2.2.8.1 in /example
Bumps [rack](https://github.com/rack/rack) from 2.2.3.1 to 2.2.8.1.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/2.2.3.1...v2.2.8.1)

---
updated-dependencies:
- dependency-name: rack
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-29 00:40:47 +00:00
Benjamin Quorning e036954d08 CI: Use newest actions/checkout
GHA warns us that

> Node.js 16 actions are deprecated. Please update the following actions to
> use Node.js 20: actions/checkout@v2. [...]
2024-02-13 23:39:53 +01:00
Benjamin Quorning 0649168469 Run CI with different versions of Faraday
Fixes #115.
2024-02-13 23:39:53 +01:00
Arthur Nogueira Neves caf2381a94 update comment 2023-06-12 21:30:13 -04:00
Arthur Nogueira Neves 23f093d768 v1.11.0 go release 2023-06-12 21:27:07 -04:00
Arthur Nogueira Neves a373e12f0f move repo to my name 2023-06-12 21:21:47 -04:00
Arthur Nogueira Neves 0ba3311683
Merge pull request #98 from SpringMT/main
Fix Twrip docs link at README
2023-01-17 18:42:07 -05:00
SpringMT 8efa751f7d fix: change Twirp docs link 2023-01-08 22:23:09 +09:00
Arthur Nogueira Neves aa4000f8ea See we use rack on the service.rb file, we need to declare the dep 2023-01-06 08:53:48 -05:00
Arthur Nogueira Neves 9d5b4b5c84 update Gemfile.lock 2023-01-05 12:24:02 -05:00
Arthur Nogueira Neves 8199ac1df3 Bump to version 1.10.0
We are dropping the proposed v2.0.0 as that
caused a major breaking change not easy to migrate to

see https://github.com/github/twirp-ruby/pull/91#issuecomment-1372492127

Instead, bumping a minor version with smaller changes
2023-01-05 12:18:53 -05:00
Arthur Nogueira Neves 1a653da2ae Revert "Merge pull request #91 from darronschall/service-suffix-handling"
This reverts commit d9a946d829, reversing
changes made to cd830052b4.
2023-01-05 12:12:44 -05:00
Arthur Nogueira Neves 02a90b64f3 bump v2 2023-01-05 11:36:32 -05:00
Arthur Nogueira Neves d289521820 bump .mod to v2 2023-01-05 11:22:42 -05:00
Arthur Nogueira Neves db2b11d286 fix link and header 2023-01-05 09:19:49 -05:00
Arthur Nogueira Neves 7ded70f0f9 release 2.0.0 version 2023-01-05 09:13:13 -05:00
Arthur Nogueira Neves 96f015c417 bundle install example 2023-01-05 09:12:57 -05:00
Arthur Nogueira Neves 950e7a2a2e generate example with 2.0 2023-01-05 09:12:33 -05:00
Arthur Nogueira Neves 8ce1853b82 ignore both vendor folders 2023-01-05 09:11:45 -05:00
Arthur Nogueira Neves 8117ee3eee add webbrick to example
need to run server
2023-01-05 09:10:22 -05:00
Arthur Nogueira Neves b6262c5f4f bump dependencies and go tidy 2023-01-05 09:03:16 -05:00
Arthur Nogueira Neves d7edd89e52 Update contributing guide 2023-01-05 09:01:56 -05:00
Arthur Nogueira Neves dc84e0d293 Add doc about releases page 2023-01-05 09:01:15 -05:00
Arthur Nogueira Neves 398835732f s/twitchtv/github
Github org is now maintaining this project
2023-01-05 08:55:21 -05:00
Arthur Nogueira Neves 21da4bf270 bump vendor libs (go) 2023-01-05 08:47:33 -05:00
Arthur Nogueira Neves 600c73277f add info about version 2 on readme 2023-01-05 08:44:58 -05:00
Arthur Nogueira Neves 4386209c25 bump minor version 2023-01-05 08:37:43 -05:00
Arthur Nogueira Neves b9b64bb418 Add bundler rake tasks 2023-01-05 08:37:35 -05:00
Arthur Nogueira Neves 9d3ece20a7 ignore vendored 2023-01-05 08:37:25 -05:00
Arthur Nogueira Neves d9a946d829
Merge pull request #91 from darronschall/service-suffix-handling
Code generation should only append "Service" when necessary.
2023-01-05 08:32:09 -05:00
darronschall 01ce2e8642
Remove `Service` in generated client names.
This change prevents clients from being named `ServiceClient`. Note that the `example/hellow_world/service_twirp.rb` file output was the result of running code-gen after building my changes - `protoc --proto_path=. ./hello_world/service.proto --ruby_out=. --twirp_ruby_out=.` - but the other changes in the `test` directory were manually updated for consistency across specs.
2022-10-17 16:43:19 -04:00
darronschall 8125bf04d9
Fixup specs to use services with proper "Service" suffix. 2022-10-17 16:43:19 -04:00
darronschall 86cc035618
Run updated code generation on the updated sample 2022-10-17 16:43:19 -04:00
darronschall e1cdd74e8f
Update example service to be well-named. 2022-10-17 16:43:19 -04:00
darronschall 8d7ad0adf4
Only append "Service" suffix when services are not properly named.
Protobuf services should end in `Service`. This is a [buf lint rule](https://github.com/bufbuild/buf-examples/blob/main/linting/bad/acme/weather/v1/weather.proto#L39), recommended via [the protobuf style guide](https://developers.google.com/protocol-buffers/docs/style#services), and demonstrated in [Twirp Best Practices](https://twitchtv.github.io/twirp/docs/best_practices.html))

Therefore, we only append "Service" to fixup services that are not well named. This avoids generating e.g. "MessagesServiceService".
2022-10-17 16:43:18 -04:00