4info 1.3.3 → 1.3.4
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/4info.gemspec +2 -2
- data/VERSION +1 -1
- data/lib/contactable.rb +1 -1
- metadata +2 -2
data/4info.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{4info}
|
|
8
|
-
s.version = "1.3.
|
|
8
|
+
s.version = "1.3.4"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Jack Danger Canty"]
|
|
12
|
-
s.date = %q{2010-
|
|
12
|
+
s.date = %q{2010-03-09}
|
|
13
13
|
s.description = %q{A complete Ruby API for handling SMS messages via 4info.com}
|
|
14
14
|
s.email = %q{gitcommit@6brand.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.3.
|
|
1
|
+
1.3.4
|
data/lib/contactable.rb
CHANGED
|
@@ -106,7 +106,7 @@ module FourInfo
|
|
|
106
106
|
# code. If they match then the current phone number is set
|
|
107
107
|
# as confirmed by the user.
|
|
108
108
|
def sms_confirm_with(code)
|
|
109
|
-
if four_info_sms_confirmation_code.downcase == code.downcase
|
|
109
|
+
if four_info_sms_confirmation_code.to_s.downcase == code.downcase
|
|
110
110
|
# save the phone number into the 'confirmed phone number' attribute
|
|
111
111
|
self.four_info_sms_confirmed_phone_number = four_info_sms_phone_number
|
|
112
112
|
save
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: 4info
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jack Danger Canty
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2010-
|
|
12
|
+
date: 2010-03-09 00:00:00 -08:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|