sztywny-smsonrails 0.2.3 → 0.3.0
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. 
     | 
| 
      
 1 
     | 
    
         
            +
            0.3.0
         
     | 
| 
         @@ -9,9 +9,9 @@ module SmsOnRails 
     | 
|
| 
       9 
9 
     | 
    
         
             
                    base.validates_presence_of  :message
         
     | 
| 
       10 
10 
     | 
    
         
             
                    base.validate :validates_message_length
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
     | 
    
         
            -
                    base. 
     | 
| 
       13 
     | 
    
         
            -
                    base. 
     | 
| 
       14 
     | 
    
         
            -
                    base. 
     | 
| 
      
 12 
     | 
    
         
            +
                    base.class_attribute :default_header
         
     | 
| 
      
 13 
     | 
    
         
            +
                    base.class_attribute :default_footer
         
     | 
| 
      
 14 
     | 
    
         
            +
                    base.class_attribute :max_message_length
         
     | 
| 
       15 
15 
     | 
    
         | 
| 
       16 
16 
     | 
    
         
             
                    base.max_message_length = SmsOnRails::ServiceProviders::Base.max_characters
         
     | 
| 
       17 
17 
     | 
    
         | 
| 
         @@ -175,4 +175,4 @@ module SmsOnRails 
     | 
|
| 
       175 
175 
     | 
    
         
             
                  end
         
     | 
| 
       176 
176 
     | 
    
         
             
                end
         
     | 
| 
       177 
177 
     | 
    
         
             
              end
         
     | 
| 
       178 
     | 
    
         
            -
            end
         
     | 
| 
      
 178 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -8,7 +8,7 @@ module SmsOnRails 
     | 
|
| 
       8 
8 
     | 
    
         
             
                    base.before_save {|record| record.number = record.digits}
         
     | 
| 
       9 
9 
     | 
    
         
             
                    base.send :validates_presence_of, :number
         
     | 
| 
       10 
10 
     | 
    
         
             
                    base.send :attr_reader, :original_number
         
     | 
| 
       11 
     | 
    
         
            -
                    base. 
     | 
| 
      
 11 
     | 
    
         
            +
                    base.class_attribute :valid_finder_create_options
         
     | 
| 
       12 
12 
     | 
    
         
             
                    base.valid_finder_create_options = %w(create keep_duplicates skip_sort)
         
     | 
| 
       13 
13 
     | 
    
         
             
                  end
         
     | 
| 
       14 
14 
     | 
    
         
             
                end
         
     | 
| 
         @@ -22,14 +22,14 @@ module SmsOnRails 
     | 
|
| 
       22 
22 
     | 
    
         
             
                  self.config ||= {}
         
     | 
| 
       23 
23 
     | 
    
         | 
| 
       24 
24 
     | 
    
         
             
                  #special deliver options specific to the service provider
         
     | 
| 
       25 
     | 
    
         
            -
                   
     | 
| 
      
 25 
     | 
    
         
            +
                  class_attribute :delivery_options
         
     | 
| 
       26 
26 
     | 
    
         
             
                  self.delivery_options ||= {}
         
     | 
| 
       27 
27 
     | 
    
         | 
| 
       28 
28 
     | 
    
         
             
                  #the default service provider
         
     | 
| 
       29 
29 
     | 
    
         
             
                  cattr_accessor :default_service_provider
         
     | 
| 
       30 
30 
     | 
    
         | 
| 
       31 
31 
     | 
    
         
             
                  #a unique id by which each service provider is identified
         
     | 
| 
       32 
     | 
    
         
            -
                   
     | 
| 
      
 32 
     | 
    
         
            +
                  class_attribute :provider_id, :instance_writer => false
         
     | 
| 
       33 
33 
     | 
    
         | 
| 
       34 
34 
     | 
    
         
             
                  #the logger -> ActiveRecord::Base.logger
         
     | 
| 
       35 
35 
     | 
    
         
             
                  cattr_accessor :logger
         
     | 
| 
         @@ -219,4 +219,4 @@ module SmsOnRails 
     | 
|
| 
       219 
219 
     | 
    
         
             
                  end
         
     | 
| 
       220 
220 
     | 
    
         
             
                end
         
     | 
| 
       221 
221 
     | 
    
         
             
              end
         
     | 
| 
       222 
     | 
    
         
            -
            end
         
     | 
