Shinichi Maeshima

Results 14 issues of Shinichi Maeshima

I encountered a weird behavior. I created users successfully without ATTACHE_SECRET_KEY but raised error with ATTACHE_SECRET_KEY. - Log displayed that image data didn't insert into database. - Parameters from browser...

`Gimei#phone` 作りたい ## 案 ``` gimei = Gimei.new gimei.phone #=> '0311115678' ``` 短縮形あり ``` Gimei.phone #=> '0312345678' ``` ハイフン付きでほしい ``` Gimei.phone(hyphen: true) #=> '03-1234-5678' ``` ケータイの番号限定で返す(最初が090, 080になる) ``` Gimei.mobile_phone(hyphen: true)...

On IpSpoofAttackError raising, I want rails to return 4xx since it is a client-side problem. Since the ActionDispatch::RemoteIp middleware is located before ActionDispatch::ShowExceptions, We cannot define the behavior when the...

- Added binaries for x386 debian 11/12, amd64 debian 11/12, arm64 debian9/10/11 and made them available for testing on GitHub Actions - Since we can't select arm64 platform in GitHub...

https://github.com/willnet/gimei/blob/031ebb383956693f66941b670efd2668e520403f/sig/gimei/unique_generator.rbs にaddressなどの定義が足りていない

Now that we support Ruby 2.7 and above, we can remove conditions with versions lower than that.

> 現在、ビルドした Ruby で Gem など、外部ライブラリを、ビルドした Ruby で、他の影響を与えないで適切にテストする方法がありません。 というのも、Gem の場合、Gem のテストのために他の Gem を利用したりする必要があるためです。 区切られた環境(サンドボックス)を用いることで 以降になにか文章が続きそうなのですが、途切れています。 [rubyhackchallenge/tasks.md at master · ko1/rubyhackchallenge](https://github.com/ko1/rubyhackchallenge/blob/master/JA/tasks.md#%E3%83%93%E3%83%AB%E3%83%89%E3%81%97%E3%81%9F-ruby-%E3%81%A7%E3%81%AE-gem-%E3%81%AE%E3%83%86%E3%82%B9%E3%83%88) PRしようかと思いましたが、このあとに何を続けるのが良いか判断つかなかったのでIssueにしておきます。