LitleOnline 8.10.1 → 8.10.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/Rakefile +2 -3
- data/bin/Setup.rb +0 -2
- data/index.html +0 -0
- data/index.html.1 +0 -0
- data/lib/LitleOnline.rb +0 -1
- data/test/certification/certTest1_base.rb +8 -8
- metadata +86 -77
data/README.md
CHANGED
@@ -66,4 +66,4 @@ puts "Litle Transaction ID: "+ response.saleResponse.litleTxnId
|
|
66
66
|
Litle Transaction ID: <your-numeric-litle-txn-id>
|
67
67
|
|
68
68
|
|
69
|
-
Please contact Lilte & Co. with any further questions. You can reach us at
|
69
|
+
Please contact Lilte & Co. with any further questions. You can reach us at sdksupport@litle.com.
|
data/Rakefile
CHANGED
@@ -34,19 +34,18 @@ spec = Gem::Specification.new do |s|
|
|
34
34
|
s.description = File.read(File.join(File.dirname(__FILE__), 'DESCRIPTION'))
|
35
35
|
s.requirements =
|
36
36
|
[ 'Contact sdksupport@litle.com for more information' ]
|
37
|
-
s.version = "8.10.
|
37
|
+
s.version = "8.10.3"
|
38
38
|
s.author = "Litle & Co"
|
39
39
|
s.email = "sdksupport@litle.com"
|
40
40
|
s.homepage = "http://www.litle.com/developers"
|
41
41
|
s.platform = Gem::Platform::RUBY
|
42
|
-
s.required_ruby_version = '>=1.
|
42
|
+
s.required_ruby_version = '>=1.8.6'
|
43
43
|
s.files = Dir['**/**']
|
44
44
|
s.executables = [ 'sample_driver.rb', 'Setup.rb' ]
|
45
45
|
s.test_files = Dir["test/unit/ts_unit.rb"]
|
46
46
|
s.has_rdoc = true
|
47
47
|
s.add_dependency('i18n')
|
48
48
|
s.add_dependency('xml-simple')
|
49
|
-
s.add_dependency('activesupport')
|
50
49
|
s.add_dependency('xml-object')
|
51
50
|
s.add_development_dependency('mocha')
|
52
51
|
end
|
data/bin/Setup.rb
CHANGED
@@ -70,8 +70,6 @@ class Setup
|
|
70
70
|
return 'https://precert.litle.com/' + litle_online_ctx
|
71
71
|
elsif litle_env == "production1\n"
|
72
72
|
return 'https://payments.litle.com/' + litle_online_ctx
|
73
|
-
elsif litle_env == "production2\n"
|
74
|
-
return 'https://payments2.litle.com/' + litle_online_ctx
|
75
73
|
else
|
76
74
|
return 'https://www.testlitle.com/sandbox/communicator/online'
|
77
75
|
end
|
data/index.html
CHANGED
File without changes
|
data/index.html.1
CHANGED
File without changes
|
data/lib/LitleOnline.rb
CHANGED
@@ -59,7 +59,7 @@ class Litle_certTest < Test::Unit::TestCase
|
|
59
59
|
def test_1_AVS
|
60
60
|
customer_hash = {
|
61
61
|
'orderId' => '1',
|
62
|
-
'amount' => '
|
62
|
+
'amount' => '0',
|
63
63
|
'orderSource'=>'ecommerce',
|
64
64
|
'billToAddress'=>{
|
65
65
|
'name' => 'John Smith',
|
@@ -178,7 +178,7 @@ class Litle_certTest < Test::Unit::TestCase
|
|
178
178
|
def test_2_avs
|
179
179
|
customer_hash = {
|
180
180
|
'orderId' => '2',
|
181
|
-
'amount' => '
|
181
|
+
'amount' => '0',
|
182
182
|
'orderSource'=>'ecommerce',
|
183
183
|
'billToAddress'=>{
|
184
184
|
'name' => 'Mike J. Hammer',
|
@@ -300,7 +300,7 @@ class Litle_certTest < Test::Unit::TestCase
|
|
300
300
|
def test_3_avs
|
301
301
|
customer_hash = {
|
302
302
|
'orderId' => '3',
|
303
|
-
'amount' => '
|
303
|
+
'amount' => '0',
|
304
304
|
'orderSource'=>'ecommerce',
|
305
305
|
'billToAddress'=>{
|
306
306
|
'name' => 'Eileen Jones',
|
@@ -414,7 +414,7 @@ class Litle_certTest < Test::Unit::TestCase
|
|
414
414
|
def test_4_avs
|
415
415
|
customer_hash = {
|
416
416
|
'orderId' => '4',
|
417
|
-
'amount' => '
|
417
|
+
'amount' => '0',
|
418
418
|
'orderSource'=>'ecommerce',
|
419
419
|
'billToAddress'=>{
|
420
420
|
'name' => 'Bob Black',
|
@@ -522,7 +522,7 @@ class Litle_certTest < Test::Unit::TestCase
|
|
522
522
|
def test_5_avs
|
523
523
|
customer_hash = {
|
524
524
|
'orderId' => '5',
|
525
|
-
'amount' => '
|
525
|
+
'amount' => '0',
|
526
526
|
'orderSource'=>'ecommerce',
|
527
527
|
'card'=>{
|
528
528
|
'number' =>'4457010200000007',
|
@@ -663,7 +663,7 @@ class Litle_certTest < Test::Unit::TestCase
|
|
663
663
|
def test_7_avs
|
664
664
|
customer_hash = {
|
665
665
|
'orderId' => '7',
|
666
|
-
'amount' => '
|
666
|
+
'amount' => '0',
|
667
667
|
'orderSource'=>'ecommerce',
|
668
668
|
'billToAddress'=>{
|
669
669
|
'name' => 'Jane Murray',
|
@@ -741,7 +741,7 @@ class Litle_certTest < Test::Unit::TestCase
|
|
741
741
|
def test_8_avs
|
742
742
|
customer_hash = {
|
743
743
|
'orderId' => '8',
|
744
|
-
'amount' => '
|
744
|
+
'amount' => '0',
|
745
745
|
'orderSource'=>'ecommerce',
|
746
746
|
'billToAddress'=>{
|
747
747
|
'name' => 'Mark Johnson',
|
@@ -819,7 +819,7 @@ class Litle_certTest < Test::Unit::TestCase
|
|
819
819
|
def test_9_avs
|
820
820
|
customer_hash = {
|
821
821
|
'orderId' => '9',
|
822
|
-
'amount' => '
|
822
|
+
'amount' => '0',
|
823
823
|
'orderSource'=>'ecommerce',
|
824
824
|
'billToAddress'=>{
|
825
825
|
'name' => 'James Miller',
|
metadata
CHANGED
@@ -1,88 +1,89 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: LitleOnline
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 8
|
7
|
+
- 10
|
8
|
+
- 3
|
9
|
+
version: 8.10.3
|
6
10
|
platform: ruby
|
7
|
-
authors:
|
11
|
+
authors:
|
8
12
|
- Litle & Co
|
9
13
|
autorequire:
|
10
14
|
bindir: bin
|
11
15
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
16
|
+
|
17
|
+
date: 2012-04-16 00:00:00 -04:00
|
18
|
+
default_executable:
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
15
21
|
name: i18n
|
16
|
-
requirement: &44929660 !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ! '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '0'
|
22
|
-
type: :runtime
|
23
22
|
prerelease: false
|
24
|
-
|
25
|
-
- !ruby/object:Gem::Dependency
|
26
|
-
name: xml-simple
|
27
|
-
requirement: &44928980 !ruby/object:Gem::Requirement
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
28
24
|
none: false
|
29
|
-
requirements:
|
30
|
-
- -
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
segments:
|
29
|
+
- 0
|
30
|
+
version: "0"
|
33
31
|
type: :runtime
|
32
|
+
version_requirements: *id001
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: xml-simple
|
34
35
|
prerelease: false
|
35
|
-
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: activesupport
|
38
|
-
requirement: &44928220 !ruby/object:Gem::Requirement
|
36
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
39
37
|
none: false
|
40
|
-
requirements:
|
41
|
-
- -
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
segments:
|
42
|
+
- 0
|
43
|
+
version: "0"
|
44
44
|
type: :runtime
|
45
|
-
|
46
|
-
|
47
|
-
- !ruby/object:Gem::Dependency
|
45
|
+
version_requirements: *id002
|
46
|
+
- !ruby/object:Gem::Dependency
|
48
47
|
name: xml-object
|
49
|
-
|
48
|
+
prerelease: false
|
49
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
|
-
requirements:
|
52
|
-
- -
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
segments:
|
55
|
+
- 0
|
56
|
+
version: "0"
|
55
57
|
type: :runtime
|
56
|
-
|
57
|
-
|
58
|
-
- !ruby/object:Gem::Dependency
|
58
|
+
version_requirements: *id003
|
59
|
+
- !ruby/object:Gem::Dependency
|
59
60
|
name: mocha
|
60
|
-
|
61
|
+
prerelease: false
|
62
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
61
63
|
none: false
|
62
|
-
requirements:
|
63
|
-
- -
|
64
|
-
- !ruby/object:Gem::Version
|
65
|
-
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
segments:
|
68
|
+
- 0
|
69
|
+
version: "0"
|
66
70
|
type: :development
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
by Litle & Co.
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
'
|
71
|
+
version_requirements: *id004
|
72
|
+
description: |+
|
73
|
+
Litle Online Ruby SDK created for version 8.10 of Litle XML online format, see the XSD schema for specific fields that are supported by this format.
|
74
|
+
|
75
|
+
This gem contains an application interface in the Ruby programming language created by Litle & Co.
|
76
|
+
|
77
|
+
|
79
78
|
email: sdksupport@litle.com
|
80
|
-
executables:
|
79
|
+
executables:
|
81
80
|
- sample_driver.rb
|
82
81
|
- Setup.rb
|
83
82
|
extensions: []
|
83
|
+
|
84
84
|
extra_rdoc_files: []
|
85
|
-
|
85
|
+
|
86
|
+
files:
|
86
87
|
- README.md
|
87
88
|
- Rakefile
|
88
89
|
- index.html.1
|
@@ -136,31 +137,39 @@ files:
|
|
136
137
|
- test/certification/certTest2_authenhanced.rb
|
137
138
|
- test/certification/certTest5_token.rb
|
138
139
|
- LICENSE
|
140
|
+
has_rdoc: true
|
139
141
|
homepage: http://www.litle.com/developers
|
140
142
|
licenses: []
|
143
|
+
|
141
144
|
post_install_message:
|
142
145
|
rdoc_options: []
|
143
|
-
|
146
|
+
|
147
|
+
require_paths:
|
144
148
|
- lib
|
145
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
149
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
146
150
|
none: false
|
147
|
-
requirements:
|
148
|
-
- -
|
149
|
-
- !ruby/object:Gem::Version
|
150
|
-
|
151
|
-
|
151
|
+
requirements:
|
152
|
+
- - ">="
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
segments:
|
155
|
+
- 1
|
156
|
+
- 8
|
157
|
+
- 6
|
158
|
+
version: 1.8.6
|
159
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
152
160
|
none: false
|
153
|
-
requirements:
|
154
|
-
- -
|
155
|
-
- !ruby/object:Gem::Version
|
156
|
-
|
157
|
-
|
161
|
+
requirements:
|
162
|
+
- - ">="
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
segments:
|
165
|
+
- 0
|
166
|
+
version: "0"
|
167
|
+
requirements:
|
158
168
|
- Contact sdksupport@litle.com for more information
|
159
169
|
rubyforge_project:
|
160
|
-
rubygems_version: 1.
|
170
|
+
rubygems_version: 1.3.7
|
161
171
|
signing_key:
|
162
172
|
specification_version: 3
|
163
|
-
summary: Ruby SDK produced by Litle & Co. for online transaction processing using
|
164
|
-
|
165
|
-
test_files:
|
173
|
+
summary: Ruby SDK produced by Litle & Co. for online transaction processing using Litle XML format v8.10
|
174
|
+
test_files:
|
166
175
|
- test/unit/ts_unit.rb
|