pp-adaptive 0.0.4 → 0.0.5
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.
- checksums.yaml +7 -0
- data/README.md +1 -1
- data/lib/pp-adaptive/pay_request.rb +1 -0
- data/lib/pp-adaptive/version.rb +1 -1
- data/spec/public/pay_request_spec.rb +2 -1
- metadata +16 -55
    
        checksums.yaml
    ADDED
    
    | @@ -0,0 +1,7 @@ | |
| 1 | 
            +
            ---
         | 
| 2 | 
            +
            SHA1:
         | 
| 3 | 
            +
              metadata.gz: 947dd850c501c9b1335c27a09f9dea22f1649f5f
         | 
| 4 | 
            +
              data.tar.gz: 5bc64b23b624c46f6f7ba056126cbb9b267541f1
         | 
| 5 | 
            +
            SHA512:
         | 
| 6 | 
            +
              metadata.gz: d0d79515f53bc68406c56350c5d32efae006abb86886d9d76a8abd0225c0e5d421cc5eee118ed1237d0432dc6107217d2d3a703b4e4af08337c5d2f05379b4b5
         | 
| 7 | 
            +
              data.tar.gz: a7e418c05519477035e3967158c420dc330f0635b8afcb4df9f2b211e4e669e079e4f407207f16788e8069825e2459ffb781667de73e50cc2520377faeb2e947
         | 
    
        data/README.md
    CHANGED
    
    | @@ -243,7 +243,7 @@ Adaptive Payments is a very extensive API with a lot of endpoints and a lot | |
| 243 243 | 
             
            of fields within each request. It wouldn't be wise to attempt to document them
         | 
| 244 244 | 
             
            all here, but the official API documentation covers everything in detail.
         | 
| 245 245 |  | 
| 246 | 
            -
            https:// | 
| 246 | 
            +
            https://www.paypalobjects.com/webstatic/en_US/developer/docs/pdf/pp_adaptivepayments.pdf
         | 
| 247 247 |  | 
| 248 248 | 
             
            Just ruby-ize the fields (i.e. underscores, not camel case) and open up the
         | 
| 249 249 | 
             
            request/response classes in this repository to get a feel for how this all works.
         | 
| @@ -16,6 +16,7 @@ module AdaptivePayments | |
| 16 16 | 
             
                attribute :memo,                               String
         | 
| 17 17 | 
             
                attribute :funding_constraint,                 Node[FundingConstraint], :param => "fundingConstraint"
         | 
| 18 18 | 
             
                attribute :client_details,                     Node[ClientDetailsType], :param => "clientDetails"
         | 
| 19 | 
            +
                attribute :fees_payer,                         String,                  :param => "feesPayer"
         | 
| 19 20 |  | 
| 20 21 | 
             
                include ReceiverListAliases
         | 
| 21 22 |  | 
    
        data/lib/pp-adaptive/version.rb
    CHANGED
    
    
| @@ -25,7 +25,8 @@ describe AdaptivePayments::PayRequest do | |
| 25 25 | 
             
                  :sender_phone_extension    => "033",
         | 
| 26 26 | 
             
                  :reverse_parallel_payments_on_error => false,
         | 
| 27 27 | 
             
                  :tracking_id               => "anything.id",
         | 
| 28 | 
            -
                  :memo                      => "a personal note"
         | 
| 28 | 
            +
                  :memo                      => "a personal note",
         | 
| 29 | 
            +
                  :fees_payer                => "PRIMARYRECEIVER"
         | 
| 29 30 | 
             
                )
         | 
| 30 31 | 
             
              end
         | 
| 31 32 |  | 
    
        metadata
    CHANGED
    
    | @@ -1,78 +1,69 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: pp-adaptive
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.0. | 
| 5 | 
            -
              prerelease: 
         | 
| 4 | 
            +
              version: 0.0.5
         | 
| 6 5 | 
             
            platform: ruby
         | 
| 7 6 | 
             
            authors:
         | 
| 8 7 | 
             
            - d11wtq
         | 
| 9 8 | 
             
            autorequire: 
         | 
| 10 9 | 
             
            bindir: bin
         | 
| 11 10 | 
             
            cert_chain: []
         | 
| 12 | 
            -
            date:  | 
| 11 | 
            +
            date: 2013-11-01 00:00:00.000000000 Z
         | 
| 13 12 | 
             
            dependencies:
         | 
| 14 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 15 14 | 
             
              name: rest-client
         | 
| 16 15 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 17 | 
            -
                none: false
         | 
| 18 16 | 
             
                requirements:
         | 
| 19 | 
            -
                - -  | 
| 17 | 
            +
                - - '>='
         | 
| 20 18 | 
             
                  - !ruby/object:Gem::Version
         | 
| 21 19 | 
             
                    version: '0'
         | 
| 22 20 | 
             
              type: :runtime
         | 
| 23 21 | 
             
              prerelease: false
         | 
| 24 22 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 25 | 
            -
                none: false
         | 
| 26 23 | 
             
                requirements:
         | 
| 27 | 
            -
                - -  | 
| 24 | 
            +
                - - '>='
         | 
| 28 25 | 
             
                  - !ruby/object:Gem::Version
         | 
| 29 26 | 
             
                    version: '0'
         | 
| 30 27 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 31 28 | 
             
              name: virtus
         | 
| 32 29 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 33 | 
            -
                none: false
         | 
| 34 30 | 
             
                requirements:
         | 
| 35 | 
            -
                - -  | 
| 31 | 
            +
                - - '>='
         | 
| 36 32 | 
             
                  - !ruby/object:Gem::Version
         | 
| 37 33 | 
             
                    version: 0.5.1
         | 
| 38 34 | 
             
              type: :runtime
         | 
| 39 35 | 
             
              prerelease: false
         | 
| 40 36 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 41 | 
            -
                none: false
         | 
| 42 37 | 
             
                requirements:
         | 
| 43 | 
            -
                - -  | 
| 38 | 
            +
                - - '>='
         | 
| 44 39 | 
             
                  - !ruby/object:Gem::Version
         | 
| 45 40 | 
             
                    version: 0.5.1
         | 
| 46 41 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 47 42 | 
             
              name: json
         | 
| 48 43 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 49 | 
            -
                none: false
         | 
| 50 44 | 
             
                requirements:
         | 
| 51 | 
            -
                - -  | 
| 45 | 
            +
                - - '>='
         | 
| 52 46 | 
             
                  - !ruby/object:Gem::Version
         | 
| 53 47 | 
             
                    version: '0'
         | 
| 54 48 | 
             
              type: :runtime
         | 
| 55 49 | 
             
              prerelease: false
         | 
| 56 50 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 57 | 
            -
                none: false
         | 
| 58 51 | 
             
                requirements:
         | 
| 59 | 
            -
                - -  | 
| 52 | 
            +
                - - '>='
         | 
| 60 53 | 
             
                  - !ruby/object:Gem::Version
         | 
| 61 54 | 
             
                    version: '0'
         | 
| 62 55 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 63 56 | 
             
              name: rspec
         | 
| 64 57 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 65 | 
            -
                none: false
         | 
| 66 58 | 
             
                requirements:
         | 
| 67 | 
            -
                - -  | 
| 59 | 
            +
                - - '>='
         | 
| 68 60 | 
             
                  - !ruby/object:Gem::Version
         | 
| 69 61 | 
             
                    version: '2.10'
         | 
| 70 62 | 
             
              type: :development
         | 
| 71 63 | 
             
              prerelease: false
         | 
| 72 64 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 73 | 
            -
                none: false
         | 
| 74 65 | 
             
                requirements:
         | 
| 75 | 
            -
                - -  | 
| 66 | 
            +
                - - '>='
         | 
| 76 67 | 
             
                  - !ruby/object:Gem::Version
         | 
| 77 68 | 
             
                    version: '2.10'
         | 
| 78 69 | 
             
            description: Provides complete access to PayPal's Adaptive Payments API
         | 
| @@ -191,55 +182,25 @@ files: | |
| 191 182 | 
             
            - spec/spec_helper.rb
         | 
| 192 183 | 
             
            homepage: https://github.com/
         | 
| 193 184 | 
             
            licenses: []
         | 
