Danbooru::URL: add #basename, #filename, and #file_ext utility methods.
Add `#basename`, `#filename`, and `#file_ext` utility methods to Danbooru::URL and change a few places to use them. Simplifies parsing filenames in source URLs in various places.
This commit is contained in:
@@ -587,6 +587,7 @@ DEPENDENCIES
|
||||
pg
|
||||
pry-byebug
|
||||
pry-rails
|
||||
public_suffix
|
||||
puma
|
||||
puma-metrics
|
||||
puma_worker_killer
|
||||
|
||||
Reference in New Issue
Block a user