credit_card_validations 2.0.0 → 2.0.1

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: 9132f1754e530b96267778bd96cecaf3838ec575
4
- data.tar.gz: 7b805a21857451ce13ad3d86776c0c192e8ac5fa
3
+ metadata.gz: 134d3a1d35bcf4fab62fdf63c0b206651ec78a85
4
+ data.tar.gz: 963f9f2965141892b7f42a767a652b79bea36c75
5
5
  SHA512:
6
- metadata.gz: 61bfa339a1c364fcededa512391ac3a43a57d102d41e95bb47782d920c6835a430b27ebd169323b22e8a555bcecff0150ba758f495ca778fb92c822c53184ea7
7
- data.tar.gz: 7bcbc2632129f06dc3c429264b5d56820cfacae1fa5b709b636eabc0a5e343d0ffd24389dbd65e34d16308b27aba3da35a35f2729968fe3c9732dc2b3c91d345
6
+ metadata.gz: 8ffcd7329fb527258b52da513080fb46d82b89c47eac1b983f761e8a40abd15db3d860559f15bae659293b9890edbb0d52e613fef0087476d592bb4383b2c20d
7
+ data.tar.gz: c6b3ce00d5af28b5477eba6843af878d4f50265579072a0a99a3a1a96bfcd69c4789308002654c2121eb5d319f0ca015d0f09836060c0f2b6ad69e27a49da7fd
data/Changelog.md CHANGED
@@ -1,3 +1,6 @@
1
+ # 2.0.1
2
+ * fix typo dankrot -> dankort
3
+
1
4
  # 2.0.0
2
5
 
3
6
  * added support for full brand names
@@ -53,7 +56,7 @@
53
56
 
54
57
  # 1.4.0
55
58
 
56
- * Dankrot brand support
59
+ * Dankort brand support
57
60
 
58
61
  # 1.3.0
59
62
 
data/README.md CHANGED
@@ -31,25 +31,24 @@ Or install it yourself as:
31
31
 
32
32
  The following issuing institutes are accepted:
33
33
 
