exact4r 0.9.3 → 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.
Files changed (62) hide show
  1. data/CHANGELOG +3 -0
  2. data/README +0 -11
  3. data/Rakefile +38 -6
  4. data/VERSION +1 -1
  5. data/lib/ews/transaction/request.rb +4 -0
  6. data/lib/ews/transaction/validator.rb +2 -0
  7. data/lib/ews/transporter.rb +4 -2
  8. data/test/credentials.rb +62 -0
  9. data/test/credentials.yml +53 -0
  10. data/test/exhaustive/batch_query_close_test.rb +193 -0
  11. data/test/exhaustive/forced_post_test.rb +3 -3
  12. data/test/exhaustive/online_debit_purchase_test.rb +9 -5
  13. data/test/exhaustive/online_debit_refund_test.rb +9 -5
  14. data/test/exhaustive/pre_auth_completion_test.rb +3 -3
  15. data/test/exhaustive/pre_auth_only_test.rb +9 -3
  16. data/test/exhaustive/pre_auth_test.rb +3 -3
  17. data/test/exhaustive/purchase_correction_test.rb +13 -7
  18. data/test/exhaustive/purchase_test.rb +3 -3
  19. data/test/exhaustive/recurring_seed_pre_auth_test.rb +3 -3
  20. data/test/exhaustive/recurring_seed_purchase_test.rb +3 -3
  21. data/test/exhaustive/refund_correction_test.rb +12 -6
  22. data/test/exhaustive/refund_test.rb +3 -3
  23. data/test/exhaustive/secure_storage_test.rb +3 -3
  24. data/test/exhaustive/tagged_online_debit_refund_test.rb +64 -37
  25. data/test/exhaustive/tagged_pre_auth_completion_test.rb +8 -8
  26. data/test/exhaustive/tagged_pre_auth_test.rb +8 -8
  27. data/test/exhaustive/tagged_purchase_test.rb +8 -8
  28. data/test/exhaustive/tagged_refund_test.rb +9 -9
  29. data/test/exhaustive/tagged_void_test.rb +24 -10
  30. data/test/exhaustive/transaction_details_test.rb +8 -6
  31. data/test/exhaustive/void_test.rb +9 -3
  32. data/test/general/avs_test.rb +7 -7
  33. data/test/general/request_test.rb +20 -37
  34. data/test/general/transporter_test.rb +6 -6
  35. data/test/general/validator_test.rb +2 -2
  36. data/test/test_helper.rb +8 -18
  37. metadata +5 -27
  38. data/doc/classes/EWS/Transaction/FakeResponse.html +0 -451
  39. data/doc/classes/EWS/Transaction/Request.html +0 -469
  40. data/doc/classes/EWS/Transaction/Response.html +0 -472
  41. data/doc/classes/EWS/Transaction/Validator.html +0 -182
  42. data/doc/classes/EWS/Transporter.html +0 -269
  43. data/doc/classes/REXML/Document.html +0 -176
  44. data/doc/classes/REXML/Entity.html +0 -150
  45. data/doc/classes/REXML.html +0 -112
  46. data/doc/created.rid +0 -1
  47. data/doc/files/CHANGELOG.html +0 -156
  48. data/doc/files/LICENCE.html +0 -109
  49. data/doc/files/README.html +0 -371
  50. data/doc/files/VERSION.html +0 -107
  51. data/doc/files/lib/ews/transaction/fake_response_rb.html +0 -101
  52. data/doc/files/lib/ews/transaction/mapping_rb.html +0 -108
  53. data/doc/files/lib/ews/transaction/request_rb.html +0 -108
  54. data/doc/files/lib/ews/transaction/response_rb.html +0 -101
  55. data/doc/files/lib/ews/transaction/validator_rb.html +0 -101
  56. data/doc/files/lib/ews/transporter_rb.html +0 -108
  57. data/doc/files/lib/exact4r_rb.html +0 -117
  58. data/doc/fr_class_index.html +0 -34
  59. data/doc/fr_file_index.html +0 -37
  60. data/doc/fr_method_index.html +0 -48
  61. data/doc/index.html +0 -24
  62. data/doc/rdoc-style.css +0 -208
