Skip to content

Commit 795133b

Browse files
authored
Merge pull request #188 from ruby-go-gem/transfer
Transfer to ruby-go-gem org
2 parents 873f607 + 6fc8f98 commit 795133b

File tree

17 files changed

+35
-27
lines changed

17 files changed

+35
-27
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## [Unreleased]
2-
[full changelog](http://github.com/sue445/go-gem-wrapper/compare/v0.1.0...main)
2+
[full changelog](http://github.com/ruby-go-gem/go-gem-wrapper/compare/v0.1.0...main)
33

4-
## [v0.1.0](https://github.com/sue445/go-gem-wrapper/releases/tag/v0.1.0) - 2024-10-09
4+
## [v0.1.0](https://github.com/ruby-go-gem/go-gem-wrapper/releases/tag/v0.1.0) - 2024-10-09
55
* Initial release

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# go-gem-wrapper
22
`go-gem-wrapper` is a wrapper for creating Ruby native extension in [Go](https://go.dev/)
33

4-
[![GitHub Tag](https://img.shields.io/github/v/tag/sue445/go-gem-wrapper)](https://github.com/sue445/go-gem-wrapper/releases)
5-
[![build](https://github.com/sue445/go-gem-wrapper/actions/workflows/build.yml/badge.svg)](https://github.com/sue445/go-gem-wrapper/actions/workflows/build.yml)
6-
[![Coverage Status](https://coveralls.io/repos/github/sue445/go-gem-wrapper/badge.svg)](https://coveralls.io/github/sue445/go-gem-wrapper)
7-
[![Go Report Card](https://goreportcard.com/badge/github.com/sue445/go-gem-wrapper)](https://goreportcard.com/report/github.com/sue445/go-gem-wrapper)
8-
[![Go Reference](https://pkg.go.dev/badge/github.com/sue445/go-gem-wrapper.svg)](https://pkg.go.dev/github.com/sue445/go-gem-wrapper)
4+
[![GitHub Tag](https://img.shields.io/github/v/tag/ruby-go-gem/go-gem-wrapper)](https://github.com/ruby-go-gem/go-gem-wrapper/releases)
5+
[![build](https://github.com/ruby-go-gem/go-gem-wrapper/actions/workflows/build.yml/badge.svg)](https://github.com/ruby-go-gem/go-gem-wrapper/actions/workflows/build.yml)
6+
[![Coverage Status](https://coveralls.io/repos/github/ruby-go-gem/go-gem-wrapper/badge.svg)](https://coveralls.io/github/ruby-go-gem/go-gem-wrapper)
7+
[![Go Report Card](https://goreportcard.com/badge/github.com/ruby-go-gem/go-gem-wrapper)](https://goreportcard.com/report/github.com/ruby-go-gem/go-gem-wrapper)
8+
[![Go Reference](https://pkg.go.dev/badge/github.com/ruby-go-gem/go-gem-wrapper.svg)](https://pkg.go.dev/github.com/ruby-go-gem/go-gem-wrapper)
99

1010
## Requirements
1111
* Go
@@ -97,7 +97,7 @@ go install golang.org/x/tools/cmd/godoc@latest
9797
godoc
9898
```
9999

100-
open http://localhost:6060/pkg/github.com/sue445/go-gem-wrapper/
100+
open http://localhost:6060/pkg/github.com/ruby-go-gem/go-gem-wrapper/
101101

102102
## Coverage
103103
We provide auto-generated bindings for (almost) all CRuby functions available when including `ruby.h` :muscle:
@@ -110,8 +110,8 @@ See below for details.
110110
* [_tools/ruby_h_to_go/](_tools/ruby_h_to_go/)
111111

112112
## Reference
113-
* Go: https://pkg.go.dev/github.com/sue445/go-gem-wrapper
114-
* Ruby: https://sue445.github.io/go-gem-wrapper/
113+
* Go: https://pkg.go.dev/github.com/ruby-go-gem/go-gem-wrapper
114+
* Ruby: https://ruby-go-gem.github.io/go-gem-wrapper/
115115

116116
## Original idea
117117
[Ruby meets Go - RubyKaigi 2015](https://rubykaigi.org/2015/presentations/mmasaki/)

_tools/patch_for_go_gem/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ Patch to make a gem into a Go gem right after `bundle gem`
88
3. Run `ruby patch_for_go_gem.rb --file /path/to/GEM_NAME.gemspec --dry-run`
99
4. Run `ruby patch_for_go_gem.rb --file /path/to/GEM_NAME.gemspec`
1010
5. `cd` to the same location as `ext/GEM_NAME/go.mod`
11-
6. Run `go get -u github.com/sue445/go-gem-wrapper@latest`
11+
6. Run `go get -u github.com/ruby-go-gem/go-gem-wrapper@latest`

_tools/patch_for_go_gem/patch_for_go_gem.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def create_gem_name_go
7777
import "C"
7878
7979
import (
80-
\t"github.com/sue445/go-gem-wrapper/ruby"
80+
\t"github.com/ruby-go-gem/go-gem-wrapper/ruby"
8181
)
8282
8383
//export Init_#{gem_name}

_tools/patch_for_go_gem/spec/patch_for_go_gem_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def sh(command)
6868
import "C"
6969
7070
import (
71-
\t"github.com/sue445/go-gem-wrapper/ruby"
71+
\t"github.com/ruby-go-gem/go-gem-wrapper/ruby"
7272
)
7373
GO
7474
end

gem/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
4141

4242
## Contributing
4343

44-
Bug reports and pull requests are welcome on GitHub at https://github.com/sue445/go-gem-wrapper.
44+
Bug reports and pull requests are welcome on GitHub at https://github.com/ruby-go-gem/go-gem-wrapper.
4545

4646
## License
4747

gem/go_gem.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ Gem::Specification.new do |spec|
1010

1111
spec.summary = "Helpers for compiling Go extensions for ruby"
1212
spec.description = "Helpers for compiling Go extensions for ruby"
13-
spec.homepage = "https://github.com/sue445/go-gem-wrapper"
13+
spec.homepage = "https://github.com/ruby-go-gem/go-gem-wrapper"
1414
spec.license = "MIT"
1515
spec.required_ruby_version = ">= 3.3.0"
1616

1717
spec.metadata["homepage_uri"] = spec.homepage
1818
spec.metadata["source_code_uri"] = spec.homepage
1919
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/main/CHANGELOG.md"
20-
spec.metadata["documentation_uri"] = "https://sue445.github.io/go-gem-wrapper/"
20+
spec.metadata["documentation_uri"] = "https://ruby-go-gem.github.io/go-gem-wrapper/"
2121
spec.metadata["rubygems_mfa_required"] = "true"
2222

2323
# Specify which files should be added to the gem when it is released.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/sue445/go-gem-wrapper
1+
module github.com/ruby-go-gem/go-gem-wrapper
22

33
go 1.23
44

ruby/go_struct.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func goobj_free(obj unsafe.Pointer) {
4343
// import "C"
4444
//
4545
// import (
46-
// "github.com/sue445/go-gem-wrapper/ruby"
46+
// "github.com/ruby-go-gem/go-gem-wrapper/ruby"
4747
// "unsafe"
4848
// )
4949
//

ruby/testdata/example/example.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
1010

1111
spec.summary = "This is example gem for go-gem-wrapper test"
1212
spec.description = "This is example gem for go-gem-wrapper test"
13-
spec.homepage = "https://github.com/sue445/go-gem-wrapper"
13+
spec.homepage = "https://github.com/ruby-go-gem/go-gem-wrapper"
1414
spec.required_ruby_version = ">= 3.3.0"
1515

1616
spec.metadata["allowed_push_host"] = "https://do-not-push-this-gem.example.com"

ruby/testdata/example/ext/example/benchmark.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ VALUE rb_example_benchmark_tarai_goroutine(VALUE self, VALUE x, VALUE y, VALUE z
99
import "C"
1010

1111
import (
12-
"github.com/sue445/go-gem-wrapper/ruby"
12+
"github.com/ruby-go-gem/go-gem-wrapper/ruby"
1313
"sync"
1414
)
1515

ruby/testdata/example/ext/example/example.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ VALUE rb_example_max(VALUE self, VALUE a, VALUE b);
1111
import "C"
1212

1313
import (
14-
"github.com/sue445/go-gem-wrapper/ruby"
14+
"github.com/ruby-go-gem/go-gem-wrapper/ruby"
1515
)
1616

1717
//export rb_example_sum
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
module github.com/sue445/example
1+
module github.com/ruby-go-gem/example
22

33
go 1.23
44

5-
require github.com/sue445/go-gem-wrapper v0.0.0
5+
require github.com/ruby-go-gem/go-gem-wrapper v0.0.0
66

7-
replace github.com/sue445/go-gem-wrapper => ../../../../../
7+
replace github.com/ruby-go-gem/go-gem-wrapper => ../../../../../
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
2+
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
3+
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
4+
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
5+
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
6+
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
7+
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
8+
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

ruby/testdata/example/ext/example/go_struct.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ VALUE rb_example_go_struct_get(VALUE self);
1010
import "C"
1111

1212
import (
13-
"github.com/sue445/go-gem-wrapper/ruby"
13+
"github.com/ruby-go-gem/go-gem-wrapper/ruby"
1414
"unsafe"
1515
)
1616

ruby/testdata/example/ext/example/tests.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ void rb_example_tests_rb_define_const(VALUE self, VALUE name, VALUE val);
3535
import "C"
3636

3737
import (
38-
"github.com/sue445/go-gem-wrapper/ruby"
38+
"github.com/ruby-go-gem/go-gem-wrapper/ruby"
3939
)
4040

4141
//export rb_example_tests_nop_rb_define_method_id

ruby/wrapper_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"fmt"
55
"testing"
66

7+
"github.com/ruby-go-gem/go-gem-wrapper/ruby"
78
"github.com/stretchr/testify/assert"
8-
"github.com/sue445/go-gem-wrapper/ruby"
99
)
1010

1111
func TestBool2Int(t *testing.T) {

0 commit comments

Comments
 (0)