wahy 1.3.1 → 1.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/wahy.rb +2 -1
  3. data/lib/wahy/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6ab82477ed707d8878e983c741be1aeb90f85772
4
- data.tar.gz: 905cd336329a78a3ee81037fca968ae9ce22e0af
3
+ metadata.gz: 46e87301d8abd7098864b3addb490d4ecbc582a9
4
+ data.tar.gz: 2e6fa82725fbfa4f045a625bfb73f098f87f2e4a
5
5
  SHA512:
6
- metadata.gz: 3b973cb5c14aec90fbc7c8769110d434a30fbc1f328b635917ed5e33c8a6f4b7980cc563104feae9c96bcfad10bf5ba1cfa87a8ddc2bcb5ae2f4ba3c9db63c9b
7
- data.tar.gz: '09424da3400a6f42d36aa57c52e260279d9394615b21ac98dbef82ba85b0fc3716ac21447aba6b101756822343578bf62365ef08838883c487f298470d238857'
6
+ metadata.gz: c5ea63b25361bdb85e48c94c51d2eda78b69f14505f27e190794dc70141c3d3da749764a313fe64a1aaf1be4c9a32d7bab065df36ec65f28576d0ba37157820d
7
+ data.tar.gz: 538df13b1f1de2a06132b05582d01e0952b68327726d56dbf256f2112b70040b26d150c4a47cf8e57addac43616c3a7114a97f9e3c47196891d1fe568c4689b3
@@ -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(s.capitalize.split(" ").map {|i| i = i.capitalize}.join(" ")) if v.include? s
12998
+ options[:scripture] = v.index(scr) if v.include? scr
12998
12999
  end
12999
13000
  end
13000
13001
  end
@@ -1,3 +1,3 @@
1
1
  module Wahy
2
- VERSION = "1.3.1"
2
+ VERSION = "1.3.3"
3
3
  end
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.1
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gökhan Çağlar