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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 654d5ed283dd00dbca47501ebfd87180d3b07a46
4
- data.tar.gz: 1c9f861f039c88890d7e9dcdcabdce0eeb2902fb
3
+ metadata.gz: eecabec8bbd9c83ef7cec1fee20ef3828de10a6f
4
+ data.tar.gz: 0e67dd0c1ed25263dc6553c6fd7485e684f0f5bb
5
5
  SHA512:
6
- metadata.gz: 3b14b5be68f8aed7af6ea3a86b86148d17d77ccd6372771f194ec50c3743222f6b40fc5b3a373b9149e057814a6e231f1b9d7791ab10e087eed0160ff5e73820
7
- data.tar.gz: 39315f530d1388618689de20d68940ff233a1afec76bf005e48b550397e69d2a9d55bf7fae95c860c3133e4b876cac8302c402e903b2bec60a748dff1aed2160
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
@@ -1,3 +1,3 @@
1
1
  module DatabaseLeakFinder
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
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.2
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: 2016-08-16 00:00:00.000000000 Z
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: "'Easy way to find spec which doesn't clear database after execution"
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: []