wahy 1.3.1 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wahy.rb +2 -1
- data/lib/wahy/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46e87301d8abd7098864b3addb490d4ecbc582a9
|
4
|
+
data.tar.gz: 2e6fa82725fbfa4f045a625bfb73f098f87f2e4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5ea63b25361bdb85e48c94c51d2eda78b69f14505f27e190794dc70141c3d3da749764a313fe64a1aaf1be4c9a32d7bab065df36ec65f28576d0ba37157820d
|
7
|
+
data.tar.gz: 538df13b1f1de2a06132b05582d01e0952b68327726d56dbf256f2112b70040b26d150c4a47cf8e57addac43616c3a7114a97f9e3c47196891d1fe568c4689b3
|
data/lib/wahy.rb
CHANGED
@@ -12993,8 +12993,9 @@ module Wahy
|
|
12993
12993
|
elsif s == 'all'
|
12994
12994
|
options[:scripture] = s
|
12995
12995
|
else
|
12996
|
+
scr = s.include?(" ") ? s.split(" ").map {|i| i = i.capitalize}.join(" ") : s.capitalize
|
12996
12997
|
SURELER.values.each do |v|
|
12997
|
-
options[:scripture] = v.index(
|
12998
|
+
options[:scripture] = v.index(scr) if v.include? scr
|
12998
12999
|
end
|
12999
13000
|
end
|
13000
13001
|
end
|
data/lib/wahy/version.rb
CHANGED