google4r-checkout-jn 1.1.jniziol

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.
Files changed (79) hide show
  1. data/CHANGES +136 -0
  2. data/LICENSE +22 -0
  3. data/README.md +72 -0
  4. data/lib/google4r/checkout.rb +34 -0
  5. data/lib/google4r/checkout/commands.rb +665 -0
  6. data/lib/google4r/checkout/frontend.rb +222 -0
  7. data/lib/google4r/checkout/merchant_calculation.rb +323 -0
  8. data/lib/google4r/checkout/notifications.rb +774 -0
  9. data/lib/google4r/checkout/shared.rb +1386 -0
  10. data/lib/google4r/checkout/utils.rb +94 -0
  11. data/lib/google4r/checkout/xml_generation.rb +1023 -0
  12. data/test/frontend_configuration_example.rb +13 -0
  13. data/test/integration/checkout_command_test.rb +261 -0
  14. data/test/test_helper.rb +105 -0
  15. data/test/unit/add_merchant_order_number_command_test.rb +65 -0
  16. data/test/unit/add_tracking_data_command_test.rb +68 -0
  17. data/test/unit/address_test.rb +131 -0
  18. data/test/unit/anonymous_address_test.rb +75 -0
  19. data/test/unit/archive_order_command_test.rb +63 -0
  20. data/test/unit/area_test.rb +44 -0
  21. data/test/unit/authorization_amount_notification_test.rb +69 -0
  22. data/test/unit/authorize_order_command_test.rb +63 -0
  23. data/test/unit/backorder_items_command_test.rb +69 -0
  24. data/test/unit/callback_handler_test.rb +83 -0
  25. data/test/unit/cancel_items_command_test.rb +76 -0
  26. data/test/unit/cancel_order_command_test.rb +74 -0
  27. data/test/unit/carrier_calculated_shipping_test.rb +57 -0
  28. data/test/unit/charge_amount_notification_test.rb +72 -0
  29. data/test/unit/charge_and_ship_order_command_test.rb +69 -0
  30. data/test/unit/charge_fee_test.rb +53 -0
  31. data/test/unit/charge_order_command_test.rb +69 -0
  32. data/test/unit/chargeback_amount_notification_test.rb +69 -0
  33. data/test/unit/checkout_command_test.rb +149 -0
  34. data/test/unit/checkout_command_xml_generator_test.rb +216 -0
  35. data/test/unit/command_test.rb +116 -0
  36. data/test/unit/deliver_order_command_test.rb +65 -0
  37. data/test/unit/delivery_method_test.rb +42 -0
  38. data/test/unit/digital_content_test.rb +105 -0
  39. data/test/unit/flat_rate_shipping_test.rb +133 -0
  40. data/test/unit/frontend_test.rb +144 -0
  41. data/test/unit/item_info_test.rb +69 -0
  42. data/test/unit/item_test.rb +171 -0
  43. data/test/unit/marketing_preferences_test.rb +65 -0
  44. data/test/unit/merchant_calculated_shipping_test.rb +173 -0
  45. data/test/unit/merchant_calculation_callback_test.rb +137 -0
  46. data/test/unit/merchant_calculation_result_test.rb +78 -0
  47. data/test/unit/merchant_calculation_results_test.rb +203 -0
  48. data/test/unit/merchant_code_result_test.rb +51 -0
  49. data/test/unit/merchant_code_test.rb +122 -0
  50. data/test/unit/new_order_notification_test.rb +115 -0
  51. data/test/unit/notification_acknowledgement_test.rb +67 -0
  52. data/test/unit/notification_handler_test.rb +113 -0
  53. data/test/unit/order_adjustment_test.rb +119 -0
  54. data/test/unit/order_report_command_test.rb +109 -0
  55. data/test/unit/order_state_change_notification_test.rb +158 -0
  56. data/test/unit/parameterized_url_test.rb +57 -0
  57. data/test/unit/pickup_shipping_test.rb +70 -0
  58. data/test/unit/postal_area_test.rb +71 -0
  59. data/test/unit/private_data_parser_test.rb +68 -0
  60. data/test/unit/refund_amount_notification_test.rb +67 -0
  61. data/test/unit/refund_order_command_test.rb +79 -0
  62. data/test/unit/reset_items_shipping_information_command_test.rb +69 -0
  63. data/test/unit/return_items_command_test.rb +69 -0
  64. data/test/unit/risk_information_notification_test.rb +98 -0
  65. data/test/unit/send_buyer_message_command_test.rb +68 -0
  66. data/test/unit/ship_items_command_test.rb +81 -0
  67. data/test/unit/shipping_adjustment_test.rb +100 -0
  68. data/test/unit/shopping_cart_test.rb +146 -0
  69. data/test/unit/tax_rule_test.rb +70 -0
  70. data/test/unit/tax_table_test.rb +88 -0
  71. data/test/unit/tracking_data_test.rb +54 -0
  72. data/test/unit/unarchive_order_command_test.rb +63 -0
  73. data/test/unit/url_parameter_test.rb +55 -0
  74. data/test/unit/us_country_area_test.rb +76 -0
  75. data/test/unit/us_state_area_test.rb +70 -0
  76. data/test/unit/us_zip_area_test.rb +66 -0
  77. data/test/unit/world_area_test.rb +48 -0
  78. data/var/cacert.pem +7815 -0
  79. metadata +230 -0