| 
      
 222 
     | 
    
         
            +
            end
         
     | 
    
        data/sztywny-smsonrails.gemspec
    CHANGED
    
    | 
         @@ -5,11 +5,11 @@ 
     | 
|
| 
       5 
5 
     | 
    
         | 
| 
       6 
6 
     | 
    
         
             
            Gem::Specification.new do |s|
         
     | 
| 
       7 
7 
     | 
    
         
             
              s.name = %q{sztywny-smsonrails}
         
     | 
| 
       8 
     | 
    
         
            -
              s.version = "0. 
     | 
| 
      
 8 
     | 
    
         
            +
              s.version = "0.3.0"
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
10 
     | 
    
         
             
              s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
         
     | 
| 
       11 
     | 
    
         
            -
              s.authors = [ 
     | 
| 
       12 
     | 
    
         
            -
              s.date = %q{ 
     | 
| 
      
 11 
     | 
    
         
            +
              s.authors = [%q{Blythe Dunham}]
         
     | 
| 
      
 12 
     | 
    
         
            +
              s.date = %q{2012-11-26}
         
     | 
| 
       13 
13 
     | 
    
         
             
              s.description = %q{Sms on Rails provides your app with instant SMS integration}
         
     | 
| 
       14 
14 
     | 
    
         
             
              s.email = %q{blythe@snowgiraffe.com}
         
     | 
| 
       15 
15 
     | 
    
         
             
              s.extra_rdoc_files = [
         
     | 
| 
         @@ -120,8 +120,8 @@ Gem::Specification.new do |s| 
     | 
|
| 
       120 
120 
     | 
    
         
             
                "uninstall.rb"
         
     | 
| 
       121 
121 
     | 
    
         
             
              ]
         
     | 
| 
       122 
122 
     | 
    
         
             
              s.homepage = %q{http://github.com/sztywny/smsonrails}
         
     | 
| 
       123 
     | 
    
         
            -
              s.require_paths = [ 
     | 
| 
       124 
     | 
    
         
            -
              s.rubygems_version = %q{1. 
     | 
| 
      
 123 
     | 
    
         
            +
              s.require_paths = [%q{lib}]
         
     | 
| 
      
 124 
     | 
    
         
            +
              s.rubygems_version = %q{1.8.5}
         
     | 
| 
       125 
125 
     | 
    
         
             
              s.summary = %q{Sms on Rails provides your app with instant SMS integration}
         
     | 
| 
       126 
126 
     | 
    
         | 
| 
       127 
127 
     | 
    
         
             
              if s.respond_to? :specification_version then
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: sztywny-smsonrails
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.3.0
         
     | 
| 
       5 
5 
     | 
    
         
             
              prerelease: 
         
     | 
| 
       6 
6 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       7 
7 
     | 
    
         
             
            authors:
         
     | 
| 
         @@ -9,12 +9,11 @@ authors: 
     | 
|
| 
       9 
9 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       10 
10 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       11 
11 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       12 
     | 
    
         
            -
            date:  
     | 
| 
       13 
     | 
    
         
            -
            default_executable: 
         
     | 
| 
      
 12 
     | 
    
         
            +
            date: 2012-11-26 00:00:00.000000000 Z
         
     | 
| 
       14 
13 
     | 
    
         
             
            dependencies:
         
     | 
| 
       15 
14 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       16 
15 
     | 
    
         
             
              name: thoughtbot-shoulda
         
     | 
| 
       17 
     | 
    
         
            -
              requirement: & 
     | 
| 
      
 16 
     | 
    
         
            +
              requirement: &79992910 !ruby/object:Gem::Requirement
         
     | 
| 
       18 
17 
     | 
    
         
             
                none: false
         
     | 
| 
       19 
18 
     | 
    
         
             
                requirements:
         
     | 
| 
       20 
19 
     | 
    
         
             
                - - ! '>='
         
     | 
| 
         @@ -22,10 +21,10 @@ dependencies: 
     | 
|
| 
       22 
21 
     | 
    
         
             
                    version: '0'
         
     | 
| 
       23 
22 
     | 
    
         
             
              type: :development
         
     | 
| 
       24 
23 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       25 
     | 
    
         
            -
              version_requirements: * 
     | 
| 
      
 24 
     | 
    
         
            +
              version_requirements: *79992910
         
     | 
| 
       26 
25 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       27 
26 
     | 
    
         
             
              name: clickatell
         
     | 
| 
       28 
     | 
    
         
            -
              requirement: & 
     | 
| 
      
 27 
     | 
    
         
            +
              requirement: &79992580 !ruby/object:Gem::Requirement
         
     | 
| 
       29 
28 
     | 
    
         
             
                none: false
         
     | 
| 
       30 
29 
     | 
    
         
             
                requirements:
         
     | 
| 
       31 
30 
     | 
    
         
             
                - - ! '>='
         
     | 
| 
         @@ -33,10 +32,10 @@ dependencies: 
     | 
|
| 
       33 
32 
     | 
    
         
             
                    version: '0'
         
     | 
| 
       34 
33 
     | 
    
         
             
              type: :development
         
     | 
| 
       35 
34 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       36 
     | 
    
         
            -
              version_requirements: * 
     | 
| 
      
 35 
     | 
    
         
            +
              version_requirements: *79992580
         
     | 
| 
       37 
36 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       38 
37 
     | 
    
         
             
              name: activesupport
         
     | 
| 
       39 
     | 
    
         
            -
              requirement: & 
     | 
| 
      
 38 
     | 
    
         
            +
              requirement: &79991950 !ruby/object:Gem::Requirement
         
     | 
| 
       40 
39 
     | 
    
         
             
                none: false
         
     | 
| 
       41 
40 
     | 
    
         
             
                requirements:
         
     | 
| 
       42 
41 
     | 
    
         
             
                - - ! '>='
         
     | 
| 
         @@ -44,10 +43,10 @@ dependencies: 
     | 
|
| 
       44 
43 
     | 
    
         
             
                    version: 2.0.0
         
     | 
| 
       45 
44 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       46 
45 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       47 
     | 
    
         
            -
              version_requirements: * 
     | 
| 
      
 46 
     | 
    
         
            +
              version_requirements: *79991950
         
     | 
| 
       48 
47 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       49 
48 
     | 
    
         
             
              name: static_record_cache
         
     | 
| 
       50 
     | 
    
         
            -
              requirement: & 
     | 
| 
      
 49 
     | 
    
         
            +
              requirement: &79991260 !ruby/object:Gem::Requirement
         
     | 
| 
       51 
50 
     | 
    
         
             
                none: false
         
     | 
| 
       52 
51 
     | 
    
         
             
                requirements:
         
     | 
| 
       53 
52 
     | 
    
         
             
                - - ! '>='
         
     | 
| 
         @@ -55,7 +54,7 @@ dependencies: 
     | 
|
| 
       55 
54 
     | 
    
         
             
                    version: '0'
         
     | 
| 
       56 
55 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       57 
56 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       58 
     | 
    
         
            -
              version_requirements: * 
     | 
| 
      
 57 
     | 
    
         
            +
              version_requirements: *79991260
         
     | 
| 
       59 
58 
     | 
    
         
             
            description: Sms on Rails provides your app with instant SMS integration
         
     | 
| 
       60 
59 
     | 
    
         
             
            email: blythe@snowgiraffe.com
         
     | 
| 
       61 
60 
     | 
    
         
             
            executables: []
         
     | 
| 
         @@ -165,7 +164,6 @@ files: 
     | 
|
| 
       165 
164 
     | 
    
         
             
            - test/service_providers/email_gateway_test.rb
         
     | 
| 
       166 
165 
     | 
    
         
             
            - test/test_helper.rb
         
     | 
| 
       167 
166 
     | 
    
         
             
            - uninstall.rb
         
     | 
| 
       168 
     | 
    
         
            -
            has_rdoc: true
         
     | 
| 
       169 
167 
     | 
    
         
             
            homepage: http://github.com/sztywny/smsonrails
         
     | 
| 
       170 
168 
     | 
    
         
             
            licenses: []
         
     | 
| 
       171 
169 
     | 
    
         
             
            post_install_message: 
         
     | 
| 
         @@ -186,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       186 
184 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       187 
185 
     | 
    
         
             
            requirements: []
         
     | 
| 
       188 
186 
     | 
    
         
             
            rubyforge_project: 
         
     | 
| 
       189 
     | 
    
         
            -
            rubygems_version: 1. 
     | 
| 
      
 187 
     | 
    
         
            +
            rubygems_version: 1.8.5
         
     | 
| 
       190 
188 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       191 
189 
     | 
    
         
             
            specification_version: 3
         
     | 
| 
       192 
190 
     | 
    
         
             
            summary: Sms on Rails provides your app with instant SMS integration
         
     |