wahy 1.3.4 → 1.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/wahy.rb +4 -0
- data/lib/wahy/version.rb +1 -1
- data/wahy.gemspec +6 -6
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e369f558b0df4624baf33660881b593ad6aae90d
|
4
|
+
data.tar.gz: c41daf056bf142acc12ff9a6bc5103abbd01c84a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ff3944263ce30d44faaf67f8fa4e84592bcc3babec895cb078ecdf87bef9b8f80dee4515ac89b0f5ff7b6f04f7b93c63c88ade6e9ff3049d3cf22c6a04fdfc3
|
7
|
+
data.tar.gz: 48e7e9ecc1e0eb17f548f0adc7af00895ab7745f6eb6722dbd828e947fe144011a95df60b0dc169f0938d5bd33261c01610415f073c21368e61ae9a358ea0fbf
|
data/README.md
CHANGED
@@ -53,7 +53,7 @@ data = Wahy.new_data 'tur' # or data = Wahy.new_data 'eng'
|
|
53
53
|
quran = Wahy.chapters_data data
|
54
54
|
the_opening = Wahy.scripture_data quran, 'the opening' # a nokogiri object
|
55
55
|
signs = Wahy.sign_data the_opening # an array
|
56
|
-
sign_one = signs[0] # or sign_one = signs.
|
56
|
+
sign_one = signs[0] # or sign_one = signs.first # it's array
|
57
57
|
# OR
|
58
58
|
sing_two = Wahy.take_specific_sign signs, 1
|
59
59
|
|
data/lib/wahy.rb
CHANGED
@@ -13088,4 +13088,8 @@ module Wahy
|
|
13088
13088
|
sign = sign_data[sign_number]
|
13089
13089
|
sign
|
13090
13090
|
end
|
13091
|
+
|
13092
|
+
def self.specific_sign_object scripture_data, sign_number
|
13093
|
+
sign = scripture_data.css('Verse')[sign_number]
|
13094
|
+
end
|
13091
13095
|
end
|
data/lib/wahy/version.rb
CHANGED
data/wahy.gemspec
CHANGED
@@ -9,12 +9,12 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["Gökhan Çağlar"]
|
10
10
|
spec.email = ["caglar.gokhan@gmail.com"]
|
11
11
|
|
12
|
-
spec.summary = %q{You can read Quran's scriptures or signs from terminal.
|
13
|
-
|
14
|
-
|
15
|
-
spec.description = %q{You can read Quran's scriptures or signs from terminal.
|
16
|
-
|
17
|
-
|
12
|
+
spec.summary = %q{You can read Quran's scriptures or signs from terminal. Executable path issues fixed. It can run as a
|
13
|
+
terminal command. Default Lang is English now. Also you can require
|
14
|
+
it and take Quran data with helpfull and easy to use methods.}
|
15
|
+
spec.description = %q{You can read Quran's scriptures or signs from terminal. Executable path issues fixed. It can run as a
|
16
|
+
terminal command. Default Lang is English now. Also you can require
|
17
|
+
it and take Quran data with helpfull and easy to use methods.}
|
18
18
|
spec.homepage = "https://github.com/cptangry/wahy"
|
19
19
|
spec.license = "MIT"
|
20
20
|
spec.executables << "wahy"
|
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: 1.3.
|
4
|
+
version: 1.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gökhan Çağlar
|
@@ -109,9 +109,9 @@ dependencies:
|
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 0.8.1
|
111
111
|
description: |-
|
112
|
-
You can read Quran's scriptures or signs from terminal.
|
113
|
-
|
114
|
-
|
112
|
+
You can read Quran's scriptures or signs from terminal. Executable path issues fixed. It can run as a
|
113
|
+
terminal command. Default Lang is English now. Also you can require
|
114
|
+
it and take Quran data with helpfull and easy to use methods.
|
115
115
|
email:
|
116
116
|
- caglar.gokhan@gmail.com
|
117
117
|
executables:
|
@@ -157,8 +157,7 @@ rubyforge_project:
|
|
157
157
|
rubygems_version: 2.6.12
|
158
158
|
signing_key:
|
159
159
|
specification_version: 4
|
160
|
-
summary: You can read Quran's scriptures or signs from terminal.
|
161
|
-
|
162
|
-
|
163
|
-
with helpfull and easy to use methods.
|
160
|
+
summary: You can read Quran's scriptures or signs from terminal. Executable path issues
|
161
|
+
fixed. It can run as a terminal command. Default Lang is English now. Also you can
|
162
|
+
require it and take Quran data with helpfull and easy to use methods.
|
164
163
|
test_files: []
|