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

285 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Baker 64273c0902
Bump `google-protobuf` to v4.27 2024-07-12 15:36:40 -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
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
Wade Matveyenko cd830052b4
Merge pull request #93 from twitchtv/dependabot/bundler/example/google-protobuf-3.21.7
Bump google-protobuf from 3.19.2 to 3.21.7 in /example
2022-10-17 13:36:25 -07:00
dependabot[bot] ec859ab7eb
Bump google-protobuf from 3.19.2 to 3.21.7 in /example
Bumps [google-protobuf](https://github.com/protocolbuffers/protobuf) from 3.19.2 to 3.21.7.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.19.2...v3.21.7)

---
updated-dependencies:
- dependency-name: google-protobuf
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-17 20:35:38 +00:00
Wade Matveyenko dd8bbb4f96
Merge pull request #94 from twitchtv/wmatveyenko-patch-1
Update service.rb
2022-10-17 13:33:17 -07:00
Wade Matveyenko 57c4a91131
Update service.rb
Add rack to fix build errors.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
2022-10-17 13:32:25 -07:00
Wade Matveyenko 59d98affb6
Merge pull request #92 from twitchtv/protobuff-update
Update Protobuff version
2022-09-23 10:11:47 -07:00
Wade Matveyenko 5bcf70fd10
Update Protobuff version
Update protobuff to 1.28.1
2022-08-22 14:53:52 -07:00
Wade Matveyenko 0a3f1e74ee
Merge pull request #87 from gaffneyc/add-github-actions
Add GitHub test action
2022-08-01 16:08:02 -07:00
Wade Matveyenko 6fcdb9935a
Merge pull request #88 from gaffneyc/update-faraday
Allow Faraday 2.x
2022-08-01 16:07:32 -07:00
Wade Matveyenko c39e76990b
Merge pull request #86 from gaffneyc/remove-gemfile-lock
Removes Gemfile.lock
2022-08-01 15:21:28 -07:00
Chris Gaffney 76b6db652e Allow Faraday 2.x
Faraday split all of the different adapters out into separate gems and
pulled some common middleware into the main gem. This allows anyone
using the Gem to also use Faraday 2.x.

https://github.com/lostisland/faraday/blob/main/CHANGELOG.md

Closes #84
2022-06-07 11:33:57 -04:00
Chris Gaffney 364059e9b7 Adds test status to the README
Making it easier to see test status at a glance.
2022-06-07 11:21:27 -04:00
Chris Gaffney 8dc86c3ea9 Adds running test on GitHub actions 2022-06-07 11:18:24 -04:00
Chris Gaffney 4310240b16 Removes Gemfile.lock
Libraries should not include Gemfile.lock since it sets expectations on
downstream clients that are likely inaccurate. For example, minitest is
locked to 5.14.0 which doesn't support Ruby 3.0+ yet the gemspec simply
requires minitest 5.0 and up.
2022-06-07 10:44:33 -04:00
Wade Matveyenko 4614a5fe00
Merge pull request #82 from mikekavouras/client-resp-body
Make response body accessible on ClientResp
2022-06-06 14:33:07 -07:00