rfetion 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -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
- return
42
- end
43
-
44
- if options[:mobile_no] and options[:password] and options[:content]
45
- if options[:friends_mobile].empty?
46
- Fetion.send_sms_to_self(options[:mobile_no], options[:password], options[:content])
47
- else
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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rfetion}
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Richard Huang"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rfetion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Huang