metadata ADDED
@@ -0,0 +1,230 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: google4r-checkout-jn
3
+ version: !ruby/object:Gem::Version
4
+ hash: 1958209575
5
+ prerelease: true
6
+ segments:
7
+ - 1
8
+ - 1
9
+ - jniziol
10
+ version: 1.1.jniziol
11
+ platform: ruby
12
+ authors:
13
+ - Tony Chan
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-03-30 00:00:00 -05:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: money
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 2
32
+ - 3
33
+ - 0
34
+ version: 2.3.0
35
+ type: :runtime
36
+ version_requirements: *id001
37
+ description: Ruby library to access the Google Checkout service and implement notification handlers.
38
+ email:
39
+ executables: []
40
+
41
+ extensions: []
42
+
43
+ extra_rdoc_files:
44
+ - README.md
45
+ - LICENSE
46
+ - CHANGES
47
+ files:
48
+ - lib/google4r/checkout/commands.rb
49
+ - lib/google4r/checkout/frontend.rb
50
+ - lib/google4r/checkout/merchant_calculation.rb
51
+ - lib/google4r/checkout/notifications.rb
52
+ - lib/google4r/checkout/shared.rb
53
+ - lib/google4r/checkout/utils.rb
54
+ - lib/google4r/checkout/xml_generation.rb
55
+ - lib/google4r/checkout.rb
56
+ - var/cacert.pem
57
+ - test/integration/checkout_command_test.rb
58
+ - test/unit/add_merchant_order_number_command_test.rb
59
+ - test/unit/add_tracking_data_command_test.rb
60
+ - test/unit/address_test.rb
61
+ - test/unit/anonymous_address_test.rb
62
+ - test/unit/archive_order_command_test.rb
63
+ - test/unit/area_test.rb
64
+ - test/unit/authorization_amount_notification_test.rb
65
+ - test/unit/authorize_order_command_test.rb
66
+ - test/unit/backorder_items_command_test.rb
67
+ - test/unit/callback_handler_test.rb
68
+ - test/unit/cancel_items_command_test.rb
69
+ - test/unit/cancel_order_command_test.rb
70
+ - test/unit/carrier_calculated_shipping_test.rb
71
+ - test/unit/charge_amount_notification_test.rb
72
+ - test/unit/charge_and_ship_order_command_test.rb
73
+ - test/unit/charge_fee_test.rb
74
+ - test/unit/charge_order_command_test.rb
75
+ - test/unit/chargeback_amount_notification_test.rb
76
+ - test/unit/checkout_command_test.rb
77
+ - test/unit/checkout_command_xml_generator_test.rb
78
+ - test/unit/command_test.rb
79
+ - test/unit/deliver_order_command_test.rb
80
+ - test/unit/delivery_method_test.rb
81
+ - test/unit/digital_content_test.rb
82
+ - test/unit/flat_rate_shipping_test.rb
83
+ - test/unit/frontend_test.rb
84
+ - test/unit/item_info_test.rb
85
+ - test/unit/item_test.rb
86
+ - test/unit/marketing_preferences_test.rb
87
+ - test/unit/merchant_calculated_shipping_test.rb
88
+ - test/unit/merchant_calculation_callback_test.rb
89
+ - test/unit/merchant_calculation_result_test.rb
90
+ - test/unit/merchant_calculation_results_test.rb
91
+ - test/unit/merchant_code_result_test.rb
92
+ - test/unit/merchant_code_test.rb
93
+ - test/unit/new_order_notification_test.rb
94
+ - test/unit/notification_acknowledgement_test.rb
95
+ - test/unit/notification_handler_test.rb
96
+ - test/unit/order_adjustment_test.rb
97
+ - test/unit/order_report_command_test.rb
98
+ - test/unit/order_state_change_notification_test.rb
99
+ - test/unit/parameterized_url_test.rb
100
+ - test/unit/pickup_shipping_test.rb
101
+ - test/unit/postal_area_test.rb
102
+ - test/unit/private_data_parser_test.rb
103
+ - test/unit/refund_amount_notification_test.rb
104
+ - test/unit/refund_order_command_test.rb
105
+ - test/unit/reset_items_shipping_information_command_test.rb
106
+ - test/unit/return_items_command_test.rb
107
+ - test/unit/risk_information_notification_test.rb
108
+ - test/unit/send_buyer_message_command_test.rb
109
+ - test/unit/ship_items_command_test.rb
110
+ - test/unit/shipping_adjustment_test.rb
111
+ - test/unit/shopping_cart_test.rb
112
+ - test/unit/tax_rule_test.rb
113
+ - test/unit/tax_table_test.rb
114
+ - test/unit/tracking_data_test.rb
115
+ - test/unit/unarchive_order_command_test.rb
116
+ - test/unit/url_parameter_test.rb
117
+ - test/unit/us_country_area_test.rb
118
+ - test/unit/us_state_area_test.rb
119
+ - test/unit/us_zip_area_test.rb
120
+ - test/unit/world_area_test.rb
121
+ - test/test_helper.rb
122
+ - test/frontend_configuration_example.rb
123
+ - README.md
124
+ - LICENSE
125
+ - CHANGES
126
+ has_rdoc: true
127
+ homepage: http://code.google.com/p/google-checkout-ruby-sample-code
128
+ licenses: []
129
+
130
+ post_install_message:
131
+ rdoc_options: []
132
+
133
+ require_paths:
134
+ - lib
135
+ required_ruby_version: !ruby/object:Gem::Requirement
136
+ none: false
137
+ requirements:
138
+ - - ">="
139
+ - !ruby/object:Gem::Version
140
+ hash: 63
141
+ segments:
142
+ - 1
143
+ - 8
144
+ - 4
145
+ version: 1.8.4
146
+ required_rubygems_version: !ruby/object:Gem::Requirement
147
+ none: false
148
+ requirements:
149
+ - - ">"
150
+ - !ruby/object:Gem::Version
151
+ hash: 25
152
+ segments:
153
+ - 1
154
+ - 3
155
+ - 1
156
+ version: 1.3.1
157
+ requirements: []
158
+
159
+ rubyforge_project:
160
+ rubygems_version: 1.3.7
161
+ signing_key:
162
+ specification_version: 3
163
+ summary: Ruby library to access the Google Checkout service and implement notification handlers.
164
+ test_files:
165
+ - test/integration/checkout_command_test.rb
166
+ - test/unit/add_merchant_order_number_command_test.rb
167
+ - test/unit/add_tracking_data_command_test.rb
168
+ - test/unit/address_test.rb
169
+ - test/unit/anonymous_address_test.rb
170
+ - test/unit/archive_order_command_test.rb
171
+ - test/unit/area_test.rb
172
+ - test/unit/authorization_amount_notification_test.rb
173
+ - test/unit/authorize_order_command_test.rb
174
+ - test/unit/backorder_items_command_test.rb
175
+ - test/unit/callback_handler_test.rb
176
+ - test/unit/cancel_items_command_test.rb
177
+ - test/unit/cancel_order_command_test.rb
178
+ - test/unit/carrier_calculated_shipping_test.rb
179
+ - test/unit/charge_amount_notification_test.rb
180
+ - test/unit/charge_and_ship_order_command_test.rb
181
+ - test/unit/charge_fee_test.rb
182
+ - test/unit/charge_order_command_test.rb
183
+ - test/unit/chargeback_amount_notification_test.rb
184
+ - test/unit/checkout_command_test.rb
185
+ - test/unit/checkout_command_xml_generator_test.rb
186
+ - test/unit/command_test.rb
187
+ - test/unit/deliver_order_command_test.rb
188
+ - test/unit/delivery_method_test.rb
189
+ - test/unit/digital_content_test.rb
190
+ - test/unit/flat_rate_shipping_test.rb
191
+ - test/unit/frontend_test.rb
192
+ - test/unit/item_info_test.rb
193
+ - test/unit/item_test.rb
194
+ - test/unit/marketing_preferences_test.rb
195
+ - test/unit/merchant_calculated_shipping_test.rb
196
+ - test/unit/merchant_calculation_callback_test.rb
197
+ - test/unit/merchant_calculation_result_test.rb
198
+ - test/unit/merchant_calculation_results_test.rb
199
+ - test/unit/merchant_code_result_test.rb
200
+ - test/unit/merchant_code_test.rb
201
+ - test/unit/new_order_notification_test.rb
202
+ - test/unit/notification_acknowledgement_test.rb
203
+ - test/unit/notification_handler_test.rb
204
+ - test/unit/order_adjustment_test.rb
205
+ - test/unit/order_report_command_test.rb
206
+ - test/unit/order_state_change_notification_test.rb
207
+ - test/unit/parameterized_url_test.rb
208
+ - test/unit/pickup_shipping_test.rb
209
+ - test/unit/postal_area_test.rb
210
+ - test/unit/private_data_parser_test.rb
211
+ - test/unit/refund_amount_notification_test.rb
212
+ - test/unit/refund_order_command_test.rb
213
+ - test/unit/reset_items_shipping_information_command_test.rb
214
+ - test/unit/return_items_command_test.rb
215
+ - test/unit/risk_information_notification_test.rb
216
+ - test/unit/send_buyer_message_command_test.rb
217
+ - test/unit/ship_items_command_test.rb
218
+ - test/unit/shipping_adjustment_test.rb
219
+ - test/unit/shopping_cart_test.rb
220
+ - test/unit/tax_rule_test.rb
221
+ - test/unit/tax_table_test.rb
222
+ - test/unit/tracking_data_test.rb
223
+ - test/unit/unarchive_order_command_test.rb
224
+ - test/unit/url_parameter_test.rb
225
+ - test/unit/us_country_area_test.rb
226
+ - test/unit/us_state_area_test.rb
227
+ - test/unit/us_zip_area_test.rb
228
+ - test/unit/world_area_test.rb
229
+ - test/test_helper.rb
230
+ - test/frontend_configuration_example.rb