wahy 2.0.4 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +6 -3
- data/lib/wahy/version.rb +1 -1
- data/wahy.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5d853de63838d3a32095161363dd188cb718bd98e1e7b8ac44db9d31b768210a
|
|
4
|
+
data.tar.gz: 921a91ff83817d791b6a393531fe8da4abd0349689ecdc307aa57016d5630be2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 224f3ad775efc37663370d8669c47f1a44e925159fb12cdd46239348a3babf09557c78231b55bc34bfd6a503fc7a5b15ab475c2b2bd9c23a590056004f205603
|
|
7
|
+
data.tar.gz: cd8cf7d256f9c7a76ff01600dea4e96750e1b10eed9da5cada6ccae8ad45d9ad7524b4a217b128575ffc6f0cd186dbbdfd45a1d66d8483b3ca5316d8328210a9
|
data/README.md
CHANGED
|
@@ -65,19 +65,22 @@ wahy
|
|
|
65
65
|
View a specific chapter in Turkish:
|
|
66
66
|
|
|
67
67
|
```bash
|
|
68
|
-
wahy -l tur -s <
|
|
68
|
+
wahy -l tur -s <chapter_number> # If you know name of Chapter, you don't need to use -l --lang parameter.
|
|
69
|
+
# With -l (`tur` or `eng`) always use -s <Chapter number>
|
|
69
70
|
```
|
|
70
71
|
|
|
71
72
|
View a specific verse:
|
|
72
73
|
|
|
73
74
|
```bash
|
|
74
|
-
wahy -l tur -s <
|
|
75
|
+
wahy -l tur -s <chapter_number> -a <verse_number>
|
|
76
|
+
|
|
77
|
+
wahy -s <chapter_mame_or_number> -a <verse_number>
|
|
75
78
|
```
|
|
76
79
|
|
|
77
80
|
Save output to a file:
|
|
78
81
|
|
|
79
82
|
```bash
|
|
80
|
-
wahy -
|
|
83
|
+
wahy -s <chapter_name_or_number> -a <verse_number> > output.txt
|
|
81
84
|
```
|
|
82
85
|
|
|
83
86
|
## Library (API) Usage
|
data/lib/wahy/version.rb
CHANGED
data/wahy.gemspec
CHANGED
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
|
10
10
|
|
|
11
11
|
spec.summary = "A CLI tool and library to query the Holy Quran in TR/ENG."
|
|
12
12
|
spec.description = "Query and read the Holy Quran chapters and verses in the terminal with colored output. Includes both English and Turkish support."
|
|
13
|
-
spec.homepage = "https://github.com/
|
|
13
|
+
spec.homepage = "https://github.com/cptangry/wahy"
|
|
14
14
|
spec.license = "MIT"
|
|
15
15
|
spec.required_ruby_version = ">= 4.0.2"
|
|
16
16
|
# Uncomment the line below to require MFA for gem pushes.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wahy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- cptangry
|
|
@@ -104,7 +104,7 @@ files:
|
|
|
104
104
|
- lib/wahy/version.rb
|
|
105
105
|
- sig/wahy.rbs
|
|
106
106
|
- wahy.gemspec
|
|
107
|
-
homepage: https://github.com/
|
|
107
|
+
homepage: https://github.com/cptangry/wahy
|
|
108
108
|
licenses:
|
|
109
109
|
- MIT
|
|
110
110
|
metadata: {}
|