vaulted_billing 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. data/LICENSE +19 -0
  2. data/lib/vaulted_billing/gateways/bogus.rb +2 -0
  3. data/lib/vaulted_billing/version.rb +1 -1
  4. data/spec/certification/ipcommerce/README.md +9 -0
  5. data/spec/certification/ipcommerce/TODO.md +1 -0
  6. data/spec/certification/ipcommerce/host_capture_ecommerce.rb +318 -0
  7. data/spec/certification/ipcommerce/ipcommerce_transaction.rb +28 -0
  8. data/spec/certification/ipcommerce/terminal_capture_ecommerce.rb +298 -0
  9. data/spec/config.example.yml +18 -0
  10. data/spec/factories/credit_cards.rb +38 -0
  11. data/spec/factories/customers.rb +7 -0
  12. data/spec/factories/sequences.rb +22 -0
  13. data/spec/fixtures/net/authorize_net_cim/add_customer/failure.yml +38 -0
  14. data/spec/fixtures/net/authorize_net_cim/add_customer/success.yml +39 -0
  15. data/spec/fixtures/net/authorize_net_cim/add_customer_credit_card/failure.yml +83 -0
  16. data/spec/fixtures/net/authorize_net_cim/add_customer_credit_card/success.yml +81 -0
  17. data/spec/fixtures/net/authorize_net_cim/authorize/failure.yml +121 -0
  18. data/spec/fixtures/net/authorize_net_cim/authorize/success.yml +121 -0
  19. data/spec/fixtures/net/authorize_net_cim/capture/failure.yml +161 -0
  20. data/spec/fixtures/net/authorize_net_cim/capture/success.yml +160 -0
  21. data/spec/fixtures/net/authorize_net_cim/purchase/failure.yml +122 -0
  22. data/spec/fixtures/net/authorize_net_cim/purchase/success.yml +122 -0
  23. data/spec/fixtures/net/authorize_net_cim/refund/failure.yml +123 -0
  24. data/spec/fixtures/net/authorize_net_cim/refund/failure_2.yml +43 -0
  25. data/spec/fixtures/net/authorize_net_cim/remove_customer/failure.yml +76 -0
  26. data/spec/fixtures/net/authorize_net_cim/remove_customer/success.yml +75 -0
  27. data/spec/fixtures/net/authorize_net_cim/remove_customer_credit_card/failure.yml +156 -0
  28. data/spec/fixtures/net/authorize_net_cim/remove_customer_credit_card/success.yml +118 -0
  29. data/spec/fixtures/net/authorize_net_cim/update_customer/failure.yml +77 -0
  30. data/spec/fixtures/net/authorize_net_cim/update_customer/success.yml +76 -0
  31. data/spec/fixtures/net/authorize_net_cim/update_customer_credit_card/failure.yml +125 -0
  32. data/spec/fixtures/net/authorize_net_cim/update_customer_credit_card/success.yml +124 -0
  33. data/spec/fixtures/net/authorize_net_cim/void/success.yml +159 -0
  34. data/spec/fixtures/net/ipcommerce/add_customer_credit_card/failure.yml +53 -0
  35. data/spec/fixtures/net/ipcommerce/add_customer_credit_card/success.yml +103 -0
  36. data/spec/fixtures/net/ipcommerce/authorize/existing/failure.yml +51 -0
  37. data/spec/fixtures/net/ipcommerce/authorize/existing/success.yml +105 -0
  38. data/spec/fixtures/net/ipcommerce/authorize/new/avs/bad_format.yml +53 -0
  39. data/spec/fixtures/net/ipcommerce/authorize/new/avs/issuer_not_certified.yml +53 -0
  40. data/spec/fixtures/net/ipcommerce/authorize/new/avs/match.yml +53 -0
  41. data/spec/fixtures/net/ipcommerce/authorize/new/avs/no_match.yml +53 -0
  42. data/spec/fixtures/net/ipcommerce/authorize/new/avs/no_response_from_card_association.yml +53 -0
  43. data/spec/fixtures/net/ipcommerce/authorize/new/avs/not_included.yml +53 -0
  44. data/spec/fixtures/net/ipcommerce/authorize/new/avs/not_sent.yml +53 -0
  45. data/spec/fixtures/net/ipcommerce/authorize/new/avs/not_verified.yml +53 -0
  46. data/spec/fixtures/net/ipcommerce/authorize/new/cvv/invalid.yml +53 -0
  47. data/spec/fixtures/net/ipcommerce/authorize/new/cvv/issuer_not_certified.yml +53 -0
  48. data/spec/fixtures/net/ipcommerce/authorize/new/cvv/no_code_present.yml +53 -0
  49. data/spec/fixtures/net/ipcommerce/authorize/new/cvv/no_match.yml +53 -0
  50. data/spec/fixtures/net/ipcommerce/authorize/new/cvv/no_response.yml +53 -0
  51. data/spec/fixtures/net/ipcommerce/authorize/new/cvv/not_applicable.yml +53 -0
  52. data/spec/fixtures/net/ipcommerce/authorize/new/cvv/not_processed.yml +53 -0
  53. data/spec/fixtures/net/ipcommerce/authorize/new/cvv/should_have_been_present.yml +53 -0
  54. data/spec/fixtures/net/ipcommerce/authorize/new/failure.yml +53 -0
  55. data/spec/fixtures/net/ipcommerce/authorize/new/success.yml +53 -0
  56. data/spec/fixtures/net/ipcommerce/capture/failure.yml +78 -0
  57. data/spec/fixtures/net/ipcommerce/capture/invalid.yml +78 -0
  58. data/spec/fixtures/net/ipcommerce/capture/success.yml +78 -0
  59. data/spec/fixtures/net/ipcommerce/failover.yml +53 -0
  60. data/spec/fixtures/net/ipcommerce/purchase/existing/failure.yml +51 -0
  61. data/spec/fixtures/net/ipcommerce/purchase/existing/success.yml +105 -0
  62. data/spec/fixtures/net/ipcommerce/purchase/new/failure.yml +53 -0
  63. data/spec/fixtures/net/ipcommerce/purchase/new/success.yml +53 -0
  64. data/spec/fixtures/net/ipcommerce/refund/failure.yml +78 -0
  65. data/spec/fixtures/net/ipcommerce/refund/success.yml +80 -0
  66. data/spec/fixtures/net/ipcommerce/update_customer_credit_card/failure.yml +53 -0
  67. data/spec/fixtures/net/ipcommerce/update_customer_credit_card/success.yml +103 -0
  68. data/spec/fixtures/net/ipcommerce/void/failure.yml +78 -0
  69. data/spec/fixtures/net/ipcommerce/void/success.yml +78 -0
  70. data/spec/fixtures/net/nmi_customer_vault/add_customer_credit_card/failure.yml +26 -0
  71. data/spec/fixtures/net/nmi_customer_vault/add_customer_credit_card/success.yml +26 -0
  72. data/spec/fixtures/net/nmi_customer_vault/authorize/decline.yml +51 -0
  73. data/spec/fixtures/net/nmi_customer_vault/authorize/success.yml +51 -0
  74. data/spec/fixtures/net/nmi_customer_vault/capture/failure.yml +76 -0
  75. data/spec/fixtures/net/nmi_customer_vault/capture/success.yml +76 -0
  76. data/spec/fixtures/net/nmi_customer_vault/purchase/decline.yml +51 -0
  77. data/spec/fixtures/net/nmi_customer_vault/purchase/success.yml +51 -0
  78. data/spec/fixtures/net/nmi_customer_vault/refund/failure.yml +101 -0
  79. data/spec/fixtures/net/nmi_customer_vault/remove_customer_credit_card/failure.yml +26 -0
  80. data/spec/fixtures/net/nmi_customer_vault/remove_customer_credit_card/success.yml +51 -0
  81. data/spec/fixtures/net/nmi_customer_vault/update_customer_credit_card/success.yml +51 -0
  82. data/spec/fixtures/net/nmi_customer_vault/void/failure.yml +26 -0
  83. data/spec/fixtures/net/nmi_customer_vault/void/success.yml +76 -0
  84. data/spec/models/vaulted_billing/configuration_spec.rb +62 -0
  85. data/spec/models/vaulted_billing/core_ext/hash_spec.rb +47 -0
  86. data/spec/models/vaulted_billing/credit_card_spec.rb +61 -0
  87. data/spec/models/vaulted_billing/gateway_spec.rb +115 -0
  88. data/spec/models/vaulted_billing/http_spec.rb +154 -0
  89. data/spec/models/vaulted_billing/transaction_spec.rb +60 -0
  90. data/spec/models/vaulted_billing_spec.rb +16 -0
  91. data/spec/requests/authorize_net_cim_spec.rb +506 -0
  92. data/spec/requests/bogus_spec.rb +144 -0
  93. data/spec/requests/ipcommerce_spec.rb +518 -0
  94. data/spec/requests/nmi_customer_vault_spec.rb +390 -0
  95. data/spec/spec_helper.rb +12 -0
  96. data/spec/support/_vaulted_billing.rb +8 -0
  97. data/spec/support/factory_girl.rb +5 -0
  98. data/spec/support/faker.rb +1 -0
  99. data/spec/support/helpers.rb +46 -0
  100. data/spec/support/logging.rb +2 -0
  101. data/spec/support/test_exception.rb +1 -0
  102. data/spec/support/vcr.rb +49 -0
  103. data/spec/support/webmock.rb +7 -0
  104. metadata +312 -37
