spook_and_pay 0.3.0.alpha → 0.3.1.alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/spook_and_pay/submission_error.rb +13 -11
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b13e26bc3175899e0bc06a254cf58c8af8c20257
|
4
|
+
data.tar.gz: a19c29f21df4f66dbeba4d1143428d105be2ff23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d0ddc7e8b5335a418d08c79dd9d8e66b3bf308fd85fdc0f5721f0890e856509d4edc0dd02a8179c7d817eb401cfddb1e31a48ebe47216f49a6cf5ce2ef50021
|
7
|
+
data.tar.gz: f1033687ba256d2a6aa30e5411d868d263139c132ff0c03a20aaa5825fd056348979aeee583fb7fbe6ac1cb7099b92539b119d357cf4dc0d82e5cfd1821a4313
|
@@ -13,17 +13,19 @@ module SpookAndPay
|
|
13
13
|
# generated by the underlying libraries.
|
14
14
|
ERROR_MESSAGES = {
|
15
15
|
:credit_card => {
|
16
|
-
:number_required
|
17
|
-
:number_invalid
|
18
|
-
:number_too_short
|
19
|
-
:name_required
|
20
|
-
:type_not_accepted
|
21
|
-
:expiration_month_invalid
|
22
|
-
:expiration_month_expired
|
23
|
-
:
|
24
|
-
:
|
25
|
-
:
|
26
|
-
:
|
16
|
+
:number_required => "number is required",
|
17
|
+
:number_invalid => "number is invalid",
|
18
|
+
:number_too_short => "number must be between 12 and 19 digits",
|
19
|
+
:name_required => "name is required",
|
20
|
+
:type_not_accepted => "card type is not accepted by this merchant",
|
21
|
+
:expiration_month_invalid => "expiration month is invalid",
|
22
|
+
:expiration_month_expired => "expiration month has expired",
|
23
|
+
:expiration_month_required => "expiration month is required",
|
24
|
+
:expiration_year_invalid => "expiration year is invalid",
|
25
|
+
:expiration_year_expired => "expiration year has expired",
|
26
|
+
:expiration_year_required => "expiration year is required",
|
27
|
+
:cvv_invalid => "CVV must be three digits",
|
28
|
+
:cvv_required => "CVV is required"
|
27
29
|
},
|
28
30
|
:transaction => {
|
29
31
|
:cannot_capture => "must be authorized in order to capture funds",
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spook_and_pay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1.alpha
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luke Sutton
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-09-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: braintree
|
@@ -102,21 +102,21 @@ executables: []
|
|
102
102
|
extensions: []
|
103
103
|
extra_rdoc_files: []
|
104
104
|
files:
|
105
|
-
-
|
105
|
+
- LICENSE
|
106
|
+
- README.md
|
107
|
+
- lib/spook_and_pay.rb
|
106
108
|
- lib/spook_and_pay/adapters.rb
|
109
|
+
- lib/spook_and_pay/adapters/braintree.rb
|
107
110
|
- lib/spook_and_pay/credit_card.rb
|
108
111
|
- lib/spook_and_pay/erroring_reader.rb
|
109
112
|
- lib/spook_and_pay/missing_value_error.rb
|
113
|
+
- lib/spook_and_pay/providers.rb
|
110
114
|
- lib/spook_and_pay/providers/base.rb
|
111
115
|
- lib/spook_and_pay/providers/braintree.rb
|
112
116
|
- lib/spook_and_pay/providers/spreedly.rb
|
113
|
-
- lib/spook_and_pay/providers.rb
|
114
117
|
- lib/spook_and_pay/result.rb
|
115
118
|
- lib/spook_and_pay/submission_error.rb
|
116
119
|
- lib/spook_and_pay/transaction.rb
|
117
|
-
- lib/spook_and_pay.rb
|
118
|
-
- README.md
|
119
|
-
- LICENSE
|
120
120
|
homepage: http://spookandpuff.com
|
121
121
|
licenses: []
|
122
122
|
metadata: {}
|
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
136
|
version: 1.3.1
|
137
137
|
requirements: []
|
138
138
|
rubyforge_project:
|
139
|
-
rubygems_version: 2.
|
139
|
+
rubygems_version: 2.2.2
|
140
140
|
signing_key:
|
141
141
|
specification_version: 4
|
142
142
|
summary: A library for handling online payments using services providing transparent
|