Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Cache calls invalid method on ObjectCache

オープン
#13 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
ruby

調査の方向性

Start by reading lib/github_authentication/cache.rb around line 23 and compare its clear path with lib/github_authentication/object_cache.rb. Reproduce the failure using github-authentication in a script, then verify that clearing the in-memory cache no longer raises the reported NoMethodError.

索引モデルが issue の本文から書いたものです。

説明

As far as I can tell, cache calls an invalid method when using the in-memory cache:

/Library/Ruby/Gems/2.6.0/gems/github-authentication-0.1.2/lib/github/authentication/cache.rb:24:in `clear': undefined method `delete' for #<Github::Authentication::ObjectCache:0x00007ff6e00edc90> (NoMethodError)

cache calls delete here:

https://github.com/Shopify/github-authentication/blob/master/lib/github_authentication/cache.rb#L23

but object cache does not have a delete method defined:

https://github.com/Shopify/github-authentication/blob/master/lib/github_authentication/object_cache.rb

running into this when trying to use github-authentication in a script

主要言語
Ruby
スター
8
フォーク
3
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

似ている issue

Ruby の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。