database_leak_finder 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/database_leak_finder/finder.rb +2 -2
- data/lib/database_leak_finder/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: eecabec8bbd9c83ef7cec1fee20ef3828de10a6f
|
4
|
+
data.tar.gz: 0e67dd0c1ed25263dc6553c6fd7485e684f0f5bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 897e03498358604952163c5b34e4f2f1ca3819cac825be80135cac4d125f67470bffde94eb295335c11d72d06a70f30306be5d97c65decccc0f420f716f54536
|
7
|
+
data.tar.gz: 115be6eeb07395aa463ec6e548140c6f018fc2a5e6f9aa7b25b0a34d9b7845e8b9c8676119ae97532a7c6566444182ce8d88126f1522fb3532b10fec9ba9745c
|
@@ -1,9 +1,9 @@
|
|
1
1
|
module DatabaseLeakFinder
|
2
2
|
class Finder
|
3
|
-
IGNORED_SYSTEM_TABLES = ['ar_internal_metadata', 'schema_migrations']
|
3
|
+
IGNORED_SYSTEM_TABLES = ['ar_internal_metadata', 'schema_migrations', 'pg_stat_statements']
|
4
4
|
|
5
5
|
def initialize(options)
|
6
|
-
@ignored_tables = (options[:ignored_tables] || []) + IGNORED_SYSTEM_TABLES
|
6
|
+
@ignored_tables = (options[:ignored_tables] || []).map(&:to_s) + IGNORED_SYSTEM_TABLES
|
7
7
|
end
|
8
8
|
|
9
9
|
def process
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: database_leak_finder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vital Ryabchinskiy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -94,7 +94,7 @@ dependencies:
|
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '1.0'
|
97
|
-
description:
|
97
|
+
description: Easy way to find spec which doesn't clear database after execution
|
98
98
|
email: vital.ryabchinskiy@gmail.com
|
99
99
|
executables: []
|
100
100
|
extensions: []
|