turatel_sms 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/turatel_sms/sms.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: 71ee09796d4cae51610b5a1ac472193ac8fddcff
|
4
|
+
data.tar.gz: 5b217e2588431e338f0d9cbe3ef4e0c3d9bb0bfe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbfc6ca14eee0d54dfeba80f1ef2033f19bdfc737f627faf9d5b23b97d1b5bd790ed8b45d6a4e08e4a285dcbb9042214393c814f6af33d84eb59b21166522197
|
7
|
+
data.tar.gz: 8ee0288d208739db5978898ce56f325274dc2efbb9004ad3ea072f284b327d5e786eea0dbe15389343bdc6cb8fc3b09dad16ec601138bdacbb174c4f3eb89012
|
data/lib/turatel_sms/sms.rb
CHANGED
@@ -6,7 +6,7 @@ module TuraTEL
|
|
6
6
|
valid_options.merge!(:start_date => TuraTEL::DATE.now) unless valid_options[:start_date]
|
7
7
|
valid_options.merge!(:stop_date => TuraTEL::DATE.n_hour_from_now(1)) unless valid_options[:stop_date]
|
8
8
|
|
9
|
-
if (message_text.chars.uniq & ['İ','Ğ','Ş','ı','ğ','ş']).empty?
|
9
|
+
if (message_text.chars.to_a.uniq & ['İ','Ğ','Ş','ı','ğ','ş']).empty?
|
10
10
|
type = "1"
|
11
11
|
else
|
12
12
|
type = "2"
|