sql_footprint 1.0.2 → 1.1.0

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: 1316dcfe2584450412ffc993c568878555b156c6
4
- data.tar.gz: d84ac6614866257c002efc49ca7c898e18574ca7
3
+ metadata.gz: 58ec7fc7ebc82cd86b19a21052f4c8c6ee61b88f
4
+ data.tar.gz: 6a54f037f1e34d7359d6b2f2e481515fe2e7319b
5
5
  SHA512:
6
- metadata.gz: b49d8ac0593438ce557401175268435ad7178c09fe0a3f83a4a3e84b5cc33e04b1fc39d799f010a8ff75e96e61afc4ca537aedd32c41dabff3067b88cb0a06f5
7
- data.tar.gz: a74c504bbb2839611ea14aeee6a454066b98ec2ac67f8b1971aee959296322103d0b5f420275f2f62aaf86bb3db24042f5933a3b13d907443187a42bd5bae5c3
6
+ metadata.gz: c1c6770c141c88376381acf4d60f76d700dc327b12d025ba78b51160601ee4535639ccee598c88505eec68a5572b66d48ba13187972f0524b44a82b0e26e5e36
7
+ data.tar.gz: 21e455459b6944e0b240cd5b61829bc8d9ee98a51eb48b54d45bc8488e51cd14cfc571ba576d6297937bbae0111af2b5af3ffa9e25eddbeeb8b58c236febbf70
data/.rubocop.yml CHANGED
@@ -3,6 +3,9 @@ require: rubocop-rspec
3
3
  Style/MethodDefParentheses:
4
4
  EnforcedStyle: require_no_parentheses
5
5
 
6
+ Style/TrailingCommaInLiteral:
7
+ Enabled: false
8
+
6
9
  Metrics/LineLength:
7
10
  Max: 100
8
11
 
@@ -1,7 +1,8 @@
1
1
  module SqlFootprint
2
2
  class SqlFilter
3
3
  EXCLUDE_REGEXS = [
4
- /\ASHOW\s/
4
+ /\ASHOW\s/,
5
+ /FROM\s+pg_/,
5
6
  ].freeze
6
7
 
7
8
  def capture? sql
@@ -1,3 +1,3 @@
1
1
  module SqlFootprint
2
- VERSION = '1.0.2'.freeze
2
+ VERSION = '1.1.0'.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.2
4
+ version: 1.1.0
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-17 00:00:00.000000000 Z
13
+ date: 2016-05-26 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activerecord