rfetion 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/rfetion/command.rb +7 -8
- data/rfetion.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.1
|
data/lib/rfetion/command.rb
CHANGED
@@ -38,13 +38,12 @@ if options[:add_mobile]
|
|
38
38
|
if options[:mobile_no] and options[:password]
|
39
39
|
Fetion.add_buddy(options[:mobile_no], options[:password], options[:add_mobile])
|
40
40
|
end
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
Fetion.send_sms_to_friends(options[:mobile_no], options[:password], options[:friends_mobile], options[:content])
|
41
|
+
else
|
42
|
+
if options[:mobile_no] and options[:password] and options[:content]
|
43
|
+
if options[:friends_mobile].empty?
|
44
|
+
Fetion.send_sms_to_self(options[:mobile_no], options[:password], options[:content])
|
45
|
+
else
|
46
|
+
Fetion.send_sms_to_friends(options[:mobile_no], options[:password], options[:friends_mobile], options[:content])
|
47
|
+
end
|
49
48
|
end
|
50
49
|
end
|
data/rfetion.gemspec
CHANGED