twilio_contactable 0.8.7 → 0.8.8
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/init.rb +1 -1
 - data/lib/contactable.rb +1 -1
 - data/lib/twilio_contactable.rb +3 -1
 - data/twilio_contactable.gemspec +4 -4
 - metadata +4 -15
 
    
        data/VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            0.8. 
     | 
| 
      
 1 
     | 
    
         
            +
            0.8.8
         
     | 
    
        data/init.rb
    CHANGED
    
    
    
        data/lib/contactable.rb
    CHANGED
    
    | 
         @@ -101,7 +101,7 @@ module TwilioContactable 
     | 
|
| 
       101 
101 
     | 
    
         
             
                    raise ArgumentError, "SMS Confirmation Message is too long. Limit it to 160 characters of unescaped text."
         
     | 
| 
       102 
102 
     | 
    
         
             
                  end
         
     | 
| 
       103 
103 
     | 
    
         | 
| 
       104 
     | 
    
         
            -
                  response = TwilioContactable::Gateway. 
     | 
| 
      
 104 
     | 
    
         
            +
                  response = TwilioContactable::Gateway.deliver_sms(message, _TC_formatted_phone_number)
         
     | 
| 
       105 
105 
     | 
    
         | 
| 
       106 
106 
     | 
    
         
             
                  if response.success?
         
     | 
| 
       107 
107 
     | 
    
         
             
                    update_twilio_contactable_sms_confirmation confirmation_code
         
     | 
    
        data/lib/twilio_contactable.rb
    CHANGED
    
    
    
        data/twilio_contactable.gemspec
    CHANGED
    
    | 
         @@ -5,11 +5,11 @@ 
     | 
|
| 
       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.8"
         
     | 
| 
       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-10-06}
         
     | 
| 
       13 
