Commit graph

187 commits

Author SHA1 Message Date
1afb2480ba Update farsi 2024-05-19 22:26:46 -03:00
af5cf89467 readme: update 2023-12-04 11:20:23 -03:00
d75b511adc v0.13.0 2023-10-04 19:17:11 -03:00
fd78898116 Add .bundle / update .gitignore 2023-10-04 19:17:11 -03:00
4c11b1a5ed metadata: change 'origin' to 'city'. 2023-10-04 19:17:11 -03:00
4290be3aab Gemfile.lock: update 2023-10-04 19:17:11 -03:00
0x1eef
8a0a8d0ea8
Merge pull request #18 from ReflectsLight/newformat
Restructure the object that describes a surah.
2023-09-17 00:54:31 -03:00
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
6a5f42cd5c Gemfile.lock: update 2023-07-30 17:27:24 -03:00
d646b07ec4 Delete .ruby-version (not helpful). 2023-07-27 18:29:39 -03:00
6f6835c83d README: update 2023-07-04 23:40:15 -03:00
50ca185c51 README: update 2023-03-27 01:52:31 -03:00
696f2f106a v0.12.0 2023-03-27 01:49:12 -03:00
7f4991c706 .rubocop.yml: update 2023-03-27 01:48:32 -03:00
e01d64b4a2 Add Cmd::Pull 2023-03-27 01:47:23 -03:00
880eb64897 README: update 2023-03-27 00:43:01 -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
4ba407021e Gemfile.lock: update 2023-03-14 19:10:59 -03:00
1b8ec9f9b2 License = GPL 2023-03-11 12:22:16 -03:00
7164bf1961 README: try new layout 2023-03-11 11:58:37 -03:00
e5d71e8e83 README: update 2023-03-08 18:29:08 -03:00
245cabf015 Add BSD0L / update README.md 2023-03-08 16:49:15 -03:00
977dc3b93f README: update 2023-03-08 13:11:22 -03:00
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