alquran 0.0.0 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/alquran/parah.rb +7 -5
- data/lib/api/url_parser.rb +2 -2
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eabc38bdd39d87ec4ffcc5d091f79957a82438c4903bdc32eadda8d87cbcfa64
|
4
|
+
data.tar.gz: 2cf343a04689f4835a96517e8afe9ada52bba3ad0e863893130f5a80fb6ff5d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8cc56b630c3c8075e88d7b12968d27de37637eff0fdbf1fd1ed06e6cfcd9182714f37090233863460d7e09d4ef2f7d417827a75f5318a761f153a7b66266e6d5
|
7
|
+
data.tar.gz: 483b5910958a7ff3e26902162dcb2867a3a01cf5e94c6f1a035024cff69ee62de3a35f16a4b4da335a73c49cb5b83ebac9b1d34725271eb3d856211fb8d3d62f
|
data/lib/alquran/parah.rb
CHANGED
@@ -27,11 +27,13 @@ module Alquran
|
|
27
27
|
raise RuntimeApiError.new
|
28
28
|
end
|
29
29
|
|
30
|
-
extra_options =
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
30
|
+
extra_options = if action_option[:action] == :ayahs
|
31
|
+
{
|
32
|
+
offset: options[:offset],
|
33
|
+
limit: options[:limit],
|
34
|
+
sajdah: options[:sajdah]
|
35
|
+
}.compact
|
36
|
+
end
|
35
37
|
|
36
38
|
options.slice(:number).merge(self.entity_option).merge(action_option).merge(extras: extra_options)
|
37
39
|
end
|
data/lib/api/url_parser.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alquran
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ahsan Ellahi
|
@@ -54,8 +54,9 @@ files:
|
|
54
54
|
- lib/api/client.rb
|
55
55
|
- lib/api/url_parser.rb
|
56
56
|
- lib/extensions.rb
|
57
|
-
homepage:
|
58
|
-
licenses:
|
57
|
+
homepage: https://github.com/ahsanellahi/alquran
|
58
|
+
licenses:
|
59
|
+
- MIT
|
59
60
|
metadata: {}
|
60
61
|
post_install_message:
|
61
62
|
rdoc_options: []
|