sql_footprint 1.0.1 → 1.0.2

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: 4e83e58a36c206edf7f0b2226cc6c664a81ef39e
4
- data.tar.gz: b0d4bab06e4bade3b650e5e7dfb67c0d2bcecdd5
3
+ metadata.gz: 1316dcfe2584450412ffc993c568878555b156c6
4
+ data.tar.gz: d84ac6614866257c002efc49ca7c898e18574ca7
5
5
  SHA512:
6
- metadata.gz: 8d682c8f75ac4c4e94b68da51db85cb2f195f7d4fcf11917816e9a314e1e7e2d7b73096e0a340b9f7d1836b8f74956cdef09ce64e0126e3335e145f4b83ee9db
7
- data.tar.gz: 9db9ce9b706ad5a588c823156b996e23d8134ec99b98869d05167de195f4cb23b07759e5e742800abcfe194de715d50f5e47d553ef4635bb5f79cc76e55124f1
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
@@ -1,3 +1,3 @@
1
1
  module SqlFootprint
2
- VERSION = '1.0.1'.freeze
2
+ VERSION = '1.0.2'.freeze
3
3
  end
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.1
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-05 00:00:00.000000000 Z
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.4.8
199
+ rubygems_version: 2.5.1
200
200
  signing_key:
201
201
  specification_version: 4
202
202
  summary: Keeps your DBA happy.