Commit graph

163 commits

Author SHA1 Message Date
fd1ff4c8a1 README: update 2023-03-08 13:10:40 -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
df762bc882 Add "parse_cli" 2023-02-13 10:47:09 -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
133d1374d4 README: add translators 2023-02-13 01:05:08 -03:00
d5620af563 Add "translated_by" to the original Arabic
As an original, the field is "null" (and probably always will be).
2023-02-13 01:05:08 -03:00
e399fe54d5 Add "translated_by" to the Dutch translation 2023-02-13 01:05:08 -03:00
3e108783b1 Add "translated_by" to Portuguese translation
I wasn't able to find an author's name. "null" for now.
2023-02-13 01:05:08 -03:00
d99c5f688a Add "translated_by" to Italian translation 2023-02-13 01:05:08 -03:00
9f7cb731e4 Add "translated_by" to French translation 2023-02-13 01:05:08 -03:00
cecdc672f8 Add "translated_by" to English translation 2023-02-13 01:05:08 -03:00
00c2e9103c Add "translated_by" to Farsi translation 2023-02-13 01:05:08 -03:00
57962fa9da Fix typo 2023-02-12 14:06:22 -03:00
fa8a5e2415 README: update 2023-02-12 14:01:57 -03:00
0c6ac18f06 README: update 2023-02-12 14:00:09 -03:00
cb37cc083e Fix typo 2023-02-12 13:57:36 -03:00
a7c79fc48b Add Italian 2023-02-12 13:56:47 -03:00
313420b653 Dynamically map locale to libexec script
When given a locale, the "bin/quran-json" script will automatically
map it to the appropriate libexec script based on the contents of
"share/quran-json/data/sources.json".
2023-02-12 12:44:33 -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
b3bdf0b83a Add translations
Add:
  * English
  * Portuguese
  * Farsi
2023-02-09 06:33:31 -03:00
97aa8d81ac Revert "Add Portuguese"
This reverts commit 64d42dc38a.
2023-02-09 06:30:45 -03:00
34d6a57914 Revert "Add Farsi"
This reverts commit c97e482391.
2023-02-09 06:30:32 -03:00
d51b078f80 Revert "Add surah 1, and 2 (missing English translations)"
This reverts commit 2352abf77e.
2023-02-09 06:30:18 -03:00
8988e919ef Fix typo in searchtruth.com 2023-02-09 06:30:02 -03:00
16854572c3 Replace "concat" with "push" 2023-02-09 06:30:02 -03:00
2352abf77e Add surah 1, and 2 (missing English translations) 2023-02-09 03:36:07 -03:00
c97e482391 Add Farsi 2023-02-09 03:36:07 -03:00
64d42dc38a Add Portuguese 2023-02-09 03:36:07 -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
c0c9511299 rm libexec/quran-pull
Remove leftover from The Great Rename
2023-02-09 02:41:18 -03:00
959c7fc57c Fix typo in bin/quran-json 2023-02-09 01:46:30 -03:00
da72fd5c8f README: update 2023-02-09 01:38:06 -03:00
078a0ae47f Remove bin/json/*
Remove remnants leftover from the The Great Rewrite
2023-02-09 01:34: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
1dfe6ead25 Replace require_relative with require 2023-02-04 17:15:47 -03:00
8507f0a142 Check in Gemfile.lock 2023-02-04 16:27:10 -03:00
ad34160215 Add io-line.rb gem
Replaces binlib/io/line
2023-02-04 16:13:55 -03:00
fb04d4b3d3 ruby-version: 3.1.0 -> 3.2.0 2023-02-04 16:13:55 -03:00