paypal_adaptive 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +4 -1
- data/lib/paypal_adaptive/version.rb +1 -1
- data/paypal_adaptive.gemspec +1 -1
- metadata +10 -12
data/README.markdown
CHANGED
@@ -55,7 +55,7 @@ Make the payment request:
|
|
55
55
|
pay_response = pay_request.pay(data)
|
56
56
|
|
57
57
|
if pay_response.success?
|
58
|
-
redirect_to pay_response.
|
58
|
+
redirect_to pay_response.preapproval_paypal_payment_url
|
59
59
|
else
|
60
60
|
puts pay_response.errors.first['message']
|
61
61
|
redirect_to failed_payment_url
|
@@ -91,6 +91,9 @@ for each environment, e.g.:
|
|
91
91
|
The ssl_cert_file should point to your cert_key_pem.txt that is downloaded through the paypal developer interface. It will contain a section that specifies the RSA private key and another section that specifies a certificate. If this is left empty, paypal_adaptive will attempt to use the signature method of validation with PayPal, so your signature config must not be nil.
|
92
92
|
|
93
93
|
## Changelog
|
94
|
+
0.3.1
|
95
|
+
Update json dependency to use ~>1.0 so any version 1.X will work.
|
96
|
+
|
94
97
|
0.3.0
|
95
98
|
ssl_cert_file fixes from eddroid. get_verified_status function from bundacia.
|
96
99
|
|
data/paypal_adaptive.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.summary = "Lightweight wrapper for Paypal's Adaptive Payments API"
|
13
13
|
s.description = "Lightweight wrapper for Paypal's Adaptive Payments API"
|
14
14
|
|
15
|
-
s.add_dependency("json", "~>1.
|
15
|
+
s.add_dependency("json", "~>1.0")
|
16
16
|
s.add_dependency("jsonschema", "~>2.0.0")
|
17
17
|
s.add_dependency("rake", "~>0.8")
|
18
18
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paypal_adaptive
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,23 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
13
|
-
default_executable:
|
12
|
+
date: 2012-09-14 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: json
|
17
|
-
requirement: &
|
16
|
+
requirement: &70345696753460 !ruby/object:Gem::Requirement
|
18
17
|
none: false
|
19
18
|
requirements:
|
20
19
|
- - ~>
|
21
20
|
- !ruby/object:Gem::Version
|
22
|
-
version: 1.
|
21
|
+
version: '1.0'
|
23
22
|
type: :runtime
|
24
23
|
prerelease: false
|
25
|
-
version_requirements: *
|
24
|
+
version_requirements: *70345696753460
|
26
25
|
- !ruby/object:Gem::Dependency
|
27
26
|
name: jsonschema
|
28
|
-
requirement: &
|
27
|
+
requirement: &70345696752780 !ruby/object:Gem::Requirement
|
29
28
|
none: false
|
30
29
|
requirements:
|
31
30
|
- - ~>
|
@@ -33,10 +32,10 @@ dependencies:
|
|
33
32
|
version: 2.0.0
|
34
33
|
type: :runtime
|
35
34
|
prerelease: false
|
36
|
-
version_requirements: *
|
35
|
+
version_requirements: *70345696752780
|
37
36
|
- !ruby/object:Gem::Dependency
|
38
37
|
name: rake
|
39
|
-
requirement: &
|
38
|
+
requirement: &70345696752060 !ruby/object:Gem::Requirement
|
40
39
|
none: false
|
41
40
|
requirements:
|
42
41
|
- - ~>
|
@@ -44,7 +43,7 @@ dependencies:
|
|
44
43
|
version: '0.8'
|
45
44
|
type: :runtime
|
46
45
|
prerelease: false
|
47
|
-
version_requirements: *
|
46
|
+
version_requirements: *70345696752060
|
48
47
|
description: Lightweight wrapper for Paypal's Adaptive Payments API
|
49
48
|
email:
|
50
49
|
- tommy.chheng@gmail.com
|
@@ -93,7 +92,6 @@ files:
|
|
93
92
|
- test/unit/payment_options_test.rb
|
94
93
|
- test/unit/preapproval_test.rb
|
95
94
|
- test/unit/request_test.rb
|
96
|
-
has_rdoc: true
|
97
95
|
homepage: http://github.com/tc/paypal_adaptive
|
98
96
|
licenses: []
|
99
97
|
post_install_message:
|
@@ -114,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
114
112
|
version: '0'
|
115
113
|
requirements: []
|
116
114
|
rubyforge_project: paypal_adaptive
|
117
|
-
rubygems_version: 1.
|
115
|
+
rubygems_version: 1.8.15
|
118
116
|
signing_key:
|
119
117
|
specification_version: 3
|
120
118
|
summary: Lightweight wrapper for Paypal's Adaptive Payments API
|