Commit graph

23 commits

Author SHA1 Message Date
57953cd819 ryo.rb: update to v0.4.3 2023-09-17 00:53:00 -03:00
f4483b62e4 Restructure the object that describes a surah.
The object is now structured differently:

{
  id: number,
  name: {
    codepoints: number[],
    translated: string,
    transliterated: string
  },
  origin: "makkah" | "medina",
  ayahs: number,
  slug: string,
  translator: string
}
2023-09-17 00:08:32 -03:00
50ca185c51 README: update 2023-03-27 01:52:31 -03:00
e01d64b4a2 Add Cmd::Pull 2023-03-27 01:47:23 -03:00
3f1ed58432 Add Pull.cli_options
I came across the pattern in this diff while browsing the
[rake](https://github.com/ruby/rake/)
source code, and I thought it was worth repeating in quran-json.
2023-03-14 19:17:35 -03:00
dd406b8a45 Address rubocop errors 2023-02-13 13:23:51 -03:00
3d8deaecf3 Replace Cmd#count / count.json with Cmd#metadata 2023-02-13 12:56:01 -03:00
db73cc7fb2 Add read_json / write_json 2023-02-13 11:49:10 -03:00
5a2d637644 Add Quran::JSON namespace 2023-02-13 08:09:00 -03:00
b117ae8ce6 Replace -o switch with -r switch 2023-02-13 08:09:00 -03:00
42c3b82712 Add -u, --update switch to "pull" command 2023-02-13 08:09:00 -03:00
316133c235 Add Pull#locale_dir 2023-02-13 02:28:57 -03:00
a35e0ed6de Replace Pull#skip? with Pull#keep? 2023-02-13 02:24:46 -03:00
a7c79fc48b Add Italian 2023-02-12 13:56:47 -03:00
50229ec4ca Add French 2023-02-11 20:57:46 -03:00
a2aeb5e6aa Add request header (user-agent) 2023-02-11 09:21:02 -03:00
3ecad95fe9 Add Dutch 2023-02-09 12:30:47 -03:00
729453d5f8 Add -o, --overwrite option 2023-02-09 06:40:36 -03:00
2b8e25953c rm lib/quran-pull
Remove leftover from The Great Rename
2023-02-09 03:18:00 -03:00
e0e39dd030 Remove block arg from Pull#pull 2023-02-09 02:44:57 -03:00
e0eb0a5ac8 The Great Rename
Rename the project to quran-json
2023-02-09 01:34:57 -03:00
171ffad2a6 Add Command#keepalive 2023-02-08 16:14:48 -03:00
2d9a22ea8f The great rewrite
The project's directory structure has been changed to be similar
to how FreeBSD organizes its filesystem. The english, portuguese,
and farsi translations are now sourced from https://quran.com. The
original Arabic is still sourced from searchtruth.com. Files
have been removed, and / or replaced. The SQL-related files have
been removed, with the intention to separate them into a new project
in the future (quran-sql). The lessons learnt from the development of
quran-audio were an inspiration for this change.
2023-02-08 16:14:48 -03:00