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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d04381814612c5313043f6defee00268839b4558
4
- data.tar.gz: 130afcb34b65dc297b56b01fe03bd2972ce6fcc3
3
+ metadata.gz: 4634d2cecb4bfea0d75f98f6167994e70cb975d4
4
+ data.tar.gz: aa4622300f63fe838b977afce70497ff1d901c2b
5
5
  SHA512:
6
- metadata.gz: 452aa087087144c6a9ec248d3c2e51b18fb17f355a9e71db20d75fdb3c74ac85edc42b2ed961dce4ca35b4336638b0ab788097821f77d3235818c4471d08b73d
7
- data.tar.gz: a5afd5c61b7385362f3440d890642404853687a9fe0191e636e4e3a4f86e2031cdde80b8b3681a16bcbc872659777625f68c04a0c1fd53469f237e5896376541
6
+ metadata.gz: da177e0222f16b21df6db60862ab055d3c26853592429554502001865f0710edad8d3e88d2e560d852b6e2d420b0cf44d1a3949f299effdcb751d32a9a5821a0
7
+ data.tar.gz: 813eff9c43300224ddac2c73e419f9109d37011e13aee82fa2f2a1dd4727e9f9cdaed2932196e9845ff396e942f97527d29bc8db2a5304661a02dfd4ba0e26e6
@@ -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
 
@@ -2,5 +2,5 @@
2
2
  #coding: utf-8
3
3
 
4
4
  module Safecharge
5
- VERSION = "0.0.7"
5
+ VERSION = "0.1.0"
6
6
  end
@@ -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.7
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-13 00:00:00.000000000 Z
11
+ date: 2013-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler