active_paypal_adaptive_payment 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ ## 0.2.2
2
+
3
+ - Array fix https://github.com/lsegal/yard/issues/370
4
+
1
5
  ## 0.2.1
2
6
 
3
7
  - Removed action pack as a dependency
@@ -1,17 +1,18 @@
1
1
  # Active PayPal Adaptive Payment
2
2
 
3
- This library is meant to interface with PayPal web services Adaptive Payment Gateway Library.
3
+ This library is meant to interface with PayPal's Adaptive Payment Gateway.
4
4
 
5
5
  [Active Merchant]:http://www.activemerchant.org
6
6
 
7
- [iAuction: An Adaptive Payments Tutorial Featuring Parallel Payments](https://www.x.com/docs/DOC-2505)
7
+ ![Active PayPal Adaptive Payment](https://github.com/jpablobr/active_paypal_adaptive_payment/raw/master/doc/split.jpg)
8
+
8
9
  ## Supported
9
10
 
10
- * payments
11
- * preapprovals
12
- * refunds
13
- * currency conversions
14
- * more soon!
11
+ * Payments
12
+ * Peapprovals
13
+ * Refunds
14
+ * Currency conversions
15
+ * More soon!
15
16
 
16
17
  ## Installation
17
18
 
@@ -19,9 +20,11 @@ Add the following line to your app Gemfile:
19
20
 
20
21
  gem "active_paypal_adaptive_payment"
21
22
 
23
+ bundle install
24
+
22
25
  ## Implementation
23
26
 
24
- See ![Active PayPal Adaptive Payment](https://github.com/jpablobr/active_paypal_adaptive_payment/raw/master/doc/split.jpg) tutorial for more info.
27
+ See [iAuction: An Adaptive Payments Tutorial Featuring Parallel Payments](https://www.x.com/docs/DOC-2505) tutorial for more info.
25
28
 
26
29
  ### Pre-approved paymen
27
30
 
@@ -38,7 +41,7 @@ See ![Active PayPal Adaptive Payment](https://github.com/jpablobr/active_paypal_
38
41
  ### Cancel pre-approved payment
39
42
 
40
43
  gateway.cancel_preapproval(:preapproval_key => "preapprovalkey"
41
- )
44
+
42
45
  ### Chained payments
43
46
 
44
47
  def checkout
@@ -60,6 +63,12 @@ See ![Active PayPal Adaptive Payment](https://github.com/jpablobr/active_paypal_
60
63
 
61
64
  Set the `:primary` flag to `false` for each recipient for a split payment.
62
65
 
66
+ ## Testing
67
+
68
+ First modify the values in `test/fixtures.yml` to fit your app credentials.
69
+
70
+ After that you can just execute them via `autotest`.
71
+
63
72
  ## Debugging
64
73
 
65
74
  Use either gateway.debug or response.debug this gives you the json
@@ -1,9 +1,10 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  dir = File.dirname(__FILE__)
3
- [ '/paypal_adaptive_payments/exceptions.rb',
4
- '/paypal_adaptive_payments/adaptive_payment_response.rb',
5
- '/paypal_adaptive_payments/ext.rb'
6
- ].each { |f| require File.join(dir, f) }
3
+ %w{
4
+ '/paypal_adaptive_payments/exceptions.rb'
5
+ '/paypal_adaptive_payments/adaptive_payment_response.rb'
6
+ '/paypal_adaptive_payments/ext.rb'
7
+ }.each { |f| require File.join(dir, f) }
7
8
 
8
9
  require 'money'
9
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_paypal_adaptive_payment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-08-12 00:00:00.000000000Z
12
+ date: 2011-08-13 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activemerchant
16
- requirement: &11874900 !ruby/object:Gem::Requirement
16
+ requirement: &22834000 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.5.1
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *11874900
24
+ version_requirements: *22834000
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: multi_json
27
- requirement: &11874420 !ruby/object:Gem::Requirement
27
+ requirement: &22833520 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.0.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *11874420
35
+ version_requirements: *22833520
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rash
38
- requirement: &11873820 !ruby/object:Gem::Requirement
38
+ requirement: &22789140 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 0.3.0
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *11873820
46
+ version_requirements: *22789140
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: money
49
- requirement: &11873220 !ruby/object:Gem::Requirement
49
+ requirement: &22788620 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,9 +54,11 @@ dependencies:
54
54
  version: 3.6.0
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *11873220
58
- description: This library is meant to interface with PayPal web services Adaptive
59
- Payment Gateway Library.
57
+ version_requirements: *22788620
58
+ description: ! ' This library is meant to interface with PayPal''s Adaptive Payment
59
+ Gateway.
60
+
61
+ '
60
62
  email:
61
63
  - xjpablobrx@gmail.com
62
64
  executables: []
@@ -69,7 +71,7 @@ files:
69
71
  - lib/active_merchant/billing/gateways/paypal_adaptive_payments/ext.rb
70
72
  - lib/active_merchant/billing/gateways/paypal_adaptive_payment.rb
71
73
  - MIT-LICENSE
72
- - readme.md
74
+ - README.md
73
75
  - CHANGELOG.md
74
76
  homepage: http://github.com/jpablobr/active_paypal_adaptive_payment
75
77
  licenses: []