Commit Graph

20 Commits

Author SHA1 Message Date
Alex Ling 85a65f84d0 Remove unnecessary "require" statements 2020-08-06 18:10:13 +00:00
Alex Ling 87b6e79952 Use macro to DRY the self.default method 2020-07-21 12:33:50 +00:00
Alex Ling d416dc6618 Use rename when downloading 2020-05-17 06:29:13 +00:00
Alex Ling 7233e6e5c3 Type annotate the self.default methods 2020-05-17 06:28:33 +00:00
Alex Ling 049bd3ab2c Fix long lines 2020-05-07 10:12:58 +00:00
Alex Ling 1bec9f0108 Use singleton in various classes 2020-05-07 10:12:58 +00:00
Alex Ling 09b297cd8e Add rename method to Manga and Chapter 2020-05-07 10:12:06 +00:00
Alex Ling fcf9d39047 Project-wise refactoring to follow Ameba 2020-04-08 06:45:45 +00:00
Alex Ling 8b184ed48d Project-wise code formatting 2020-04-08 05:25:12 +00:00
Alex Ling 2c10623731 Formatting 2020-03-13 17:03:06 +00:00
Alex Ling 0b463539c9 Better log in MangaDex::API when status is not OK, and handles external
chapters
2020-02-29 04:10:09 +00:00
Alex Ling 28ac5c7a00 Formatting in mangadex/api.cr 2020-02-28 17:17:57 +00:00
Alex Ling f8e0c6d795 Remove download code from mangadex/api.cr, as the download functionality
is now handled by mangadex/downloader.cr
2020-02-28 17:15:55 +00:00
Alex Ling e3d505d62b Add @full_title to MangaDex::Chapter 2020-02-28 17:14:38 +00:00
Alex Ling e8c365b7a1 Rename module Mangadex to MangaDex 2020-02-28 16:48:48 +00:00
Alex Ling 89e747d3ee Get Chapter object directly from chapter ID 2020-02-26 17:31:53 +00:00
Alex Ling 468f109776 Add Manga object as a property of MangaDex::Chapter 2020-02-26 17:31:04 +00:00
Alex Ling 676f2ae032 Include chapter information in MangaDex::Manga#to_info_json output 2020-02-21 01:56:57 +00:00
Alex Ling fd342fe1ee Add mangadex lang code csv to src/assets 2020-02-20 23:41:40 +00:00
Alex Ling 60a1032f71 add a basic Mangadex API wrapper 2020-02-20 01:32:18 +00:00