codehog-google-checkout 1
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.
- data/History.txt +25 -0
- data/Isolate +13 -0
- data/MIT-LICENSE.txt +23 -0
- data/Manifest.txt +42 -0
- data/README.txt +148 -0
- data/Rakefile +35 -0
- data/examples/google_notifications_controller.rb +159 -0
- data/lib/duck_punches/hpricot.rb +24 -0
- data/lib/google-checkout.rb +61 -0
- data/lib/google-checkout/cart.rb +357 -0
- data/lib/google-checkout/command.rb +191 -0
- data/lib/google-checkout/notification.rb +226 -0
- data/spec/fixtures/google/checkout-shopping-cart.xml +22 -0
- data/spec/fixtures/google/commands/add-merchant-order-number.xml +5 -0
- data/spec/fixtures/google/commands/add-tracking-data.xml +8 -0
- data/spec/fixtures/google/commands/archive-order.xml +3 -0
- data/spec/fixtures/google/commands/authorize-order.xml +2 -0
- data/spec/fixtures/google/commands/cancel-order.xml +5 -0
- data/spec/fixtures/google/commands/charge-order.xml +4 -0
- data/spec/fixtures/google/commands/deliver-order.xml +9 -0
- data/spec/fixtures/google/commands/process-order.xml +2 -0
- data/spec/fixtures/google/commands/refund-order.xml +6 -0
- data/spec/fixtures/google/commands/send-buyer-message.xml +7 -0
- data/spec/fixtures/google/commands/unarchive-order.xml +2 -0
- data/spec/fixtures/google/notifications/authorization-amount-notification.xml +10 -0
- data/spec/fixtures/google/notifications/charge-amount-notification.xml +8 -0
- data/spec/fixtures/google/notifications/chargeback-amount-notification.xml +8 -0
- data/spec/fixtures/google/notifications/new-order-notification.xml +85 -0
- data/spec/fixtures/google/notifications/order-state-change-notification.xml +11 -0
- data/spec/fixtures/google/notifications/refund-amount-notification.xml +8 -0
- data/spec/fixtures/google/notifications/risk-information-notification.xml +23 -0
- data/spec/fixtures/google/responses/checkout-redirect.xml +5 -0
- data/spec/fixtures/google/responses/error.xml +5 -0
- data/spec/fixtures/google/responses/request-received.xml +3 -0
- data/spec/google-checkout/cart_spec.rb +165 -0
- data/spec/google-checkout/command_spec.rb +131 -0
- data/spec/google-checkout/notification_spec.rb +181 -0
- data/spec/google-checkout/response_spec.rb +49 -0
- data/spec/google-checkout_spec.rb +15 -0
- data/spec/spec_helper.rb +47 -0
- data/support/cacert.pem +7815 -0
- metadata +203 -0
metadata
ADDED
@@ -0,0 +1,203 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: codehog-google-checkout
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: '1'
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Geoffrey Grosenbach
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2011-02-08 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: builder
|
16
|
+
requirement: &70137157167720 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70137157167720
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: nokogiri
|
27
|
+
requirement: &70137157167080 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70137157167080
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: money
|
38
|
+
requirement: &70137157166380 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '3.0'
|
44
|
+
type: :runtime
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *70137157166380
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: activesupport
|
49
|
+
requirement: &70137157165100 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
type: :runtime
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *70137157165100
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: hoe
|
60
|
+
requirement: &70137157133960 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - =
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '2.8'
|
66
|
+
type: :development
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *70137157133960
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: hoe-doofus
|
71
|
+
requirement: &70137157132080 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - =
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 1.0.0
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: *70137157132080
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: hoe-git
|
82
|
+
requirement: &70137157130380 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - =
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: 1.3.0
|
88
|
+
type: :development
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: *70137157130380
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: rspec
|
93
|
+
requirement: &70137157128480 !ruby/object:Gem::Requirement
|
94
|
+
none: false
|
95
|
+
requirements:
|
96
|
+
- - =
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: 1.3.0
|
99
|
+
type: :development
|
100
|
+
prerelease: false
|
101
|
+
version_requirements: *70137157128480
|
102
|
+
- !ruby/object:Gem::Dependency
|
103
|
+
name: hoe
|
104
|
+
requirement: &70137157127040 !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 2.8.0
|
110
|
+
type: :development
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: *70137157127040
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: isolate
|
115
|
+
requirement: &70137157108080 !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
117
|
+
requirements:
|
118
|
+
- - ! '>='
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '0'
|
121
|
+
type: :development
|
122
|
+
prerelease: false
|
123
|
+
version_requirements: *70137157108080
|
124
|
+
description: Experimental library for working with GoogleCheckout. Currently in use
|
125
|
+
for payment at http://peepcode.com.
|
126
|
+
email:
|
127
|
+
- boss@topfunky.com
|
128
|
+
executables: []
|
129
|
+
extensions: []
|
130
|
+
extra_rdoc_files:
|
131
|
+
- History.txt
|
132
|
+
- MIT-LICENSE.txt
|
133
|
+
- Manifest.txt
|
134
|
+
- README.txt
|
135
|
+
files:
|
136
|
+
- History.txt
|
137
|
+
- Isolate
|
138
|
+
- MIT-LICENSE.txt
|
139
|
+
- Manifest.txt
|
140
|
+
- README.txt
|
141
|
+
- Rakefile
|
142
|
+
- examples/google_notifications_controller.rb
|
143
|
+
- lib/duck_punches/hpricot.rb
|
144
|
+
- lib/google-checkout.rb
|
145
|
+
- lib/google-checkout/cart.rb
|
146
|
+
- lib/google-checkout/command.rb
|
147
|
+
- lib/google-checkout/notification.rb
|
148
|
+
- spec/fixtures/google/checkout-shopping-cart.xml
|
149
|
+
- spec/fixtures/google/commands/add-merchant-order-number.xml
|
150
|
+
- spec/fixtures/google/commands/add-tracking-data.xml
|
151
|
+
- spec/fixtures/google/commands/archive-order.xml
|
152
|
+
- spec/fixtures/google/commands/authorize-order.xml
|
153
|
+
- spec/fixtures/google/commands/cancel-order.xml
|
154
|
+
- spec/fixtures/google/commands/charge-order.xml
|
155
|
+
- spec/fixtures/google/commands/deliver-order.xml
|
156
|
+
- spec/fixtures/google/commands/process-order.xml
|
157
|
+
- spec/fixtures/google/commands/refund-order.xml
|
158
|
+
- spec/fixtures/google/commands/send-buyer-message.xml
|
159
|
+
- spec/fixtures/google/commands/unarchive-order.xml
|
160
|
+
- spec/fixtures/google/notifications/authorization-amount-notification.xml
|
161
|
+
- spec/fixtures/google/notifications/charge-amount-notification.xml
|
162
|
+
- spec/fixtures/google/notifications/chargeback-amount-notification.xml
|
163
|
+
- spec/fixtures/google/notifications/new-order-notification.xml
|
164
|
+
- spec/fixtures/google/notifications/order-state-change-notification.xml
|
165
|
+
- spec/fixtures/google/notifications/refund-amount-notification.xml
|
166
|
+
- spec/fixtures/google/notifications/risk-information-notification.xml
|
167
|
+
- spec/fixtures/google/responses/checkout-redirect.xml
|
168
|
+
- spec/fixtures/google/responses/error.xml
|
169
|
+
- spec/fixtures/google/responses/request-received.xml
|
170
|
+
- spec/google-checkout/cart_spec.rb
|
171
|
+
- spec/google-checkout/command_spec.rb
|
172
|
+
- spec/google-checkout/notification_spec.rb
|
173
|
+
- spec/google-checkout/response_spec.rb
|
174
|
+
- spec/google-checkout_spec.rb
|
175
|
+
- spec/spec_helper.rb
|
176
|
+
- support/cacert.pem
|
177
|
+
homepage: http://github.com/topfunky/google-checkout
|
178
|
+
licenses: []
|
179
|
+
post_install_message:
|
180
|
+
rdoc_options:
|
181
|
+
- --main
|
182
|
+
- README.txt
|
183
|
+
require_paths:
|
184
|
+
- lib
|
185
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
186
|
+
none: false
|
187
|
+
requirements:
|
188
|
+
- - ! '>='
|
189
|
+
- !ruby/object:Gem::Version
|
190
|
+
version: '0'
|
191
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
192
|
+
none: false
|
193
|
+
requirements:
|
194
|
+
- - ! '>='
|
195
|
+
- !ruby/object:Gem::Version
|
196
|
+
version: '0'
|
197
|
+
requirements: []
|
198
|
+
rubyforge_project: google-checkout
|
199
|
+
rubygems_version: 1.8.10
|
200
|
+
signing_key:
|
201
|
+
specification_version: 3
|
202
|
+
summary: Experimental library for working with GoogleCheckout
|
203
|
+
test_files: []
|