vaulted_billing 1.1.5 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -342,7 +342,7 @@ module VaultedBilling
342
342
  :Street => credit_card.street_address.try(:[], (0...20)),
343
343
  :City => credit_card.locality,
344
344
  :StateProvince => credit_card.region,
345
- :PostalCode => credit_card.postal_code.try(:[], (0...5)),
345
+ :PostalCode => credit_card.postal_code.try(:gsub, /[^[:alnum:]]/, '').try(:[], (0...8)),
346
346
  :Country => credit_card.country.try(:to_ipcommerce_id),
347
347
  :Phone => credit_card.phone
348
348
  }.select { |k, v| !v.nil? },
@@ -1,3 +1,3 @@
1
1
  module VaultedBilling
2
- Version = '1.1.5'
2
+ Version = '1.1.6'
3
3
  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.1.5
4
+ version: 1.1.6
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: 2011-09-06 00:00:00.000000000Z
12
+ date: 2011-09-13 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
16
- requirement: &2165414980 !ruby/object:Gem::Requirement
16
+ requirement: &2156657220 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '2.3'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2165414980
24
+ version_requirements: *2156657220
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: builder
27
- requirement: &2165414520 !ruby/object:Gem::Requirement
27
+ requirement: &2156656760 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 2.1.2
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2165414520
35
+ version_requirements: *2156656760
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: multi_json
38
- requirement: &2165414060 !ruby/object:Gem::Requirement
38
+ requirement: &2156656300 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '1.0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *2165414060
46
+ version_requirements: *2156656300
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: multi_xml
49
- requirement: &2165413600 !ruby/object:Gem::Requirement
49
+ requirement: &2156655840 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 0.3.0
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *2165413600
57
+ version_requirements: *2156655840
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: countries
60
- requirement: &2165413220 !ruby/object:Gem::Requirement
60
+ requirement: &2156655460 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0'
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *2165413220
68
+ version_requirements: *2156655460
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec
71
- requirement: &2165412680 !ruby/object:Gem::Requirement
71
+ requirement: &2156654920 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ~>
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '2.4'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *2165412680
79
+ version_requirements: *2156654920
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: vcr
82
- requirement: &2165412180 !ruby/object:Gem::Requirement
82
+ requirement: &2156654420 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ~>
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: '1.7'
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *2165412180
90
+ version_requirements: *2156654420
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: webmock
93
- requirement: &2165411720 !ruby/object:Gem::Requirement
93
+ requirement: &2156653960 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ~>
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: '1.6'
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *2165411720
101
+ version_requirements: *2156653960
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: factory_girl
104
- requirement: &2165411260 !ruby/object:Gem::Requirement
104
+ requirement: &2156653500 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ~>
@@ -109,10 +109,10 @@ dependencies:
109
109
  version: '1.3'
110
110
  type: :development
111
111
  prerelease: false
112
- version_requirements: *2165411260
112
+ version_requirements: *2156653500
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: faker
115
- requirement: &2165410800 !ruby/object:Gem::Requirement
115
+ requirement: &2156653040 !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
118
118
  - - ~>
@@ -120,10 +120,10 @@ dependencies:
120
120
  version: '0.9'
121
121
  type: :development
122
122
  prerelease: false
123
- version_requirements: *2165410800
123
+ version_requirements: *2156653040
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: rake
126
- requirement: &2165410340 !ruby/object:Gem::Requirement
126
+ requirement: &2156652560 !ruby/object:Gem::Requirement
127
127
  none: false
128
128
  requirements:
129
129
  - - ~>
@@ -131,10 +131,10 @@ dependencies:
131
131
  version: '0.9'
132
132
  type: :development
133
133
  prerelease: false
134
- version_requirements: *2165410340
134
+ version_requirements: *2156652560
135
135
  - !ruby/object:Gem::Dependency
136
136
  name: watchr
137
- requirement: &2165409960 !ruby/object:Gem::Requirement
137
+ requirement: &2156628320 !ruby/object:Gem::Requirement
138
138
  none: false
139
139
  requirements:
140
140
  - - ! '>='
@@ -142,10 +142,10 @@ dependencies:
142
142
  version: '0'
143
143
  type: :development
144
144
  prerelease: false
145
- version_requirements: *2165409960
145
+ version_requirements: *2156628320
146
146
  - !ruby/object:Gem::Dependency
147
147
  name: open4
148
- requirement: &2165425860 !ruby/object:Gem::Requirement
148
+ requirement: &2156627860 !ruby/object:Gem::Requirement
149
149
  none: false
150
150
  requirements:
151
151
  - - ! '>='
@@ -153,10 +153,10 @@ dependencies:
153
153
  version: '0'
154
154
  type: :development
155
155
  prerelease: false
156
- version_requirements: *2165425860
156
+ version_requirements: *2156627860
157
157
  - !ruby/object:Gem::Dependency
158
158
  name: appraisal
159
- requirement: &2165425440 !ruby/object:Gem::Requirement
159
+ requirement: &2156627380 !ruby/object:Gem::Requirement
160
160
  none: false
161
161
  requirements:
162
162
  - - ! '>='
@@ -164,7 +164,7 @@ dependencies:
164
164
  version: '0'
165
165
  type: :development
166
166
  prerelease: false
167
- version_requirements: *2165425440
167
+ version_requirements: *2156627380
168
168
  description: Several card processors and gateways support offloading the storage of
169
169
  credit card information onto their service. This offloads PCI compliance to the
170
170
  gateway rather than keeping it with each retailer. This library abstracts the interface
@@ -213,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
213
213
  version: 1.3.6
214
214
  requirements: []
215
215
  rubyforge_project:
216
- rubygems_version: 1.8.7
216
+ rubygems_version: 1.8.10
217
217
  signing_key:
218
218
  specification_version: 3
219
219
  summary: A library for working with credit card storage gateways