credit_debit_card_number_validator 16.09.6 → 16.09.7

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: 58ff0ee883d6b18aa8fef38bb8aa1506bc11b93f
4
- data.tar.gz: 0e54ca2771205d75983ed446817840fabf55bd08
3
+ metadata.gz: e12970371ef5fd0f6ed604f6a12a7701bf6431e9
4
+ data.tar.gz: f4c6658151cf1b47173a19fff55add2104205af2
5
5
  SHA512:
6
- metadata.gz: 5aa1ebefac3b9773319898b04a7b86a528d66e918ef8f4d92fa4a674683a4b8be87120f6b5056631645419ba6c26fef74dc4803b946ec0d51aeb1961784d1249
7
- data.tar.gz: 249b8ebfe9bb65a03af8adbbfe218535fe9756d5eb2c1e4f3ada02cd280ef8c6f744e5470407e7c998c1f15f37db3649203c9d6d5d4c49e237045fe8a6e4d3f1
6
+ metadata.gz: 6444b5fc29abb48e717822dc68c3112f8b3f4c24cccb541f21db33b51dbcf0d33179fa635e3e8e34a0fd5076db230959bc0498dcc88b97fc1141700973d1415b
7
+ data.tar.gz: 59230fd2eeabb63ad331c5130bbde602074929a4542c42455b5526f65c0d059327861a80c8c54ce65f9f056bc3fc5b776a70ae5f844b51505fd4937a30e4fa8b
@@ -4,7 +4,7 @@
4
4
  # bc4 | Bankcard | 16 | Luhn | 5610
5
5
  # bc6 | Bankcard | 16 | Luhn | 560221 - 560225
6
6
 
7
- # cebi | CARDGUARD EAD BG ILS | 16 | Luhn | 5392
7
+ # cebi | CARDGUARD | 16 | Luhn | 5392
8
8
 
9
9
  # cup | China UnionPay | 16, 17, 18, 19 | Unk | 622, 624 - 626, 628
10
10
 
@@ -74,7 +74,7 @@ require 'validator'
74
74
  require 'information'
75
75
 
76
76
  # CreditDebitCardNumberValidator module
77
- # main module containe gem classes
77
+ # main module contain gem classes
78
78
  # use this module to deal with gem classes,
79
79
  # create objects and work with class methods
80
80
  # to validate your data
data/lib/information.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # CreditDebitCardNumberValidator module
2
- # main module containe gem classes
2
+ # main module contain gem classes
3
3
  # use this module to deal with gem classes,
4
4
  # create objects and work with class methods
5
5
  # to validate your data
data/lib/validator.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # CreditDebitCardNumberValidator module
2
- # main module containe gem classes
2
+ # main module contain gem classes
3
3
  # use this module to deal with gem classes,
4
4
  # create objects and work with class methods
5
5
  # to validate your data
@@ -122,7 +122,7 @@ module CreditDebitCardNumberValidator
122
122
  [iin6.to_i, 'Bankcard']
123
123
  # {'IIN' => iin6.to_i, 'Company Name' => 'Bankcard'}
124
124
  elsif iin4 == '5392' && length == 16
125
- [iin4.to_i, 'CARDGUARD EAD BG ILS']
125
+ [iin4.to_i, 'CARDGUARD']
126
126
  # {'IIN' => iin4.to_i, 'Company Name' => 'CARDGUARD EAD BG ILS'}
127
127
  elsif (['622', '624', '625', '626', '628'].include? (iin3)) && (length >= 16 && length <= 19)
128
128
  [iin3.to_i, 'China UnionPay']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: credit_debit_card_number_validator
3
3
  version: !ruby/object:Gem::Version
4
- version: 16.09.6
4
+ version: 16.09.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ali Osm