topfunky-google-checkout 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. data/History.txt +14 -0
  2. data/MIT-LICENSE.txt +23 -0
  3. data/Manifest.txt +40 -0
  4. data/README.txt +139 -0
  5. data/Rakefile +21 -0
  6. data/examples/google_notifications_controller.rb +159 -0
  7. data/lib/duck_punches/hpricot.rb +24 -0
  8. data/lib/google-checkout.rb +61 -0
  9. data/lib/google-checkout/cart.rb +349 -0
  10. data/lib/google-checkout/command.rb +191 -0
  11. data/lib/google-checkout/notification.rb +212 -0
  12. data/spec/fixtures/google/checkout-shopping-cart.xml +22 -0
  13. data/spec/fixtures/google/commands/add-merchant-order-number.xml +5 -0
  14. data/spec/fixtures/google/commands/add-tracking-data.xml +8 -0
  15. data/spec/fixtures/google/commands/archive-order.xml +3 -0
  16. data/spec/fixtures/google/commands/authorize-order.xml +2 -0
  17. data/spec/fixtures/google/commands/cancel-order.xml +5 -0
  18. data/spec/fixtures/google/commands/charge-order.xml +4 -0
  19. data/spec/fixtures/google/commands/deliver-order.xml +9 -0
  20. data/spec/fixtures/google/commands/process-order.xml +2 -0
  21. data/spec/fixtures/google/commands/refund-order.xml +6 -0
  22. data/spec/fixtures/google/commands/send-buyer-message.xml +7 -0
  23. data/spec/fixtures/google/commands/unarchive-order.xml +2 -0
  24. data/spec/fixtures/google/notifications/authorization-amount-notification.xml +10 -0
  25. data/spec/fixtures/google/notifications/charge-amount-notification.xml +8 -0
  26. data/spec/fixtures/google/notifications/chargeback-amount-notification.xml +8 -0
  27. data/spec/fixtures/google/notifications/new-order-notification.xml +85 -0
  28. data/spec/fixtures/google/notifications/order-state-change-notification.xml +11 -0
  29. data/spec/fixtures/google/notifications/refund-amount-notification.xml +8 -0
  30. data/spec/fixtures/google/notifications/risk-information-notification.xml +23 -0
  31. data/spec/fixtures/google/responses/checkout-redirect.xml +5 -0
  32. data/spec/fixtures/google/responses/error.xml +5 -0
  33. data/spec/fixtures/google/responses/request-received.xml +3 -0
  34. data/spec/google-checkout/cart_spec.rb +101 -0
  35. data/spec/google-checkout/command_spec.rb +131 -0
  36. data/spec/google-checkout/notification_spec.rb +175 -0
  37. data/spec/google-checkout/response_spec.rb +49 -0
  38. data/spec/google-checkout_spec.rb +15 -0
  39. data/spec/spec_helper.rb +47 -0
  40. data/support/cacert.pem +7815 -0
  41. metadata +114 -0
metadata ADDED
@@ -0,0 +1,114 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: topfunky-google-checkout
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
+ platform: ruby
6
+ authors:
7
+ - Peter Elmore
8
+ - Geoffrey Grosenbach
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2008-07-31 00:00:00 -07:00
14
+ default_executable:
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: ruby-hmac
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: "0"
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: hoe
27
+ version_requirement:
28
+ version_requirements: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 1.5.3
33
+ version:
34
+ description: "== DESCRIPTION: Experimental library for working with GoogleCheckout. Currently in use for payment at http://peepcode.com."
35
+ email: boss@topfunky.com
36
+ executables: []
37
+
38
+ extensions: []
39
+
40
+ extra_rdoc_files:
41
+ - History.txt
42
+ - Manifest.txt
43
+ - README.txt
44
+ - MIT-LICENSE.txt
45
+ files:
46
+ - History.txt
47
+ - Manifest.txt
48
+ - README.txt
49
+ - Rakefile
50
+ - lib/duck_punches/hpricot.rb
51
+ - lib/google-checkout.rb
52
+ - lib/google-checkout/cart.rb
53
+ - lib/google-checkout/command.rb
54
+ - lib/google-checkout/notification.rb
55
+ - spec/fixtures/google/checkout-shopping-cart.xml
56
+ - spec/fixtures/google/commands/add-merchant-order-number.xml
57
+ - spec/fixtures/google/commands/add-tracking-data.xml
58
+ - spec/fixtures/google/commands/archive-order.xml
59
+ - spec/fixtures/google/commands/authorize-order.xml
60
+ - spec/fixtures/google/commands/cancel-order.xml
61
+ - spec/fixtures/google/commands/charge-order.xml
62
+ - spec/fixtures/google/commands/deliver-order.xml
63
+ - spec/fixtures/google/commands/process-order.xml
64
+ - spec/fixtures/google/commands/refund-order.xml
65
+ - spec/fixtures/google/commands/send-buyer-message.xml
66
+ - spec/fixtures/google/commands/unarchive-order.xml
67
+ - spec/fixtures/google/notifications/authorization-amount-notification.xml
68
+ - spec/fixtures/google/notifications/charge-amount-notification.xml
69
+ - spec/fixtures/google/notifications/chargeback-amount-notification.xml
70
+ - spec/fixtures/google/notifications/new-order-notification.xml
71
+ - spec/fixtures/google/notifications/order-state-change-notification.xml
72
+ - spec/fixtures/google/notifications/refund-amount-notification.xml
73
+ - spec/fixtures/google/notifications/risk-information-notification.xml
74
+ - spec/fixtures/google/responses/checkout-redirect.xml
75
+ - spec/fixtures/google/responses/error.xml
76
+ - spec/fixtures/google/responses/request-received.xml
77
+ - spec/google-checkout/cart_spec.rb
78
+ - spec/google-checkout/command_spec.rb
79
+ - spec/google-checkout/notification_spec.rb
80
+ - spec/google-checkout/response_spec.rb
81
+ - spec/google-checkout_spec.rb
82
+ - spec/spec_helper.rb
83
+ - support/cacert.pem
84
+ - examples/google_notifications_controller.rb
85
+ - MIT-LICENSE.txt
86
+ has_rdoc: true
87
+ homepage: http://rubyforge.org/projects/google-checkout
88
+ post_install_message:
89
+ rdoc_options:
90
+ - --main
91
+ - README.txt
92
+ require_paths:
93
+ - lib
94
+ required_ruby_version: !ruby/object:Gem::Requirement
95
+ requirements:
96
+ - - ">="
97
+ - !ruby/object:Gem::Version
98
+ version: "0"
99
+ version:
100
+ required_rubygems_version: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: "0"
105
+ version:
106
+ requirements: []
107
+
108
+ rubyforge_project: google-checkout
109
+ rubygems_version: 1.2.0
110
+ signing_key:
111
+ specification_version: 2
112
+ summary: An experimental library for sending payment requests to Google Checkout.
113
+ test_files: []
114
+