Cache calls invalid method on ObjectCache
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- ruby
- Ambito
- authentication
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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:
running into this when trying to use github-authentication in a script
- Lingua principale
- Ruby
- Stelle
- 8
- Fork
- 3
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
palladius/rails8-app-on-gcp#145 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
rubocop/rubocop-rspec#2236 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
riscv/riscv-unified-db#2624 · 1 reazione ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100