pan_masker 0.0.1 → 0.1.0
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.
- data/lib/pan_masker.rb +7 -7
- metadata +2 -2
data/lib/pan_masker.rb
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
class Pan_masker
|
|
2
|
-
def self.mask(data)
|
|
3
|
-
maskedData = Finder.find_and_mask_pan(data)
|
|
4
|
-
maskedData
|
|
5
|
-
end
|
|
6
|
-
end
|
|
7
|
-
|
|
1
|
+
class Pan_masker
|
|
2
|
+
def self.mask(data)
|
|
3
|
+
maskedData = Finder.find_and_mask_pan(data.to_s)
|
|
4
|
+
maskedData
|
|
5
|
+
end
|
|
6
|
+
end
|
|
7
|
+
|
|
8
8
|
require 'pan_masker/finder'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pan_masker
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 0.1.0
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -11,7 +11,7 @@ bindir: bin
|
|
|
11
11
|
cert_chain: []
|
|
12
12
|
date: 2014-02-03 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
|
-
description: A simple gem to scan a string, find and mask mastercard, visa and verve credit card pans
|
|
14
|
+
description: A simple gem to scan a string, find and mask mastercard, visa, discover and verve credit/debit card pans to comply with PCIDSS standards
|
|
15
15
|
email: me@codegidi.com
|
|
16
16
|
executables:
|
|
17
17
|
- pan_masker
|