paypal_adaptive 0.0.5 → 0.1.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.
@@ -70,6 +70,10 @@ Additionally, you can make calls to Paypal Adaptive's other APIs:
70
70
  Input is just a Hash just like the pay method. Refer to the Paypal manual for more details.
71
71
 
72
72
  ## Changelog
73
+ 0.1.0
74
+ Fixed IPN rails metal template by sending the correct params back: ipn.send_back(env['rack.request.form_vars'])
75
+ Thanks to github.com/JoN1oP for fixing this.
76
+
73
77
  0.0.5
74
78
  Added Preapproval preapproval_paypal_payment_url along with test case.
75
79
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.5
1
+ 0.1.0
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{paypal_adaptive}
8
- s.version = "0.0.5"
8
+ s.version = "0.1.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Tommy Chheng"]
12
- s.date = %q{2009-12-30}
12
+ s.date = %q{2010-05-05}
13
13
  s.description = %q{Lightweight wrapper for Paypal's Adaptive Payments API.}
14
14
  s.email = %q{tommy.chheng@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -48,7 +48,7 @@ Gem::Specification.new do |s|
48
48
  s.homepage = %q{http://github.com/tc/paypal_adaptive}
49
49
  s.rdoc_options = ["--charset=UTF-8"]
50
50
  s.require_paths = ["lib"]
51
- s.rubygems_version = %q{1.3.5}
51
+ s.rubygems_version = %q{1.3.6}
52
52
  s.summary = %q{initial import}
53
53
  s.test_files = [
54
54
  "test/helper.rb",
@@ -8,7 +8,7 @@ class PaypalIpn
8
8
  params = request.params
9
9
 
10
10
  ipn = PaypalAdaptive::IpnNotification.new
11
- ipn.send_back(env['QUERY_STRING'])
11
+ ipn.send_back(env['rack.request.form_vars'])
12
12
  if ipn.verified?
13
13
  #mark transaction as completed in your DB
14
14
  output = "Verified."
@@ -12,6 +12,7 @@ class PreapprovalTest < Test::Unit::TestCase
12
12
  data_filepath = "../test/data/valid_preapproval.json"
13
13
 
14
14
  data = read_json_file(data_filepath)
15
+
15
16
  pp_response = @preapproval_request.preapproval(data)
16
17
  puts "preapproval code is #{pp_response['preapprovalKey']}"
17
18
 
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paypal_adaptive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 0
9
+ version: 0.1.0
5
10
  platform: ruby
6
11
  authors:
7
12
  - Tommy Chheng
@@ -9,29 +14,33 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2009-12-30 00:00:00 -08:00
17
+ date: 2010-05-05 00:00:00 -07:00
13
18
  default_executable:
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: json
17
- type: :development
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
20
24
  requirements:
21
25
  - - ">="
22
26
  - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
23
29
  version: "0"
24
- version:
30
+ type: :development
31
+ version_requirements: *id001
25
32
  - !ruby/object:Gem::Dependency
26
33
  name: jsonschema
27
- type: :development
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
34
+ prerelease: false
35
+ requirement: &id002 !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - ">="
32
38
  - !ruby/object:Gem::Version
39
+ segments:
40
+ - 0
33
41
  version: "0"
34
- version:
42
+ type: :development
43
+ version_requirements: *id002
35
44
  description: Lightweight wrapper for Paypal's Adaptive Payments API.
36
45
  email: tommy.chheng@gmail.com
37
46
  executables: []
@@ -82,18 +91,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
82
91
  requirements:
83
92
  - - ">="
84
93
  - !ruby/object:Gem::Version
94
+ segments:
95
+ - 0
85
96
  version: "0"
86
- version:
87
97
  required_rubygems_version: !ruby/object:Gem::Requirement
88
98
  requirements:
89
99
  - - ">="
90
100
  - !ruby/object:Gem::Version
101
+ segments:
102
+ - 0
91
103
  version: "0"
92
- version:
93
104
  requirements: []
94
105
 
95
106
  rubyforge_project:
96
- rubygems_version: 1.3.5
107
+ rubygems_version: 1.3.6
97
108
  signing_key:
98
109
  specification_version: 3
99
110
  summary: initial import