paypal_adaptive 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +26 -2
- data/Rakefile +11 -10
- data/VERSION +1 -1
- data/cacert.pem +3987 -0
- data/config/paypal_adaptive.yml +4 -1
- data/lib/config.rb +22 -9
- data/lib/ipn_notification.rb +6 -1
- data/lib/paypal_adaptive.rb +1 -1
- data/lib/request.rb +6 -1
- data/lib/response.rb +1 -1
- data/paypal_adaptive.gemspec +41 -40
- data/test/data/dummy_cacert.pem +1 -0
- data/test/data/valid_preapproval.json +2 -2
- data/test/{helper.rb → test_helper.rb} +2 -1
- data/test/unit/config_test.rb +15 -0
- data/test/{pay_request_schema_test.rb → unit/pay_request_schema_test.rb} +6 -6
- data/test/{pay_request_test.rb → unit/pay_request_test.rb} +11 -9
- data/test/{payment_details_test.rb → unit/payment_details_test.rb} +3 -4
- data/test/{preapproval_test.rb → unit/preapproval_test.rb} +6 -6
- metadata +57 -68
- data/.gitignore +0 -22
metadata
CHANGED
@@ -1,61 +1,52 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: paypal_adaptive
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 1
|
8
|
-
- 0
|
9
|
-
version: 0.1.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Tommy Chheng
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
date: 2010-05-05 00:00:00 -07:00
|
12
|
+
date: 2011-04-25 00:00:00.000000000 -07:00
|
18
13
|
default_executable:
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
21
16
|
name: json
|
22
|
-
|
23
|
-
|
24
|
-
requirements:
|
25
|
-
- -
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
|
28
|
-
- 0
|
29
|
-
version: "0"
|
17
|
+
requirement: &2161705900 !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '0'
|
30
23
|
type: :development
|
31
|
-
version_requirements: *id001
|
32
|
-
- !ruby/object:Gem::Dependency
|
33
|
-
name: jsonschema
|
34
24
|
prerelease: false
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
25
|
+
version_requirements: *2161705900
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: jsonschema
|
28
|
+
requirement: &2161705420 !ruby/object:Gem::Requirement
|
29
|
+
none: false
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
42
34
|
type: :development
|
43
|
-
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: *2161705420
|
44
37
|
description: Lightweight wrapper for Paypal's Adaptive Payments API.
|
45
38
|
email: tommy.chheng@gmail.com
|
46
39
|
executables: []
|
47
|
-
|
48
40
|
extensions: []
|
49
|
-
|
50
|
-
extra_rdoc_files:
|
41
|
+
extra_rdoc_files:
|
51
42
|
- LICENSE
|
52
43
|
- README.markdown
|
53
|
-
files:
|
54
|
-
- .gitignore
|
44
|
+
files:
|
55
45
|
- LICENSE
|
56
46
|
- README.markdown
|
57
47
|
- Rakefile
|
58
48
|
- VERSION
|
49
|
+
- cacert.pem
|
59
50
|
- config/paypal_adaptive.yml
|
60
51
|
- lib/config.rb
|
61
52
|
- lib/ipn_notification.rb
|
@@ -65,6 +56,7 @@ files:
|
|
65
56
|
- lib/response.rb
|
66
57
|
- paypal_adaptive.gemspec
|
67
58
|
- templates/paypal_ipn.rb
|
59
|
+
- test/data/dummy_cacert.pem
|
68
60
|
- test/data/invalid_chain_pay_request.json
|
69
61
|
- test/data/invalid_parallel_pay_request.json
|
70
62
|
- test/data/invalid_preapproval.json
|
@@ -73,44 +65,41 @@ files:
|
|
73
65
|
- test/data/valid_parallel_pay_request.json
|
74
66
|
- test/data/valid_preapproval.json
|
75
67
|
- test/data/valid_simple_pay_request_1.json
|
76
|
-
- test/
|
77
|
-
- test/
|
78
|
-
- test/
|
79
|
-
- test/
|
80
|
-
- test/
|
68
|
+
- test/test_helper.rb
|
69
|
+
- test/unit/config_test.rb
|
70
|
+
- test/unit/pay_request_schema_test.rb
|
71
|
+
- test/unit/pay_request_test.rb
|
72
|
+
- test/unit/payment_details_test.rb
|
73
|
+
- test/unit/preapproval_test.rb
|
81
74
|
has_rdoc: true
|
82
75
|
homepage: http://github.com/tc/paypal_adaptive
|
83
76
|
licenses: []
|
84
|
-
|
85
77
|
post_install_message:
|
86
|
-
rdoc_options:
|
87
|
-
|
88
|
-
require_paths:
|
78
|
+
rdoc_options: []
|
79
|
+
require_paths:
|
89
80
|
- lib
|
90
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
requirements:
|
99
|
-
- -
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
|
102
|
-
- 0
|
103
|
-
version: "0"
|
81
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
82
|
+
none: false
|
83
|
+
requirements:
|
84
|
+
- - ! '>='
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: '0'
|
87
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
88
|
+
none: false
|
89
|
+
requirements:
|
90
|
+
- - ! '>='
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '0'
|
104
93
|
requirements: []
|
105
|
-
|
106
94
|
rubyforge_project:
|
107
|
-
rubygems_version: 1.
|
95
|
+
rubygems_version: 1.6.2
|
108
96
|
signing_key:
|
109
97
|
specification_version: 3
|
110
98
|
summary: initial import
|
111
|
-
test_files:
|
112
|
-
- test/
|
113
|
-
- test/
|
114
|
-
- test/
|
115
|
-
- test/
|
116
|
-
- test/
|
99
|
+
test_files:
|
100
|
+
- test/test_helper.rb
|
101
|
+
- test/unit/config_test.rb
|
102
|
+
- test/unit/pay_request_schema_test.rb
|
103
|
+
- test/unit/pay_request_test.rb
|
104
|
+
- test/unit/payment_details_test.rb
|
105
|
+
- test/unit/preapproval_test.rb
|