sql_footprint 1.0.1 → 1.0.2
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/sql_footprint/sql_anonymizer.rb +1 -0
- data/lib/sql_footprint/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1316dcfe2584450412ffc993c568878555b156c6
|
|
4
|
+
data.tar.gz: d84ac6614866257c002efc49ca7c898e18574ca7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b49d8ac0593438ce557401175268435ad7178c09fe0a3f83a4a3e84b5cc33e04b1fc39d799f010a8ff75e96e61afc4ca537aedd32c41dabff3067b88cb0a06f5
|
|
7
|
+
data.tar.gz: a74c504bbb2839611ea14aeee6a454066b98ec2ac67f8b1971aee959296322103d0b5f420275f2f62aaf86bb3db24042f5933a3b13d907443187a42bd5bae5c3
|
|
@@ -4,6 +4,7 @@ module SqlFootprint
|
|
|
4
4
|
/\sIN\s\((.*)\)/ => ' IN (values-redacted)'.freeze, # IN clauses
|
|
5
5
|
/\s'(.*)\'/ => " 'value-redacted'".freeze, # literal strings
|
|
6
6
|
/\s+(!=|=|<|>|<=|>=)\s+[0-9]+/ => ' \1 number-redacted', # numbers
|
|
7
|
+
/\s+VALUES\s+\(.+\)/ => ' VALUES (values-redacted)', # VALUES
|
|
7
8
|
}.freeze
|
|
8
9
|
|
|
9
10
|
def anonymize sql
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sql_footprint
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brandon Joyce
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: exe
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2016-05-
|
|
13
|
+
date: 2016-05-17 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: activerecord
|
|
@@ -196,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
196
196
|
version: '0'
|
|
197
197
|
requirements: []
|
|
198
198
|
rubyforge_project:
|
|
199
|
-
rubygems_version: 2.
|
|
199
|
+
rubygems_version: 2.5.1
|
|
200
200
|
signing_key:
|
|
201
201
|
specification_version: 4
|
|
202
202
|
summary: Keeps your DBA happy.
|