twilio_contactable 0.8.1 → 0.8.2
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 +1 -1
- data/lib/controller.rb +1 -1
- data/lib/gateway.rb +5 -1
- data/twilio_contactable.gemspec +3 -3
- metadata +4 -4
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.8.
|
|
1
|
+
0.8.2
|
data/lib/controller.rb
CHANGED
|
@@ -2,7 +2,7 @@ module TwilioContactable
|
|
|
2
2
|
module Controller
|
|
3
3
|
|
|
4
4
|
def self.included(controller)
|
|
5
|
-
|
|
5
|
+
controller.instance_eval do
|
|
6
6
|
# the developer should specify which model(s) will be sought
|
|
7
7
|
# when the app receives incoming requests.
|
|
8
8
|
# See the 'Controller' part of the README for details
|
data/lib/gateway.rb
CHANGED
|
@@ -85,7 +85,11 @@ module TwilioContactable
|
|
|
85
85
|
'Calls'
|
|
86
86
|
end
|
|
87
87
|
|
|
88
|
-
post service, data
|
|
88
|
+
response = post service, data
|
|
89
|
+
|
|
90
|
+
Net::HTTPCreated == response.code_type ?
|
|
91
|
+
TwilioContactable::Gateway::Success :
|
|
92
|
+
TwilioContactable::Gateway::Error
|
|
89
93
|
end
|
|
90
94
|
|
|
91
95
|
def post(service, data = {})
|
data/twilio_contactable.gemspec
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{twilio_contactable}
|
|
8
|
-
s.version = "0.8.
|
|
8
|
+
s.version = "0.8.2"
|
|
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"]
|
|
@@ -37,7 +37,7 @@ Gem::Specification.new do |s|
|
|
|
37
37
|
s.homepage = %q{http://github.com/JackDanger/twilio_contactable}
|
|
38
38
|
s.rdoc_options = ["--charset=UTF-8"]
|
|
39
39
|
s.require_paths = ["lib"]
|
|
40
|
-
s.rubygems_version = %q{1.3.
|
|
40
|
+
s.rubygems_version = %q{1.3.6}
|
|
41
41
|
s.summary = %q{Help authorize the users of your Rails apps to confirm and use their phone numbers}
|
|
42
42
|
s.test_files = [
|
|
43
43
|
"test/test_helper.rb",
|
|
@@ -50,7 +50,7 @@ Gem::Specification.new do |s|
|
|
|
50
50
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
51
51
|
s.specification_version = 3
|
|
52
52
|
|
|
53
|
-
if Gem::Version.new(Gem::
|
|
53
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
|
54
54
|
s.add_runtime_dependency(%q<twiliolib>, [">= 2.0.5"])
|
|
55
55
|
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
|
56
56
|
s.add_development_dependency(%q<mocha>, [">= 0"])
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: twilio_contactable
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 59
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 8
|
|
9
|
-
-
|
|
10
|
-
version: 0.8.
|
|
9
|
+
- 2
|
|
10
|
+
version: 0.8.2
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Jack Danger Canty
|
|
@@ -118,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
118
118
|
requirements: []
|
|
119
119
|
|
|
120
120
|
rubyforge_project:
|
|
121
|
-
rubygems_version: 1.3.
|
|
121
|
+
rubygems_version: 1.3.6
|
|
122
122
|
signing_key:
|
|
123
123
|
specification_version: 3
|
|
124
124
|
summary: Help authorize the users of your Rails apps to confirm and use their phone numbers
|