| 185 | 
            +
            metadata: {}
         | 
| 194 186 | 
             
            post_install_message: 
         | 
| 195 187 | 
             
            rdoc_options: []
         | 
| 196 188 | 
             
            require_paths:
         | 
| 197 189 | 
             
            - lib
         | 
| 198 190 | 
             
            required_ruby_version: !ruby/object:Gem::Requirement
         | 
| 199 | 
            -
              none: false
         | 
| 200 191 | 
             
              requirements:
         | 
| 201 | 
            -
              - -  | 
| 192 | 
            +
              - - '>='
         | 
| 202 193 | 
             
                - !ruby/object:Gem::Version
         | 
| 203 194 | 
             
                  version: '0'
         | 
| 204 195 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 205 | 
            -
              none: false
         | 
| 206 196 | 
             
              requirements:
         | 
| 207 | 
            -
              - -  | 
| 197 | 
            +
              - - '>='
         | 
| 208 198 | 
             
                - !ruby/object:Gem::Version
         | 
| 209 199 | 
             
                  version: '0'
         | 
| 210 200 | 
             
            requirements: []
         | 
| 211 201 | 
             
            rubyforge_project: pp-adaptive
         | 
| 212 | 
            -
            rubygems_version:  | 
| 202 | 
            +
            rubygems_version: 2.0.3
         | 
| 213 203 | 
             
            signing_key: 
         | 
| 214 | 
            -
            specification_version:  | 
| 204 | 
            +
            specification_version: 4
         | 
| 215 205 | 
             
            summary: Rubygem for working with PayPal's Adaptive Payments API
         | 
| 216 | 
            -
            test_files:
         | 
| 217 | 
            -
            - spec/public/cancel_preapproval_request_spec.rb
         | 
| 218 | 
            -
            - spec/public/cancel_preapproval_response_spec.rb
         | 
| 219 | 
            -
            - spec/public/client_spec.rb
         | 
| 220 | 
            -
            - spec/public/convert_currency_request_spec.rb
         | 
| 221 | 
            -
            - spec/public/convert_currency_response_spec.rb
         | 
| 222 | 
            -
            - spec/public/execute_payment_request_spec.rb
         | 
| 223 | 
            -
            - spec/public/execute_payment_response_spec.rb
         | 
| 224 | 
            -
            - spec/public/get_payment_options_request_spec.rb
         | 
| 225 | 
            -
            - spec/public/get_payment_options_response_spec.rb
         | 
| 226 | 
            -
            - spec/public/json_model_spec.rb
         | 
| 227 | 
            -
            - spec/public/node_list_spec.rb
         | 
| 228 | 
            -
            - spec/public/node_spec.rb
         | 
| 229 | 
            -
            - spec/public/pay_request_spec.rb
         | 
| 230 | 
            -
            - spec/public/pay_response_spec.rb
         | 
| 231 | 
            -
            - spec/public/payment_details_request_spec.rb
         | 
| 232 | 
            -
            - spec/public/payment_details_response_spec.rb
         | 
| 233 | 
            -
            - spec/public/preapproval_details_request_spec.rb
         | 
| 234 | 
            -
            - spec/public/preapproval_details_response_spec.rb
         | 
| 235 | 
            -
            - spec/public/preapproval_request_spec.rb
         | 
| 236 | 
            -
            - spec/public/preapproval_response_spec.rb
         | 
| 237 | 
            -
            - spec/public/refund_request_spec.rb
         | 
| 238 | 
            -
            - spec/public/refund_response_spec.rb
         | 
| 239 | 
            -
            - spec/public/set_payment_options_request_spec.rb
         | 
| 240 | 
            -
            - spec/public/set_payment_options_response_spec.rb
         | 
| 241 | 
            -
            - spec/shared/a_fault_message.rb
         | 
| 242 | 
            -
            - spec/shared/a_request_envelope.rb
         | 
| 243 | 
            -
            - spec/shared/a_response_envelope.rb
         | 
| 244 | 
            -
            - spec/spec_helper.rb
         | 
| 245 | 
            -
            has_rdoc: 
         | 
| 206 | 
            +
            test_files: []
         |