safecharge 0.0.7 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/safecharge/request.rb +5 -1
- data/lib/safecharge/version.rb +1 -1
- data/lib/safecharge/wc_request.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4634d2cecb4bfea0d75f98f6167994e70cb975d4
|
4
|
+
data.tar.gz: aa4622300f63fe838b977afce70497ff1d901c2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da177e0222f16b21df6db60862ab055d3c26853592429554502001865f0710edad8d3e88d2e560d852b6e2d420b0cf44d1a3949f299effdcb751d32a9a5821a0
|
7
|
+
data.tar.gz: 813eff9c43300224ddac2c73e419f9109d37011e13aee82fa2f2a1dd4727e9f9cdaed2932196e9845ff396e942f97527d29bc8db2a5304661a02dfd4ba0e26e6
|
data/lib/safecharge/request.rb
CHANGED
@@ -36,7 +36,11 @@ module Safecharge
|
|
36
36
|
'first_name' => {:required => false, :type => 'string', length: 30},
|
37
37
|
'last_name' => {:required => false, :type => 'string', length: 40},
|
38
38
|
'city' => {:required => false, :type => 'string', length: 30},
|
39
|
-
'country' => {:required => false, :type => 'string', length: 20}
|
39
|
+
'country' => {:required => false, :type => 'string', length: 20},
|
40
|
+
'state' => {:required => false, :type => 'string', length: 20}, # ISO code
|
41
|
+
'zip' => {:required => false, :type => 'string', length: 10}, # post code
|
42
|
+
'address1' => {:required => false, :type => 'string', length: 60},
|
43
|
+
'address2' => {:required => false, :type => 'string', length: 60}
|
40
44
|
|
41
45
|
} # 'time_stamp', 'numberofitems' and 'checksum' are inserted after validation.
|
42
46
|
|
data/lib/safecharge/version.rb
CHANGED
@@ -37,7 +37,11 @@ module Safecharge
|
|
37
37
|
'first_name' => {:required => false, :type => 'string', length: 30},
|
38
38
|
'last_name' => {:required => false, :type => 'string', length: 40},
|
39
39
|
'city' => {:required => false, :type => 'string', length: 30},
|
40
|
-
'country' => {:required => false, :type => 'string', length: 20}
|
40
|
+
'country' => {:required => false, :type => 'string', length: 20},
|
41
|
+
'state' => {:required => false, :type => 'string', length: 20}, # ISO code
|
42
|
+
'zip' => {:required => false, :type => 'string', length: 10}, # post code
|
43
|
+
'address1' => {:required => false, :type => 'string', length: 60},
|
44
|
+
'address2' => {:required => false, :type => 'string', length: 60}
|
41
45
|
|
42
46
|
} # 'time_stamp', 'numberofitems' and 'checksum' are inserted after validation.
|
43
47
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: safecharge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dave Sag
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|