34
- name | key |
35
- -------------------------------------------------------------------
36
- American Express | :amex | http://en.wikipedia.org/wiki/American_Express
37
- China UnionPay | :unionpay | http://en.wikipedia.org/wiki/China_UnionPay
38
- Dankrot | :dankrot | http://en.wikipedia.org/wiki/Dankort
39
- Diners Club | :diners | http://en.wikipedia.org/wiki/Diners_Club_International
40
- Dinner Club US | :diners_us | http://en.wikipedia.org/wiki/Diners_Club_International#MasterCard_alliance
41
- Discover | :discover | http://en.wikipedia.org/wiki/Discover_Card
42
- Hipercard | :hipercard | http://pt.wikipedia.org/wiki/Hipercard
43
- JCB | :jcb | http://en.wikipedia.org/wiki/Japan_Credit_Bureau
44
- Laser | :laser | http://en.wikipedia.org/wiki/Laser_%28debit_card%29
45
- Maestro | :maestro | http://en.wikipedia.org/wiki/Maestro_%28debit_card%29
46
- MasterCard | :mastercard | http://en.wikipedia.org/wiki/MasterCard
47
- Rupay | :rupay | http://en.wikipedia.org/wiki/RuPay
48
- Solo | :solo | http://en.wikipedia.org/wiki/Solo_(debit_card)
49
- Switch | :switch | http://en.wikipedia.org/wiki/Switch_(debit_card)
50
- Visa | :visa | http://en.wikipedia.org/wiki/Visa_Inc.
51
-
52
-
34
+ <table><tr><td>name</td> <td>key</td> </tr>
35
+
36
+ <tr><td>[American Express](http://en.wikipedia.org/wiki/American_Express) </td> <td> :amex </td> </tr>
37
+ <tr><td>[China UnionPay ](http://en.wikipedia.org/wiki/China_UnionPay) </td> <td> :unionpay </td> </tr>
38
+ <tr><td>[Dankort ](http://en.wikipedia.org/wiki/Dankort) </td> <td> :dankort </td> </tr>
39
+ <tr><td>[Diners Club ](http://en.wikipedia.org/wiki/Diners_Club_International) </td> <td> :diners </td> </tr>
40
+ <tr><td>[Dinner Club US](http://en.wikipedia.org/wiki/Diners_Club_International#MasterCard_alliance) </td> <td> :diners_us </td> </tr>
41
+ <tr><td>[Discover](http://en.wikipedia.org/wiki/Discover_Card) </td> <td> :discover </td> </tr>
42
+ <tr><td>[Hipercard ](http://pt.wikipedia.org/wiki/Hipercard) </td> <td> :hipercard </td> </tr>
43
+ <tr><td>[JCB ](http://en.wikipedia.org/wiki/Japan_Credit_Bureau) </td> <td> :jcb </td> </tr>
44
+ <tr><td>[Laser ](http://en.wikipedia.org/wiki/Laser_%28debit_card%29) </td> <td> :laser </td> </tr>
45
+ <tr><td>[Maestro](http://en.wikipedia.org/wiki/Maestro_%28debit_card%29) </td> <td> :maestro </td> </tr>
46
+ <tr><td>[MasterCard ](http://en.wikipedia.org/wiki/MasterCard) </td> <td> :mastercard </td> </tr>
47
+ <tr><td>[Rupay ](http://en.wikipedia.org/wiki/RuPay) </td> <td> :rupay </td>
48
+ <tr><td>[Solo ](http://en.wikipedia.org/wiki/Solo_(debit_card)) </td> <td> :solo </td> </tr>
49
+ <tr><td>[Switch ](http://en.wikipedia.org/wiki/Switch_(debit_card)) </td> <td> :switch </td> </tr>
50
+ <tr><td>[Visa ](http://en.wikipedia.org/wiki/Visa_Inc.) </td> <td> :visa </td> </tr>
51
+ </table>
53
52
 
54
53
  Examples using string monkey patch
55
54
 
@@ -10,7 +10,7 @@ Gem::Specification.new do |gem|
10
10
  gem.email = ["fedoronchuk@gmail.com"]
11
11
  gem.description = %q{A ruby gem for validating credit card numbers}
12
12
  gem.summary = "gem should be used for credit card numbers validation, card brands detections, luhn checks"
13
- gem.homepage = "https://github.com/Fivell/credit_card_validations"
13
+ gem.homepage = "http://fivell.github.io/credit_card_validations/"
14
14
  gem.license = 'MIT'
15
15
 
16
16
  gem.files = `git ls-files`.split($/)
@@ -1,3 +1,3 @@
1
1
  module CreditCardValidations
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
data/lib/data/brands.yaml CHANGED
@@ -206,7 +206,7 @@
206
206
  :options:
207
207
  :skip_luhn: true
208
208
  :brand_name: China UnionPay
209
- :dankrot:
209
+ :dankort:
210
210
  :rules:
211
211
  - :length:
212
212
  - 16
@@ -66,7 +66,7 @@
66
66
  - 6264 1852 1292 2132 067
67
67
  - 6288 9977 1545 2584
68
68
  - 6269 9920 5813 4322
69
- :dankrot:
69
+ :dankort:
70
70
  - 5019 7170 1010 3742
71
71
  :switch:
72
72
  - 6331 1019 9999 0016
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: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-14 00:00:00.000000000 Z
11
+ date: 2015-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -109,7 +109,7 @@ files:
109
109
  - spec/models/credit_card.rb
110
110
  - spec/string_spec.rb
111
111
  - spec/test_helper.rb
112
- homepage: https://github.com/Fivell/credit_card_validations
112
+ homepage: http://fivell.github.io/credit_card_validations/
113
113
  licenses:
114
114
  - MIT
115
115
  metadata: {}