Skip to content

Commit a373e12

Browse files
committedJun 13, 2023
move repo to my name
1 parent 0ba3311 commit a373e12

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed
 

‎CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ Once enough new features are added, a new release is drafted.
2121
* `protoc-gen-twirp_ruby/version.go`
2222
* Run `bundle install` to update the `Gemfile.lock` file with the new version.
2323
* Run `rake` to run tests.
24-
* Re-generate code (see [example/README.md](example/README.md)). Make sure to use the latest version of `protoc-gen-twirp_ruby`; if the repo is in `$GOPATH/src/github.com/github/twirp-ruby`, then you only need to do `go install github.com/github/twirp-ruby/protoc-gen-twirp_ruby` before running the `protoc` command to generate code. The generated code should be annotated with the new version.
24+
* Re-generate code (see [example/README.md](example/README.md)). Make sure to use the latest version of `protoc-gen-twirp_ruby`; if the repo is in `$GOPATH/src/github.com/arthurnn/twirp-ruby`, then you only need to do `go install github.com/arthurnn/twirp-ruby/protoc-gen-twirp_ruby` before running the `protoc` command to generate code. The generated code should be annotated with the new version.
2525
* Update example code and README if needed with new features.
2626
* Commit changes for the new version in main and push to remote.
27-
* [Draft a new release](https://github.com/github/twirp-ruby/releases) in Github. Create a new tag with the version. Add release notes (see previous releases to keep the same format).
27+
* [Draft a new release](https://github.com/arthurnn/twirp-ruby/releases) in Github. Create a new tag with the version. Add release notes (see previous releases to keep the same format).
2828
* Build and push the gem: `rake release`.
2929
* Update the Draft release with the created tag, and publish it.

‎README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Twirp-Ruby
22

3-
[![Run Tests](https://github.com/github/twirp-ruby/actions/workflows/tests.yml/badge.svg)](https://github.com/github/twirp-ruby/actions/workflows/tests.yml)
3+
[![Run Tests](https://github.com/arthurnn/twirp-ruby/actions/workflows/tests.yml/badge.svg)](https://github.com/arthurnn/twirp-ruby/actions/workflows/tests.yml)
44

55
[Twirp is a protocol](https://twitchtv.github.io/twirp/docs/spec_v5.html) for routing and serialization of services defined in a [.proto file](https://developers.google.com/protocol-buffers/docs/proto3), allowing easy implementation of RPC services with auto-generated clients in different languages.
66

@@ -11,12 +11,12 @@ The [canonical implementation](https://github.com/twitchtv/twirp) is in Golang.
1111

1212
Add `gem "twirp"` to your Gemfile, or install with `gem install twirp`.
1313

14-
To auto-generate Ruby code from a proto file, use the `protoc` plugin and the `--ruby_out` option ([see Wiki page](https://github.com/github/twirp-ruby/wiki/Code-Generation)).
14+
To auto-generate Ruby code from a proto file, use the `protoc` plugin and the `--ruby_out` option ([see Wiki page](https://github.com/arthurnn/twirp-ruby/wiki/Code-Generation)).
1515

1616

1717
## Documentation
1818

19-
[On the wiki](https://github.com/github/twirp-ruby/wiki).
19+
[On the wiki](https://github.com/arthurnn/twirp-ruby/wiki).
2020

2121

2222
## Contributing
@@ -25,4 +25,4 @@ To auto-generate Ruby code from a proto file, use the `protoc` plugin and the `-
2525

2626
## Releases and changes
2727

28-
See the [releases](https://github.com/github/twirp-ruby/releases) page for latest information about released versions.
28+
See the [releases](https://github.com/arthurnn/twirp-ruby/releases) page for latest information about released versions.

‎example/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Make sure you have the [protobuf compiler](https://github.com/golang/protobuf) (
3939

4040
Install the twirp plugin with go:
4141
```sh
42-
go get -u github.com/github/twirp-ruby/protoc-gen-twirp_ruby
42+
go get -u github.com/arthurnn/twirp-ruby/protoc-gen-twirp_ruby
4343
```
4444

4545
From the `/example` folder, run the generator command:

‎go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/github/twirp-ruby
1+
module github.com/arthurnn/twirp-ruby
22

33
go 1.17
44

‎lib/twirp/service.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def route_request(rack_env, env)
138138
input = nil
139139
begin
140140
body_str = rack_request.body.read
141-
rack_request.body.rewind # allow other middleware to read again (https://github.com/github/twirp-ruby/issues/50)
141+
rack_request.body.rewind # allow other middleware to read again (https://github.com/arthurnn/twirp-ruby/issues/50)
142142
input = Encoding.decode(body_str, env[:input_class], content_type)
143143
rescue => e
144144
error_msg = "Invalid request body for rpc method #{method_name.inspect} with Content-Type=#{content_type}"

‎protoc-gen-twirp_ruby/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import (
2828
descriptor "google.golang.org/protobuf/types/descriptorpb"
2929
plugin "google.golang.org/protobuf/types/pluginpb"
3030

31-
"github.com/github/twirp-ruby/internal/gen/typemap"
31+
"github.com/arthurnn/twirp-ruby/internal/gen/typemap"
3232
)
3333

3434
func main() {

‎twirp.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
1111
spec.email = ["forbescyrus@gmail.com", "tothemario@gmail.com"]
1212
spec.summary = %q{Twirp services in Ruby.}
1313
spec.description = %q{Twirp is a simple RPC framework with protobuf service definitions. The Twirp gem provides native support for Ruby.}
14-
spec.homepage = "https://github.com/github/twirp-ruby"
14+
spec.homepage = "https://github.com/arthurnn/twirp-ruby"
1515
spec.license = "MIT"
1616

1717
spec.files = Dir['lib/**/*'] + %w(Gemfile LICENSE README.md twirp.gemspec)

0 commit comments

Comments
 (0)
Please sign in to comment.