credit_card_validations 3.0.0 → 3.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: 2a1e73d7b928f5b5ff394ff97d474efb2b3cf788
4
- data.tar.gz: bc489307b73e6d13e6f4916b2858fe5683471079
3
+ metadata.gz: 3577f4d452497ab8c0bfc8a3480ba206d2eda053
4
+ data.tar.gz: ccf61af1a886339c16dfee6067ec43366e6a1f4b
5
5
  SHA512:
6
- metadata.gz: 257782b63a7f3f33c97909dde5f5aaed324c1aa0d22244431a0c06bc8cee9ad03dc8f65c29e9717bfb7e197819235b5b4dc617f12e14cfc4872eb19ea23c5bf0
7
- data.tar.gz: cc6be70cf2d14199bca83b56af71ee18caea1c1e7b9cbb905d1b62f34be0752a070d3aea5485d3e1cf320f2ebf892dbdae35bb904da2cfcc4b04a513e035e2c3
6
+ metadata.gz: 19bbcb04220d3e0a5ddcd7181b9f1e58f8103013650e1b3259b5a96c7ff476f0bd79f70415e2f7d7889c6c41dec24d444157f48ba9a62735518b2de93ea7104c
7
+ data.tar.gz: 4c3e96053640d06206e7014535c23dba8bcec9b20640ecf158ce66da61f36124084a704747a9067ae62d7473028fc0a3e321d47b30d1406341985d8e42a465a9
data/Changelog.md CHANGED
@@ -1,3 +1,6 @@
1
+ # 3.1.0
2
+ * Added support for ELO brand
3
+
1
4
  # 3.0.0
2
5
  * Remove Laser brand because Laser cards were withdrawn from the market on February 28 2014
3
6
  * Remove Diners US brand for similar reason
data/README.md CHANGED
@@ -36,7 +36,8 @@ The following issuing institutes are accepted:
36
36
  [American Express](http://en.wikipedia.org/wiki/American_Express) | :amex
37
37
  [China UnionPay](http://en.wikipedia.org/wiki/China_UnionPay) | :unionpay
38
38
  [Dankort](http://en.wikipedia.org/wiki/Dankort) | :dankort
39
- [Diners Club](http://en.wikipedia.org/wiki/Diners_Club_International) | :diners
39
+ [Diners Club](http://en.wikipedia.org/wiki/Diners_Club_International) | :diners
40
+ [Elo](https://pt.wikipedia.org/wiki/Elo_Participa%C3%A7%C3%B5es_S/A) | :elo
40
41
  [Discover](http://en.wikipedia.org/wiki/Discover_Card) | :discover
41
42
  [Hipercard](http://pt.wikipedia.org/wiki/Hipercard) | :hipercard
42
43
  [JCB](http://en.wikipedia.org/wiki/Japan_Credit_Bureau) | :jcb
@@ -48,6 +49,7 @@ The following issuing institutes are accepted:
48
49
  [Visa](http://en.wikipedia.org/wiki/Visa_Inc.) | :visa
49
50
 
50
51
 
52
+
51
53
  The following are supported with with plugins
52
54
 
53
55
  Name | Key |
@@ -1,3 +1,3 @@
1
1
  module CreditCardValidations
2
- VERSION = '3.0.0'
2
+ VERSION = '3.1.0'
3
3
  end
data/lib/data/brands.yaml CHANGED
@@ -219,3 +219,37 @@
219
219
  - 19
220
220
  :prefixes:
221
221
  - '384'
222
+ :elo:
223
+ :rules:
224
+ - :length:
225
+ - 16
226
+ :prefixes:
227
+ - '4011'
228
+ - '438935'
229
+ - '451416'
230
+ - '4576'
231
+ - '504175'
232
+ - '506699'
233
+ - '5067'
234
+ - '509040'
235
+ - '509042'
236
+ - '509043'
237
+ - '509045'
238
+ - '509046'
239
+ - '509047'
240
+ - '509048'
241
+ - '509049'
242
+ - '509050'
243
+ - '509051'
244
+ - '509052'
245
+ - '509064'
246
+ - '509066'
247
+ - '509067'
248
+ - '509068'
249
+ - '509069'
250
+ - '509074'
251
+ - '636297'
252
+ - '63636'
253
+ :options:
254
+ :skip_luhn: true
255
+ :brand_name: Elo
@@ -78,3 +78,30 @@
78
78
  - 6070 5500 5000 0047
79
79
  :hipercard:
80
80
  - 3841 0058 9908 8180 330
81
+ :elo:
82
+ - '4011 4141 3850 9070'
83
+ - '4389 3555 4728 7502'
84
+ - '4514 1620 5642 0699'
85
+ - '4576 5598 7564 9522'
86
+ - '5041 7572 2687 1008'
87
+ - '5066 9917 1703 9876'
88
+ - '5067 5391 6526 0388'
89
+ - '5090 4071 4078 7707'
90
+ - '5090 4270 1119 7080'
91
+ - '5090 4344 4788 5021'
92
+ - '5090 4514 6675 8555'
93
+ - '5090 4673 1437 9707'
94
+ - '5090 4791 2220 0924'
95
+ - '5090 4854 1570 5059'
96
+ - '5090 4968 1280 8652'
97
+ - '5090 5097 0678 9193'
98
+ - '5090 5157 9762 1083'
99
+ - '5090 5225 6947 6964'
100
+ - '5090 6473 8030 4070'
101
+ - '5090 6644 0324 2820'
102
+ - '5090 6724 8089 9317'
103
+ - '5090 6888 2173 4488'
104
+ - '5090 6948 3784 4758'
105
+ - '5090 7463 8779 6948'
106
+ - '6362 9745 2190 7765'
107
+ - '6363 6850 2897 2643'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: credit_card_validations
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-15 00:00:00.000000000 Z
11
+ date: 2015-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel