CnpOnline 12.1.1 → 12.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -245,7 +245,7 @@ module CnpOnline
245
245
  hash={
246
246
  'cnpTxnId' => '006'
247
247
  }
248
- CnpXmlMapper.expects(:request).with(regexp_matches(/<cnpOnlineRequest.*version="12\.1".*/m), is_a(Hash))
248
+ CnpXmlMapper.expects(:request).with(regexp_matches(/<cnpOnlineRequest.*version="12\.3".*/m), is_a(Hash))
249
249
  response = CnpOnlineRequest.new.void(hash)
250
250
  end
251
251
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: CnpOnline
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.1.1
4
+ version: 12.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vantiv - eCommerce
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-05 00:00:00.000000000 Z
11
+ date: 2018-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xml-object
@@ -122,13 +122,11 @@ extensions: []
122
122
  extra_rdoc_files: []
123
123
  files:
124
124
  - CHANGELOG
125
- - CHANGELOG~
126
125
  - CONTRIBUTORS
127
126
  - DESCRIPTION
128
127
  - LICENSE
129
128
  - README.md
130
129
  - Rakefile
131
- - Rakefile~
132
130
  - SETUP.md
133
131
  - bin/Setup.rb
134
132
  - bin/sample_batch_driver.rb
@@ -190,6 +188,7 @@ files:
190
188
  - test/functional/test_echeckSale.rb
191
189
  - test/functional/test_echeckVerification.rb
192
190
  - test/functional/test_echeckVoid.rb
191
+ - test/functional/test_fastAccessFunding.rb
193
192
  - test/functional/test_forceCapture.rb
194
193
  - test/functional/test_fraudCheck.rb
195
194
  - test/functional/test_giftCardAuthReversal.rb
@@ -204,6 +203,7 @@ files:
204
203
  - test/functional/test_refundReversal.rb
205
204
  - test/functional/test_sale.rb
206
205
  - test/functional/test_token.rb
206
+ - test/functional/test_translateToken.rb
207
207
  - test/functional/test_unload.rb
208
208
  - test/functional/test_unloadReversal.rb
209
209
  - test/functional/test_updateCardValidationNumOnToken.rb
@@ -280,6 +280,6 @@ rubygems_version: 2.7.6
280
280
  signing_key:
281
281
  specification_version: 4
282
282
  summary: Ruby SDK produced by Vantiv eCommerce for transaction processing using Vantiv
283
- eCommerce XML format v12.0
283
+ eCommerce XML format v12.3
284
284
  test_files:
285
285
  - test/unit/ts_unit.rb
data/CHANGELOG~ DELETED
@@ -1,5 +0,0 @@
1
- ==Version 12.1.0 (March 28, 2018)
2
- *Feature: Added FastAcessFunding support
3
-
4
- ==Version 12.0.1 (March 16, 2017)
5
- *Feature: Added PGP encryption/decryption support in batches
data/Rakefile~ DELETED
@@ -1,90 +0,0 @@
1
- # Copyright (c) 2017 Vantiv eCommerce.
2
- #
3
- # Permission is hereby granted, free of charge, to any person
4
- # obtaining a copy of this software and associated documentation
5
- # files (the "Software"), to deal in the Software without
6
- # restriction, including without limitation the rights to use,
7
- # copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- # copies of the Software, and to permit persons to whom the
9
- # Software is furnished to do so, subject to the following
10
- # conditions:
11
- #
12
- # The above copyright notice and this permission notice shall be
13
- # included in all copies or substantial portions of the Software.
14
- #
15
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
- # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17
- # OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
- # NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19
- # HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20
- # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
- # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
- # OTHER DEALINGS IN THE SOFTWARE.
23
- require 'rubygems'
24
- require 'rubygems/package_task'
25
- require 'rake/testtask'
26
- require 'rake/clean'
27
-
28
- spec = Gem::Specification.new do |s|
29
- FileUtils.rm_rf('pkg')
30
- s.name = 'CnpOnline'
31
- s.summary = 'Ruby SDK produced by Vantiv eCommerce for transaction processing using Vantiv eCommerce XML format v12.0'
32
- s.description = File.read(File.join(File.dirname(__FILE__), 'DESCRIPTION'))
33
- s.requirements =
34
- ['Contact sdksupport@vantiv.com for more information']
35
- s.version = '12.1.0'
36
- s.author = 'Vantiv - eCommerce'
37
- s.email = 'sdksupport@vantiv.com'
38
- s.homepage = 'https://developer.vantiv.com/community/ecommerce/pages/sdks#jive_content_id_Ruby_SDK'
39
- s.platform = Gem::Platform::RUBY
40
- s.required_ruby_version = '>=2.2.0'
41
- s.files = Dir['**/**']
42
- s.executables = ['sample_driver.rb', 'Setup.rb']
43
- s.test_files = Dir['test/unit/ts_unit.rb']
44
- s.has_rdoc = true
45
- s.add_dependency('xml-object')
46
- s.add_dependency('xml-mapping')
47
- s.add_dependency('net-sftp')
48
- s.add_dependency('libxml-ruby')
49
- s.add_dependency('crack')
50
- s.add_dependency('iostreams')
51
- s.add_development_dependency('mocha')
52
- end
53
-
54
- Gem::PackageTask.new(spec) do |pkg|
55
- pkg.gem_spec = spec
56
- pkg.need_zip = true
57
- pkg.need_tar = true
58
- end
59
-
60
- namespace :test do
61
- Rake::TestTask.new do |t|
62
- t.libs << '.'
63
- t.name = 'unit'
64
- t.test_files = FileList['test/unit/ts_unit.rb']
65
- t.verbose = true
66
- end
67
-
68
- Rake::TestTask.new do |t|
69
- t.libs << '.'
70
- t.name = 'functional'
71
- t.test_files = FileList['test/functional/ts_all.rb']
72
- t.verbose = true
73
- end
74
-
75
- Rake::TestTask.new do |t|
76
- t.libs << '.'
77
- t.name = 'certification'
78
- t.test_files = FileList['test/certification/certTest*.rb']
79
- t.verbose = true
80
- end
81
-
82
- Rake::TestTask.new do |t|
83
- t.libs << '.'
84
- t.name = 'all'
85
- t.test_files = FileList['test/**/*.rb']
86
- t.verbose = true
87
- end
88
- end
89
-
90
- task default: 'gem'