13 
     | 
    
         
             
              s.description = %q{Does all the hard work with letting you confirm your user's phone numbers for Voice or TXT over the Twilio API}
         
     | 
| 
       14 
14 
     | 
    
         
             
              s.email = %q{gitcommit@6brand.com}
         
     | 
| 
       15 
15 
     | 
    
         
             
              s.extra_rdoc_files = [
         
     | 
| 
         @@ -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,12 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification 
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: twilio_contactable
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version 
         
     | 
| 
       4 
     | 
    
         
            -
              hash: 49
         
     | 
| 
       5 
4 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       6 
5 
     | 
    
         
             
              segments: 
         
     | 
| 
       7 
6 
     | 
    
         
             
              - 0
         
     | 
| 
       8 
7 
     | 
    
         
             
              - 8
         
     | 
| 
       9 
     | 
    
         
            -
              -  
     | 
| 
       10 
     | 
    
         
            -
              version: 0.8. 
     | 
| 
      
 8 
     | 
    
         
            +
              - 8
         
     | 
| 
      
 9 
     | 
    
         
            +
              version: 0.8.8
         
     | 
| 
       11 
10 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       12 
11 
     | 
    
         
             
            authors: 
         
     | 
| 
       13 
12 
     | 
    
         
             
            - Jack Danger Canty
         
     | 
| 
         @@ -15,18 +14,16 @@ autorequire: 
     | 
|
| 
       15 
14 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       16 
15 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       17 
16 
     | 
    
         | 
| 
       18 
     | 
    
         
            -
            date: 2010- 
     | 
| 
      
 17 
     | 
    
         
            +
            date: 2010-10-06 00:00:00 -07:00
         
     | 
| 
       19 
18 
     | 
    
         
             
            default_executable: 
         
     | 
| 
       20 
19 
     | 
    
         
             
            dependencies: 
         
     | 
| 
       21 
20 
     | 
    
         
             
            - !ruby/object:Gem::Dependency 
         
     | 
| 
       22 
21 
     | 
    
         
             
              name: twiliolib
         
     | 
| 
       23 
22 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       24 
23 
     | 
    
         
             
              requirement: &id001 !ruby/object:Gem::Requirement 
         
     | 
| 
       25 
     | 
    
         
            -
                none: false
         
     | 
| 
       26 
24 
     | 
    
         
             
                requirements: 
         
     | 
| 
       27 
25 
     | 
    
         
             
                - - ">="
         
     | 
| 
       28 
26 
     | 
    
         
             
                  - !ruby/object:Gem::Version 
         
     | 
| 
       29 
     | 
    
         
            -
                    hash: 5
         
     | 
| 
       30 
27 
     | 
    
         
             
                    segments: 
         
     | 
| 
       31 
28 
     | 
    
         
             
                    - 2
         
     | 
| 
       32 
29 
     | 
    
         
             
                    - 0
         
     | 
| 
         @@ -38,11 +35,9 @@ dependencies: 
     | 
|
| 
       38 
35 
     | 
    
         
             
              name: shoulda
         
     | 
| 
       39 
36 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       40 
37 
     | 
    
         
             
              requirement: &id002 !ruby/object:Gem::Requirement 
         
     | 
| 
       41 
     | 
    
         
            -
                none: false
         
     | 
| 
       42 
38 
     | 
    
         
             
                requirements: 
         
     | 
| 
       43 
39 
     | 
    
         
             
                - - ">="
         
     | 
| 
       44 
40 
     | 
    
         
             
                  - !ruby/object:Gem::Version 
         
     | 
| 
       45 
     | 
    
         
            -
                    hash: 3
         
     | 
| 
       46 
41 
     | 
    
         
             
                    segments: 
         
     | 
| 
       47 
42 
     | 
    
         
             
                    - 0
         
     | 
| 
       48 
43 
     | 
    
         
             
                    version: "0"
         
     | 
| 
         @@ -52,11 +47,9 @@ dependencies: 
     | 
|
| 
       52 
47 
     | 
    
         
             
              name: mocha
         
     | 
| 
       53 
48 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       54 
49 
     | 
    
         
             
              requirement: &id003 !ruby/object:Gem::Requirement 
         
     | 
| 
       55 
     | 
    
         
            -
                none: false
         
     | 
| 
       56 
50 
     | 
    
         
             
                requirements: 
         
     | 
| 
       57 
51 
     | 
    
         
             
                - - ">="
         
     | 
| 
       58 
52 
     | 
    
         
             
                  - !ruby/object:Gem::Version 
         
     | 
| 
       59 
     | 
    
         
            -
                    hash: 3
         
     | 
| 
       60 
53 
     | 
    
         
             
                    segments: 
         
     | 
| 
       61 
54 
     | 
    
         
             
                    - 0
         
     | 
| 
       62 
55 
     | 
    
         
             
                    version: "0"
         
     | 
| 
         @@ -98,27 +91,23 @@ rdoc_options: 
     | 
|
| 
       98 
91 
     | 
    
         
             
            require_paths: 
         
     | 
| 
       99 
92 
     | 
    
         
             
            - lib
         
     | 
| 
       100 
93 
     | 
    
         
             
            required_ruby_version: !ruby/object:Gem::Requirement 
         
     | 
| 
       101 
     | 
    
         
            -
              none: false
         
     | 
| 
       102 
94 
     | 
    
         
             
              requirements: 
         
     | 
| 
       103 
95 
     | 
    
         
             
              - - ">="
         
     | 
| 
       104 
96 
     | 
    
         
             
                - !ruby/object:Gem::Version 
         
     | 
| 
       105 
     | 
    
         
            -
                  hash: 3
         
     | 
| 
       106 
97 
     | 
    
         
             
                  segments: 
         
     | 
| 
       107 
98 
     | 
    
         
             
                  - 0
         
     | 
| 
       108 
99 
     | 
    
         
             
                  version: "0"
         
     | 
| 
       109 
100 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement 
         
     | 
| 
       110 
     | 
    
         
            -
              none: false
         
     | 
| 
       111 
101 
     | 
    
         
             
              requirements: 
         
     | 
| 
       112 
102 
     | 
    
         
             
              - - ">="
         
     | 
| 
       113 
103 
     | 
    
         
             
                - !ruby/object:Gem::Version 
         
     | 
| 
       114 
     | 
    
         
            -
                  hash: 3
         
     | 
| 
       115 
104 
     | 
    
         
             
                  segments: 
         
     | 
| 
       116 
105 
     | 
    
         
             
                  - 0
         
     | 
| 
       117 
106 
     | 
    
         
             
                  version: "0"
         
     | 
| 
       118 
107 
     | 
    
         
             
            requirements: []
         
     | 
| 
       119 
108 
     | 
    
         | 
| 
       120 
109 
     | 
    
         
             
            rubyforge_project: 
         
     | 
| 
       121 
     | 
    
         
            -
            rubygems_version: 1.3. 
     | 
| 
      
 110 
     | 
    
         
            +
            rubygems_version: 1.3.6
         
     | 
| 
       122 
111 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       123 
112 
     | 
    
         
             
            specification_version: 3
         
     | 
| 
       124 
113 
     | 
    
         
             
            summary: Help authorize the users of your Rails apps to confirm and use their phone numbers
         
     |