vizjerai-google-checkout 0.0.5
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 +14 -0
- data/MIT-LICENSE.txt +23 -0
- data/README.txt +143 -0
- data/Rakefile +34 -0
- data/VERSION.yml +4 -0
- data/examples/google_notifications_controller.rb +159 -0
- data/lib/duck_punches/hpricot.rb +24 -0
- data/lib/google-checkout/cart.rb +304 -0
- data/lib/google-checkout/command.rb +255 -0
- data/lib/google-checkout/geography/area.rb +11 -0
- data/lib/google-checkout/geography/postal.rb +26 -0
- data/lib/google-checkout/geography/us_country.rb +24 -0
- data/lib/google-checkout/geography/us_state.rb +22 -0
- data/lib/google-checkout/geography/us_zip.rb +22 -0
- data/lib/google-checkout/geography/world.rb +12 -0
- data/lib/google-checkout/geography.rb +7 -0
- data/lib/google-checkout/merchant_calculation.rb +30 -0
- data/lib/google-checkout/notification.rb +352 -0
- data/lib/google-checkout/shipping/filters.rb +32 -0
- data/lib/google-checkout/shipping/flat_rate.rb +26 -0
- data/lib/google-checkout/shipping/merchant_calculated.rb +29 -0
- data/lib/google-checkout/shipping/method.rb +11 -0
- data/lib/google-checkout/shipping/pickup.rb +22 -0
- data/lib/google-checkout/shipping/restrictions.rb +32 -0
- data/lib/google-checkout/shipping.rb +8 -0
- data/lib/google-checkout.rb +65 -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/merchant_calculations/shipping.xml +40 -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 +94 -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-charged.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 +110 -0
- data/spec/google-checkout/command_spec.rb +216 -0
- data/spec/google-checkout/geography/postal_spec.rb +26 -0
- data/spec/google-checkout/geography/us_country_spec.rb +26 -0
- data/spec/google-checkout/geography/us_state_spec.rb +11 -0
- data/spec/google-checkout/geography/us_zip_spec.rb +11 -0
- data/spec/google-checkout/geography/world_spec.rb +12 -0
- data/spec/google-checkout/merchant_calculation_spec.rb +17 -0
- data/spec/google-checkout/notification_spec.rb +253 -0
- data/spec/google-checkout/response_spec.rb +49 -0
- data/spec/google-checkout/shipping/flat_rate_spec.rb +46 -0
- data/spec/google-checkout/shipping/merchant_calculated_spec.rb +70 -0
- data/spec/google-checkout/shipping/pickup_spec.rb +22 -0
- data/spec/google-checkout_spec.rb +15 -0
- data/spec/spec_helper.rb +47 -0
- data/support/cacert.pem +7815 -0
- metadata +145 -0
metadata
ADDED
@@ -0,0 +1,145 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: vizjerai-google-checkout
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.5
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Peter Elmore
|
8
|
+
- Geoffrey Grosenbach
|
9
|
+
- Matt Lins
|
10
|
+
- Andrew Assarattanakul
|
11
|
+
autorequire:
|
12
|
+
bindir: bin
|
13
|
+
cert_chain: []
|
14
|
+
|
15
|
+
date: 2009-05-18 00:00:00 -07:00
|
16
|
+
default_executable:
|
17
|
+
dependencies:
|
18
|
+
- !ruby/object:Gem::Dependency
|
19
|
+
name: ruby-hmac
|
20
|
+
type: :runtime
|
21
|
+
version_requirement:
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: "0"
|
27
|
+
version:
|
28
|
+
description: An experimental library for sending payment requests to Google Checkout.
|
29
|
+
email: mattlins@gmail.com
|
30
|
+
executables: []
|
31
|
+
|
32
|
+
extensions: []
|
33
|
+
|
34
|
+
extra_rdoc_files:
|
35
|
+
- README.txt
|
36
|
+
files:
|
37
|
+
- History.txt
|
38
|
+
- MIT-LICENSE.txt
|
39
|
+
- README.txt
|
40
|
+
- Rakefile
|
41
|
+
- VERSION.yml
|
42
|
+
- examples/google_notifications_controller.rb
|
43
|
+
- lib/duck_punches/hpricot.rb
|
44
|
+
- lib/google-checkout.rb
|
45
|
+
- lib/google-checkout/cart.rb
|
46
|
+
- lib/google-checkout/command.rb
|
47
|
+
- lib/google-checkout/geography.rb
|
48
|
+
- lib/google-checkout/geography/area.rb
|
49
|
+
- lib/google-checkout/geography/postal.rb
|
50
|
+
- lib/google-checkout/geography/us_country.rb
|
51
|
+
- lib/google-checkout/geography/us_state.rb
|
52
|
+
- lib/google-checkout/geography/us_zip.rb
|
53
|
+
- lib/google-checkout/geography/world.rb
|
54
|
+
- lib/google-checkout/merchant_calculation.rb
|
55
|
+
- lib/google-checkout/notification.rb
|
56
|
+
- lib/google-checkout/shipping.rb
|
57
|
+
- lib/google-checkout/shipping/filters.rb
|
58
|
+
- lib/google-checkout/shipping/flat_rate.rb
|
59
|
+
- lib/google-checkout/shipping/merchant_calculated.rb
|
60
|
+
- lib/google-checkout/shipping/method.rb
|
61
|
+
- lib/google-checkout/shipping/pickup.rb
|
62
|
+
- lib/google-checkout/shipping/restrictions.rb
|
63
|
+
- spec/fixtures/google/checkout-shopping-cart.xml
|
64
|
+
- spec/fixtures/google/commands/add-merchant-order-number.xml
|
65
|
+
- spec/fixtures/google/commands/add-tracking-data.xml
|
66
|
+
- spec/fixtures/google/commands/archive-order.xml
|
67
|
+
- spec/fixtures/google/commands/authorize-order.xml
|
68
|
+
- spec/fixtures/google/commands/cancel-order.xml
|
69
|
+
- spec/fixtures/google/commands/charge-order.xml
|
70
|
+
- spec/fixtures/google/commands/deliver-order.xml
|
71
|
+
- spec/fixtures/google/commands/process-order.xml
|
72
|
+
- spec/fixtures/google/commands/refund-order.xml
|
73
|
+
- spec/fixtures/google/commands/send-buyer-message.xml
|
74
|
+
- spec/fixtures/google/commands/unarchive-order.xml
|
75
|
+
- spec/fixtures/google/merchant_calculations/shipping.xml
|
76
|
+
- spec/fixtures/google/notifications/authorization-amount-notification.xml
|
77
|
+
- spec/fixtures/google/notifications/charge-amount-notification.xml
|
78
|
+
- spec/fixtures/google/notifications/chargeback-amount-notification.xml
|
79
|
+
- spec/fixtures/google/notifications/new-order-notification.xml
|
80
|
+
- spec/fixtures/google/notifications/order-state-change-notification.xml
|
81
|
+
- spec/fixtures/google/notifications/refund-amount-notification.xml
|
82
|
+
- spec/fixtures/google/notifications/risk-information-notification.xml
|
83
|
+
- spec/fixtures/google/responses/checkout-redirect.xml
|
84
|
+
- spec/fixtures/google/responses/error-charged.xml
|
85
|
+
- spec/fixtures/google/responses/error.xml
|
86
|
+
- spec/fixtures/google/responses/request-received.xml
|
87
|
+
- spec/google-checkout/cart_spec.rb
|
88
|
+
- spec/google-checkout/command_spec.rb
|
89
|
+
- spec/google-checkout/geography/postal_spec.rb
|
90
|
+
- spec/google-checkout/geography/us_country_spec.rb
|
91
|
+
- spec/google-checkout/geography/us_state_spec.rb
|
92
|
+
- spec/google-checkout/geography/us_zip_spec.rb
|
93
|
+
- spec/google-checkout/geography/world_spec.rb
|
94
|
+
- spec/google-checkout/merchant_calculation_spec.rb
|
95
|
+
- spec/google-checkout/notification_spec.rb
|
96
|
+
- spec/google-checkout/response_spec.rb
|
97
|
+
- spec/google-checkout/shipping/flat_rate_spec.rb
|
98
|
+
- spec/google-checkout/shipping/merchant_calculated_spec.rb
|
99
|
+
- spec/google-checkout/shipping/pickup_spec.rb
|
100
|
+
- spec/google-checkout_spec.rb
|
101
|
+
- spec/spec_helper.rb
|
102
|
+
- support/cacert.pem
|
103
|
+
has_rdoc: true
|
104
|
+
homepage: http://github.com/mlins/google-checkout/
|
105
|
+
post_install_message:
|
106
|
+
rdoc_options:
|
107
|
+
- --charset=UTF-8
|
108
|
+
require_paths:
|
109
|
+
- lib
|
110
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
111
|
+
requirements:
|
112
|
+
- - ">="
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: "0"
|
115
|
+
version:
|
116
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
117
|
+
requirements:
|
118
|
+
- - ">="
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: "0"
|
121
|
+
version:
|
122
|
+
requirements: []
|
123
|
+
|
124
|
+
rubyforge_project:
|
125
|
+
rubygems_version: 1.2.0
|
126
|
+
signing_key:
|
127
|
+
specification_version: 2
|
128
|
+
summary: An experimental library for sending payment requests to Google Checkout.
|
129
|
+
test_files:
|
130
|
+
- spec/google-checkout/cart_spec.rb
|
131
|
+
- spec/google-checkout/command_spec.rb
|
132
|
+
- spec/google-checkout/geography/postal_spec.rb
|
133
|
+
- spec/google-checkout/geography/us_country_spec.rb
|
134
|
+
- spec/google-checkout/geography/us_state_spec.rb
|
135
|
+
- spec/google-checkout/geography/us_zip_spec.rb
|
136
|
+
- spec/google-checkout/geography/world_spec.rb
|
137
|
+
- spec/google-checkout/merchant_calculation_spec.rb
|
138
|
+
- spec/google-checkout/notification_spec.rb
|
139
|
+
- spec/google-checkout/response_spec.rb
|
140
|
+
- spec/google-checkout/shipping/flat_rate_spec.rb
|
141
|
+
- spec/google-checkout/shipping/merchant_calculated_spec.rb
|
142
|
+
- spec/google-checkout/shipping/pickup_spec.rb
|
143
|
+
- spec/google-checkout_spec.rb
|
144
|
+
- spec/spec_helper.rb
|
145
|
+
- examples/google_notifications_controller.rb
|