This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/plugins/discourse-narrative-bot
Blake Erickson 73e33ce243 DEV: send url string to FileHelper and refactor another open-uri call
FileHelper.download requires a string not a URI. I also found another
instance of using open-uri directly and swapped it out to use
FileHelper.

I also updated it to not `read` a file if it comes back nil.

Follow up to: fe01099a38
2019-11-14 08:25:30 -07:00
..
assets/javascripts/initializers REFACTOR: Move app-events:main to service:app-events (#8152) 2019-10-04 10:06:08 -04:00
autoload/jobs FEATURE: Send a message to new TL2 users and point them to the advanced tutorial (#8335) 2019-11-13 18:31:49 -03:00
config Update translations 2019-11-14 15:41:42 +01:00
db/fixtures DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
lib/discourse_narrative_bot DEV: send url string to FileHelper and refactor another open-uri call 2019-11-14 08:25:30 -07:00
public/images remove mistakenly checked file 2017-10-20 07:07:51 -07:00
spec FEATURE: Send a message to new TL2 users and point them to the advanced tutorial (#8335) 2019-11-13 18:31:49 -03:00
plugin.rb DEV: send url string to FileHelper and refactor another open-uri call 2019-11-14 08:25:30 -07:00