@@ -1,112 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Module: REXML</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Module</strong></td>
53
- <td class="class-name-in-header">REXML</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../files/lib/exact4r_rb.html">
59
- lib/exact4r.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- </table>
66
- </div>
67
- <!-- banner header -->
68
-
69
- <div id="bodyContent">
70
-
71
-
72
-
73
- <div id="contextContent">
74
-
75
-
76
-
77
- </div>
78
-
79
-
80
- </div>
81
-
82
-
83
- <!-- if includes -->
84
-
85
- <div id="section">
86
-
87
- <div id="class-list">
88
- <h3 class="section-bar">Classes and Modules</h3>
89
-
90
- Class <a href="REXML/Document.html" class="link">REXML::Document</a><br />
91
- Class <a href="REXML/Entity.html" class="link">REXML::Entity</a><br />
92
-
93
- </div>
94
-
95
-
96
-
97
-
98
-
99
-
100
-
101
- <!-- if method_list -->
102
-
103
-
104
- </div>
105
-
106
-
107
- <div id="validator-badges">
108
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
109
- </div>
110
-
111
- </body>
112
- </html>
data/doc/created.rid DELETED
@@ -1 +0,0 @@
1
- Tue, 15 Sep 2009 16:10:10 +1000
@@ -1,156 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>File: CHANGELOG</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="fileHeader">
50
- <h1>CHANGELOG</h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>Path:</strong></td>
54
- <td>CHANGELOG
55
- </td>
56
- </tr>
57
- <tr class="top-aligned-row">
58
- <td><strong>Last Update:</strong></td>
59
- <td>Tue Sep 15 15:56:11 +1000 2009</td>
60
- </tr>
61
- </table>
62
- </div>
63
- <!-- banner header -->
64
-
65
- <div id="bodyContent">
66
-
67
-
68
-
69
- <div id="contextContent">
70
-
71
- <div id="description">
72
- <h2>v0.9.2</h2>
73
- <pre>
74
- Converted tests to Test::Unit
75
- Added complete test suite, testing all transaction types.
76
- Enhanced validation of mandatory request information.
77
- </pre>
78
- <h2>v0.9.1</h2>
79
- <pre>
80
- Added unified Address Verification API
81
- </pre>
82
- <h2>v0.9</h2>
83
- <pre>
84
- Fixed incorrect decoding of boolean attributes from SOAP response
85
- </pre>
86
- <h2>v0.8</h2>
87
- <pre>
88
- Added User-Agent string to HTTP requests
89
- </pre>
90
- <h2>v0.7</h2>
91
- <pre>
92
- Updated with latest certificates for api.e-xact.com
93
- Fixed SOAP namespace issue
94
- Ensured expiry_date always submitted at MMYY
95
- </pre>
96
- <h2>v0.6</h2>
97
- <pre>
98
- Added client-side request validation
99
- </pre>
100
- <h2>v0.5.3</h2>
101
- <pre>
102
- Added fake response messages for testing purposes
103
- Moved EWS::Transaction::Transporter to EWS::Transporter
104
- Fixed typos
105
- </pre>
106
- <h2>v0.5.2</h2>
107
- <pre>
108
- Updated Transporter to play nicely with mod_security
109
- Stripped trailing '/'s from URLs
110
- Transporter ow re-uses connection
111
- Updated RDoc with test login details
112
- </pre>
113
- <h2>v0.5.1</h2>
114
- <pre>
115
- Added CHANGELOG, LICENCE &amp; VERSION
116
- Ensured README etc. were included in gem and displayed as default in RDoc
117
- Renamed send() to submit() in Transporter
118
- Fixed path to default E-xact certificates
119
- </pre>
120
- <h2>v0.5</h2>
121
- <pre>
122
- Initial Release
123
- </pre>
124
-
125
- </div>
126
-
127
-
128
- </div>
129
-
130
-
131
- </div>
132
-
133
-
134
- <!-- if includes -->
135
-
136
- <div id="section">
137
-
138
-
139
-
140
-
141
-
142
-
143
-
144
-
145
- <!-- if method_list -->
146
-
147
-
148
- </div>
149
-
150
-
151
- <div id="validator-badges">
152
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
153
- </div>
154
-
155
- </body>
156
- </html>
@@ -1,109 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>File: LICENCE</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="fileHeader">
50
- <h1>LICENCE</h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>Path:</strong></td>
54
- <td>LICENCE
55
- </td>
56
- </tr>
57
- <tr class="top-aligned-row">
58
- <td><strong>Last Update:</strong></td>
59
- <td>Tue Sep 15 15:52:11 +1000 2009</td>
60
- </tr>
61
- </table>
62
- </div>
63
- <!-- banner header -->
64
-
65
- <div id="bodyContent">
66
-
67
-
68
-
69
- <div id="contextContent">
70
-
71
- <div id="description">
72
- <h1>Licence Terms</h1>
73
- <p>
74
- Distributed under the Ruby software <a
75
- href="http://www.ruby-lang.org/en/LICENSE.txt">licence</a>
76
- </p>
77
-
78
- </div>
79
-
80
-
81
- </div>
82
-
83
-
84
- </div>
85
-
86
-
87
- <!-- if includes -->
88
-
89
- <div id="section">
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
- <!-- if method_list -->
99
-
100
-
101
- </div>
102
-
103
-
104
- <div id="validator-badges">
105
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
106
- </div>
107
-
108
- </body>
109
- </html>