@@ -0,0 +1,2 @@
1
+ # VaultedBilling.logger = Logger.new(STDOUT)
2
+ # VaultedBilling.logger.level = Logger::INFO
@@ -0,0 +1 @@
1
+ class TestException < RuntimeError; end
@@ -0,0 +1,49 @@
1
+ require 'vcr'
2
+ require 'cgi'
3
+
4
+ VCR.config do |config|
5
+ config.cassette_library_dir = File.expand_path('../../fixtures/net', __FILE__)
6
+ config.stub_with :webmock
7
+ config.ignore_localhost = true
8
+ config.default_cassette_options = { :record => :none }
9
+ config.filter_sensitive_data('%{NMI_CUSTOMER_VAULT_USERNAME}') { VaultedBilling.config.nmi_customer_vault.username }
10
+ config.filter_sensitive_data('%{NMI_CUSTOMER_VAULT_PASSWORD}') { VaultedBilling.config.nmi_customer_vault.password }
11
+ config.filter_sensitive_data('%{AUTHORIZE_NET_CIM_USERNAME}') { VaultedBilling.config.authorize_net_cim.username }
12
+ config.filter_sensitive_data('%{AUTHORIZE_NET_CIM_PASSWORD}') { VaultedBilling.config.authorize_net_cim.username }
13
+ config.filter_sensitive_data('%{IPCOMMERCE_USERNAME}') { VaultedBilling.config.ipcommerce.username }
14
+ config.filter_sensitive_data('%{IPCOMMERCE_ESCAPED_USERNAME}') { CGI.escape(VaultedBilling.config.ipcommerce.username) }
15
+ end
16
+
17
+ module VCRHelpers
18
+ module InstanceMethods
19
+ def current_description
20
+ "#{self.class.description} #{description}"
21
+ end
22
+
23
+ def use_cached_requests(options={}, &block)
24
+ scope = options.delete(:scope) || current_description
25
+
26
+ if mode = options.delete(:record)
27
+ mode_alises = { :new => :new_episodes }
28
+ options[:record] = mode_alises[mode] || mode
29
+ end
30
+
31
+ VCR.use_cassette(scope, options, &block)
32
+ end
33
+ end
34
+
35
+ module ClassMethods
36
+ def request_exception_context(description = 'with a connection exception', exception = Timeout::Error, &block)
37
+ context(description) do
38
+ before(:each) { WebMock.stub_request(:any, //).to_raise(exception) }
39
+ context(&block)
40
+ end
41
+ end
42
+ end
43
+ end
44
+
45
+ RSpec.configure do |config|
46
+ config.extend VCR::RSpec::Macros
47
+ config.include VCRHelpers::InstanceMethods
48
+ config.extend VCRHelpers::ClassMethods
49
+ end
@@ -0,0 +1,7 @@
1
+ require 'webmock/rspec'
2
+
3
+ WebMock.disable_net_connect!(:allow_localhost => true)
4
+
5
+ RSpec.configure do |config|
6
+ config.include(WebMock::API)
7
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vaulted_billing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-29 00:00:00.000000000Z
12
+ date: 2012-10-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
16
- requirement: &2164300100 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: '2.3'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2164300100
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '2.3'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: builder
27
- requirement: &2164299500 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,10 +37,15 @@ dependencies:
32
37
  version: 2.1.2
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *2164299500
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: 2.1.2
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: multi_json
38
- requirement: &2164298840 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ~>
@@ -43,10 +53,15 @@ dependencies:
43
53
  version: '1.0'
44
54
  type: :runtime
45
55
  prerelease: false
46
- version_requirements: *2164298840
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '1.0'
47
62
  - !ruby/object:Gem::Dependency
48
63
  name: multi_xml
49
- requirement: &2164298320 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
50
65
  none: false
51
66
  requirements:
52
67
  - - ~>
@@ -54,10 +69,15 @@ dependencies:
54
69
  version: 0.3.0
55
70
  type: :runtime
56
71
  prerelease: false
57
- version_requirements: *2164298320
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 0.3.0
58
78
  - !ruby/object:Gem::Dependency
59
79
  name: countries
60
- requirement: &2164297860 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
61
81
  none: false
62
82
  requirements:
63
83
  - - ! '>='
@@ -65,10 +85,15 @@ dependencies:
65
85
  version: '0'
66
86
  type: :runtime
67
87
  prerelease: false
68
- version_requirements: *2164297860
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
69
94
  - !ruby/object:Gem::Dependency
70
95
  name: rspec
71
- requirement: &2164297060 !ruby/object:Gem::Requirement
96
+ requirement: !ruby/object:Gem::Requirement
72
97
  none: false
73
98
  requirements:
74
99
  - - ~>
@@ -76,10 +101,15 @@ dependencies:
76
101
  version: '2.4'
77
102
  type: :development
78
103
  prerelease: false
79
- version_requirements: *2164297060
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ version: '2.4'
80
110
  - !ruby/object:Gem::Dependency
81
111
  name: vcr
82
- requirement: &2164296480 !ruby/object:Gem::Requirement
112
+ requirement: !ruby/object:Gem::Requirement
83
113
  none: false
84
114
  requirements:
85
115
  - - ~>
@@ -87,10 +117,15 @@ dependencies:
87
117
  version: '1.7'
88
118
  type: :development
89
119
  prerelease: false
90
- version_requirements: *2164296480
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ~>
124
+ - !ruby/object:Gem::Version
125
+ version: '1.7'
91
126
  - !ruby/object:Gem::Dependency
92
127
  name: webmock
93
- requirement: &2164295860 !ruby/object:Gem::Requirement
128
+ requirement: !ruby/object:Gem::Requirement
94
129
  none: false
95
130
  requirements:
96
131
  - - ~>
@@ -98,10 +133,15 @@ dependencies:
98
133
  version: '1.6'
99
134
  type: :development
100
135
  prerelease: false
101
- version_requirements: *2164295860
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ~>
140
+ - !ruby/object:Gem::Version
141
+ version: '1.6'
102
142
  - !ruby/object:Gem::Dependency
103
143
  name: factory_girl
104
- requirement: &2164295140 !ruby/object:Gem::Requirement
144
+ requirement: !ruby/object:Gem::Requirement
105
145
  none: false
106
146
  requirements:
107
147
  - - ~>
@@ -109,10 +149,15 @@ dependencies:
109
149
  version: '1.3'
110
150
  type: :development
111
151
  prerelease: false
112
- version_requirements: *2164295140
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ~>
156
+ - !ruby/object:Gem::Version
157
+ version: '1.3'
113
158
  - !ruby/object:Gem::Dependency
114
159
  name: faker
115
- requirement: &2164294360 !ruby/object:Gem::Requirement
160
+ requirement: !ruby/object:Gem::Requirement
116
161
  none: false
117
162
  requirements:
118
163
  - - ~>
@@ -120,10 +165,15 @@ dependencies:
120
165
  version: '0.9'
121
166
  type: :development
122
167
  prerelease: false
123
- version_requirements: *2164294360
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
170
+ requirements:
171
+ - - ~>
172
+ - !ruby/object:Gem::Version
173
+ version: '0.9'
124
174
  - !ruby/object:Gem::Dependency
125
175
  name: rake
126
- requirement: &2164293580 !ruby/object:Gem::Requirement
176
+ requirement: !ruby/object:Gem::Requirement
127
177
  none: false
128
178
  requirements:
129
179
  - - ~>
@@ -131,10 +181,15 @@ dependencies:
131
181
  version: '0.9'
132
182
  type: :development
133
183
  prerelease: false
134
- version_requirements: *2164293580
184
+ version_requirements: !ruby/object:Gem::Requirement
185
+ none: false
186
+ requirements:
187
+ - - ~>
188
+ - !ruby/object:Gem::Version
189
+ version: '0.9'
135
190
  - !ruby/object:Gem::Dependency
136
191
  name: watchr
137
- requirement: &2164292940 !ruby/object:Gem::Requirement
192
+ requirement: !ruby/object:Gem::Requirement
138
193
  none: false
139
194
  requirements:
140
195
  - - ! '>='
@@ -142,10 +197,15 @@ dependencies:
142
197
  version: '0'
143
198
  type: :development
144
199
  prerelease: false
145
- version_requirements: *2164292940
200
+ version_requirements: !ruby/object:Gem::Requirement
201
+ none: false
202
+ requirements:
203
+ - - ! '>='
204
+ - !ruby/object:Gem::Version
205
+ version: '0'
146
206
  - !ruby/object:Gem::Dependency
147
207
  name: open4
148
- requirement: &2164292340 !ruby/object:Gem::Requirement
208
+ requirement: !ruby/object:Gem::Requirement
149
209
  none: false
150
210
  requirements:
151
211
  - - ! '>='
@@ -153,10 +213,15 @@ dependencies:
153
213
  version: '0'
154
214
  type: :development
155
215
  prerelease: false
156
- version_requirements: *2164292340
216
+ version_requirements: !ruby/object:Gem::Requirement
217
+ none: false
218
+ requirements:
219
+ - - ! '>='
220
+ - !ruby/object:Gem::Version
221
+ version: '0'
157
222
  - !ruby/object:Gem::Dependency
158
223
  name: appraisal
159
- requirement: &2164291700 !ruby/object:Gem::Requirement
224
+ requirement: !ruby/object:Gem::Requirement
160
225
  none: false
161
226
  requirements:
162
227
  - - ! '>='
@@ -164,7 +229,12 @@ dependencies:
164
229
  version: '0'
165
230
  type: :development
166
231
  prerelease: false
167
- version_requirements: *2164291700
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ none: false
234
+ requirements:
235
+ - - ! '>='
236
+ - !ruby/object:Gem::Version
237
+ version: '0'
168
238
  description: Several card processors and gateways support offloading the storage of
169
239
  credit card information onto their service. This offloads PCI compliance to the
170
240
  gateway rather than keeping it with each retailer. This library abstracts the interface
@@ -176,6 +246,7 @@ extensions: []
176
246
  extra_rdoc_files: []
177
247
  files:
178
248
  - lib/ext/cacert.pem
249
+ - lib/vaulted_billing.rb
179
250
  - lib/vaulted_billing/chainable_hash.rb
180
251
  - lib/vaulted_billing/configuration.rb
181
252
  - lib/vaulted_billing/core_ext/hash.rb
@@ -183,19 +254,120 @@ files:
183
254
  - lib/vaulted_billing/customer.rb
184
255
  - lib/vaulted_billing/errors.rb
185
256
  - lib/vaulted_billing/gateway.rb
257
+ - lib/vaulted_billing/gateways.rb
186
258
  - lib/vaulted_billing/gateways/authorize_net_cim.rb
187
- - lib/vaulted_billing/gateways/bogus/failure.rb
188
259
  - lib/vaulted_billing/gateways/bogus.rb
260
+ - lib/vaulted_billing/gateways/bogus/failure.rb
189
261
  - lib/vaulted_billing/gateways/ipcommerce.rb
190
262
  - lib/vaulted_billing/gateways/nmi_customer_vault.rb
191
- - lib/vaulted_billing/gateways.rb
192
263
  - lib/vaulted_billing/http.rb
193
264
  - lib/vaulted_billing/transaction.rb
194
265
  - lib/vaulted_billing/version.rb
195
- - lib/vaulted_billing.rb
196
266
  - README.md
197
- homepage: http://github.com/envylabs/vaulted_billing
198
- licenses: []
267
+ - LICENSE
268
+ - spec/certification/ipcommerce/README.md
269
+ - spec/certification/ipcommerce/TODO.md
270
+ - spec/certification/ipcommerce/host_capture_ecommerce.rb
271
+ - spec/certification/ipcommerce/ipcommerce_transaction.rb
272
+ - spec/certification/ipcommerce/terminal_capture_ecommerce.rb
273
+ - spec/config.example.yml
274
+ - spec/factories/credit_cards.rb
275
+ - spec/factories/customers.rb
276
+ - spec/factories/sequences.rb
277
+ - spec/fixtures/net/authorize_net_cim/add_customer/failure.yml
278
+ - spec/fixtures/net/authorize_net_cim/add_customer/success.yml
279
+ - spec/fixtures/net/authorize_net_cim/add_customer_credit_card/failure.yml
280
+ - spec/fixtures/net/authorize_net_cim/add_customer_credit_card/success.yml
281
+ - spec/fixtures/net/authorize_net_cim/authorize/failure.yml
282
+ - spec/fixtures/net/authorize_net_cim/authorize/success.yml
283
+ - spec/fixtures/net/authorize_net_cim/capture/failure.yml
284
+ - spec/fixtures/net/authorize_net_cim/capture/success.yml
285
+ - spec/fixtures/net/authorize_net_cim/purchase/failure.yml
286
+ - spec/fixtures/net/authorize_net_cim/purchase/success.yml
287
+ - spec/fixtures/net/authorize_net_cim/refund/failure.yml
288
+ - spec/fixtures/net/authorize_net_cim/refund/failure_2.yml
289
+ - spec/fixtures/net/authorize_net_cim/remove_customer/failure.yml
290
+ - spec/fixtures/net/authorize_net_cim/remove_customer/success.yml
291
+ - spec/fixtures/net/authorize_net_cim/remove_customer_credit_card/failure.yml
292
+ - spec/fixtures/net/authorize_net_cim/remove_customer_credit_card/success.yml
293
+ - spec/fixtures/net/authorize_net_cim/update_customer/failure.yml
294
+ - spec/fixtures/net/authorize_net_cim/update_customer/success.yml
295
+ - spec/fixtures/net/authorize_net_cim/update_customer_credit_card/failure.yml
296
+ - spec/fixtures/net/authorize_net_cim/update_customer_credit_card/success.yml
297
+ - spec/fixtures/net/authorize_net_cim/void/success.yml
298
+ - spec/fixtures/net/ipcommerce/add_customer_credit_card/failure.yml
299
+ - spec/fixtures/net/ipcommerce/add_customer_credit_card/success.yml
300
+ - spec/fixtures/net/ipcommerce/authorize/existing/failure.yml
301
+ - spec/fixtures/net/ipcommerce/authorize/existing/success.yml
302
+ - spec/fixtures/net/ipcommerce/authorize/new/avs/bad_format.yml
303
+ - spec/fixtures/net/ipcommerce/authorize/new/avs/issuer_not_certified.yml
304
+ - spec/fixtures/net/ipcommerce/authorize/new/avs/match.yml
305
+ - spec/fixtures/net/ipcommerce/authorize/new/avs/no_match.yml
306
+ - spec/fixtures/net/ipcommerce/authorize/new/avs/no_response_from_card_association.yml
307
+ - spec/fixtures/net/ipcommerce/authorize/new/avs/not_included.yml
308
+ - spec/fixtures/net/ipcommerce/authorize/new/avs/not_sent.yml
309
+ - spec/fixtures/net/ipcommerce/authorize/new/avs/not_verified.yml
310
+ - spec/fixtures/net/ipcommerce/authorize/new/cvv/invalid.yml
311
+ - spec/fixtures/net/ipcommerce/authorize/new/cvv/issuer_not_certified.yml
312
+ - spec/fixtures/net/ipcommerce/authorize/new/cvv/no_code_present.yml
313
+ - spec/fixtures/net/ipcommerce/authorize/new/cvv/no_match.yml
314
+ - spec/fixtures/net/ipcommerce/authorize/new/cvv/no_response.yml
315
+ - spec/fixtures/net/ipcommerce/authorize/new/cvv/not_applicable.yml
316
+ - spec/fixtures/net/ipcommerce/authorize/new/cvv/not_processed.yml
317
+ - spec/fixtures/net/ipcommerce/authorize/new/cvv/should_have_been_present.yml
318
+ - spec/fixtures/net/ipcommerce/authorize/new/failure.yml
319
+ - spec/fixtures/net/ipcommerce/authorize/new/success.yml
320
+ - spec/fixtures/net/ipcommerce/capture/failure.yml
321
+ - spec/fixtures/net/ipcommerce/capture/invalid.yml
322
+ - spec/fixtures/net/ipcommerce/capture/success.yml
323
+ - spec/fixtures/net/ipcommerce/failover.yml
324
+ - spec/fixtures/net/ipcommerce/purchase/existing/failure.yml
325
+ - spec/fixtures/net/ipcommerce/purchase/existing/success.yml
326
+ - spec/fixtures/net/ipcommerce/purchase/new/failure.yml
327
+ - spec/fixtures/net/ipcommerce/purchase/new/success.yml
328
+ - spec/fixtures/net/ipcommerce/refund/failure.yml
329
+ - spec/fixtures/net/ipcommerce/refund/success.yml
330
+ - spec/fixtures/net/ipcommerce/update_customer_credit_card/failure.yml
331
+ - spec/fixtures/net/ipcommerce/update_customer_credit_card/success.yml
332
+ - spec/fixtures/net/ipcommerce/void/failure.yml
333
+ - spec/fixtures/net/ipcommerce/void/success.yml
334
+ - spec/fixtures/net/nmi_customer_vault/add_customer_credit_card/failure.yml
335
+ - spec/fixtures/net/nmi_customer_vault/add_customer_credit_card/success.yml
336
+ - spec/fixtures/net/nmi_customer_vault/authorize/decline.yml
337
+ - spec/fixtures/net/nmi_customer_vault/authorize/success.yml
338
+ - spec/fixtures/net/nmi_customer_vault/capture/failure.yml
339
+ - spec/fixtures/net/nmi_customer_vault/capture/success.yml
340
+ - spec/fixtures/net/nmi_customer_vault/purchase/decline.yml
341
+ - spec/fixtures/net/nmi_customer_vault/purchase/success.yml
342
+ - spec/fixtures/net/nmi_customer_vault/refund/failure.yml
343
+ - spec/fixtures/net/nmi_customer_vault/remove_customer_credit_card/failure.yml
344
+ - spec/fixtures/net/nmi_customer_vault/remove_customer_credit_card/success.yml
345
+ - spec/fixtures/net/nmi_customer_vault/update_customer_credit_card/success.yml
346
+ - spec/fixtures/net/nmi_customer_vault/void/failure.yml
347
+ - spec/fixtures/net/nmi_customer_vault/void/success.yml
348
+ - spec/models/vaulted_billing/configuration_spec.rb
349
+ - spec/models/vaulted_billing/core_ext/hash_spec.rb
350
+ - spec/models/vaulted_billing/credit_card_spec.rb
351
+ - spec/models/vaulted_billing/gateway_spec.rb
352
+ - spec/models/vaulted_billing/http_spec.rb
353
+ - spec/models/vaulted_billing/transaction_spec.rb
354
+ - spec/models/vaulted_billing_spec.rb
355
+ - spec/requests/authorize_net_cim_spec.rb
356
+ - spec/requests/bogus_spec.rb
357
+ - spec/requests/ipcommerce_spec.rb
358
+ - spec/requests/nmi_customer_vault_spec.rb
359
+ - spec/spec_helper.rb
360
+ - spec/support/_vaulted_billing.rb
361
+ - spec/support/factory_girl.rb
362
+ - spec/support/faker.rb
363
+ - spec/support/helpers.rb
364
+ - spec/support/logging.rb
365
+ - spec/support/test_exception.rb
366
+ - spec/support/vcr.rb
367
+ - spec/support/webmock.rb
368
+ homepage: https://github.com/envylabs/vaulted_billing
369
+ licenses:
370
+ - MIT
199
371
  post_install_message:
200
372
  rdoc_options: []
201
373
  require_paths:
@@ -206,6 +378,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
206
378
  - - ! '>='
207
379
  - !ruby/object:Gem::Version
208
380
  version: '0'
381
+ segments:
382
+ - 0
383
+ hash: -1987462503895402885
209
384
  required_rubygems_version: !ruby/object:Gem::Requirement
210
385
  none: false
211
386
  requirements:
@@ -214,8 +389,108 @@ required_rubygems_version: !ruby/object:Gem::Requirement
214
389
  version: 1.3.6
215
390
  requirements: []
216
391
  rubyforge_project:
217
- rubygems_version: 1.8.10
392
+ rubygems_version: 1.8.24
218
393
  signing_key:
219
394
  specification_version: 3
220
395
  summary: A library for working with credit card storage gateways
221
- test_files: []
396
+ test_files:
397
+ - spec/certification/ipcommerce/README.md
398
+ - spec/certification/ipcommerce/TODO.md
399
+ - spec/certification/ipcommerce/host_capture_ecommerce.rb
400
+ - spec/certification/ipcommerce/ipcommerce_transaction.rb
401
+ - spec/certification/ipcommerce/terminal_capture_ecommerce.rb
402
+ - spec/config.example.yml
403
+ - spec/factories/credit_cards.rb
404
+ - spec/factories/customers.rb
405
+ - spec/factories/sequences.rb
406
+ - spec/fixtures/net/authorize_net_cim/add_customer/failure.yml
407
+ - spec/fixtures/net/authorize_net_cim/add_customer/success.yml
408
+ - spec/fixtures/net/authorize_net_cim/add_customer_credit_card/failure.yml
409
+ - spec/fixtures/net/authorize_net_cim/add_customer_credit_card/success.yml
410
+ - spec/fixtures/net/authorize_net_cim/authorize/failure.yml
411
+ - spec/fixtures/net/authorize_net_cim/authorize/success.yml
412
+ - spec/fixtures/net/authorize_net_cim/capture/failure.yml
413
+ - spec/fixtures/net/authorize_net_cim/capture/success.yml
414
+ - spec/fixtures/net/authorize_net_cim/purchase/failure.yml
415
+ - spec/fixtures/net/authorize_net_cim/purchase/success.yml
416
+ - spec/fixtures/net/authorize_net_cim/refund/failure.yml
417
+ - spec/fixtures/net/authorize_net_cim/refund/failure_2.yml
418
+ - spec/fixtures/net/authorize_net_cim/remove_customer/failure.yml
419
+ - spec/fixtures/net/authorize_net_cim/remove_customer/success.yml
420
+ - spec/fixtures/net/authorize_net_cim/remove_customer_credit_card/failure.yml
421
+ - spec/fixtures/net/authorize_net_cim/remove_customer_credit_card/success.yml
422
+ - spec/fixtures/net/authorize_net_cim/update_customer/failure.yml
423
+ - spec/fixtures/net/authorize_net_cim/update_customer/success.yml
424
+ - spec/fixtures/net/authorize_net_cim/update_customer_credit_card/failure.yml
425
+ - spec/fixtures/net/authorize_net_cim/update_customer_credit_card/success.yml
426
+ - spec/fixtures/net/authorize_net_cim/void/success.yml
427
+ - spec/fixtures/net/ipcommerce/add_customer_credit_card/failure.yml
428
+ - spec/fixtures/net/ipcommerce/add_customer_credit_card/success.yml
429
+ - spec/fixtures/net/ipcommerce/authorize/existing/failure.yml
430
+ - spec/fixtures/net/ipcommerce/authorize/existing/success.yml
431
+ - spec/fixtures/net/ipcommerce/authorize/new/avs/bad_format.yml
432
+ - spec/fixtures/net/ipcommerce/authorize/new/avs/issuer_not_certified.yml
433
+ - spec/fixtures/net/ipcommerce/authorize/new/avs/match.yml
434
+ - spec/fixtures/net/ipcommerce/authorize/new/avs/no_match.yml
435
+ - spec/fixtures/net/ipcommerce/authorize/new/avs/no_response_from_card_association.yml
436
+ - spec/fixtures/net/ipcommerce/authorize/new/avs/not_included.yml
437
+ - spec/fixtures/net/ipcommerce/authorize/new/avs/not_sent.yml
438
+ - spec/fixtures/net/ipcommerce/authorize/new/avs/not_verified.yml
439
+ - spec/fixtures/net/ipcommerce/authorize/new/cvv/invalid.yml
440
+ - spec/fixtures/net/ipcommerce/authorize/new/cvv/issuer_not_certified.yml
441
+ - spec/fixtures/net/ipcommerce/authorize/new/cvv/no_code_present.yml
442
+ - spec/fixtures/net/ipcommerce/authorize/new/cvv/no_match.yml
443
+ - spec/fixtures/net/ipcommerce/authorize/new/cvv/no_response.yml
444
+ - spec/fixtures/net/ipcommerce/authorize/new/cvv/not_applicable.yml
445
+ - spec/fixtures/net/ipcommerce/authorize/new/cvv/not_processed.yml
446
+ - spec/fixtures/net/ipcommerce/authorize/new/cvv/should_have_been_present.yml
447
+ - spec/fixtures/net/ipcommerce/authorize/new/failure.yml
448
+ - spec/fixtures/net/ipcommerce/authorize/new/success.yml
449
+ - spec/fixtures/net/ipcommerce/capture/failure.yml
450
+ - spec/fixtures/net/ipcommerce/capture/invalid.yml
451
+ - spec/fixtures/net/ipcommerce/capture/success.yml
452
+ - spec/fixtures/net/ipcommerce/failover.yml
453
+ - spec/fixtures/net/ipcommerce/purchase/existing/failure.yml
454
+ - spec/fixtures/net/ipcommerce/purchase/existing/success.yml
455
+ - spec/fixtures/net/ipcommerce/purchase/new/failure.yml
456
+ - spec/fixtures/net/ipcommerce/purchase/new/success.yml
457
+ - spec/fixtures/net/ipcommerce/refund/failure.yml
458
+ - spec/fixtures/net/ipcommerce/refund/success.yml
459
+ - spec/fixtures/net/ipcommerce/update_customer_credit_card/failure.yml
460
+ - spec/fixtures/net/ipcommerce/update_customer_credit_card/success.yml
461
+ - spec/fixtures/net/ipcommerce/void/failure.yml
462
+ - spec/fixtures/net/ipcommerce/void/success.yml
463
+ - spec/fixtures/net/nmi_customer_vault/add_customer_credit_card/failure.yml
464
+ - spec/fixtures/net/nmi_customer_vault/add_customer_credit_card/success.yml
465
+ - spec/fixtures/net/nmi_customer_vault/authorize/decline.yml
466
+ - spec/fixtures/net/nmi_customer_vault/authorize/success.yml
467
+ - spec/fixtures/net/nmi_customer_vault/capture/failure.yml
468
+ - spec/fixtures/net/nmi_customer_vault/capture/success.yml
469
+ - spec/fixtures/net/nmi_customer_vault/purchase/decline.yml
470
+ - spec/fixtures/net/nmi_customer_vault/purchase/success.yml
471
+ - spec/fixtures/net/nmi_customer_vault/refund/failure.yml
472
+ - spec/fixtures/net/nmi_customer_vault/remove_customer_credit_card/failure.yml
473
+ - spec/fixtures/net/nmi_customer_vault/remove_customer_credit_card/success.yml
474
+ - spec/fixtures/net/nmi_customer_vault/update_customer_credit_card/success.yml
475
+ - spec/fixtures/net/nmi_customer_vault/void/failure.yml
476
+ - spec/fixtures/net/nmi_customer_vault/void/success.yml
477
+ - spec/models/vaulted_billing/configuration_spec.rb
478
+ - spec/models/vaulted_billing/core_ext/hash_spec.rb
479
+ - spec/models/vaulted_billing/credit_card_spec.rb
480
+ - spec/models/vaulted_billing/gateway_spec.rb
481
+ - spec/models/vaulted_billing/http_spec.rb
482
+ - spec/models/vaulted_billing/transaction_spec.rb
483
+ - spec/models/vaulted_billing_spec.rb
484
+ - spec/requests/authorize_net_cim_spec.rb
485
+ - spec/requests/bogus_spec.rb
486
+ - spec/requests/ipcommerce_spec.rb
487
+ - spec/requests/nmi_customer_vault_spec.rb
488
+ - spec/spec_helper.rb
489
+ - spec/support/_vaulted_billing.rb
490
+ - spec/support/factory_girl.rb
491
+ - spec/support/faker.rb
492
+ - spec/support/helpers.rb
493
+ - spec/support/logging.rb
494
+ - spec/support/test_exception.rb
495
+ - spec/support/vcr.rb
496
+ - spec/support/webmock.rb