airbrake-ruby 4.7.0-java → 4.7.1-java

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: e49bb6ddb05f50704b2fb2bf52b680e1310b9234
4
- data.tar.gz: b2fafa4ebceec499b04d23c9a8094bbfb5f59c66
3
+ metadata.gz: 233e9f8de56a554c82ab0d5526e52184e001498b
4
+ data.tar.gz: 17cb5b6ac664e2e49ed2c4b656a774d327de2a01
5
5
  SHA512:
6
- metadata.gz: 40adfc247b2a12a0bddbcf87ec654f28125954c64380bd31f662f496219496154ef017e61a369918dfff20055667e23453e6b0c6a7ae2fa049792854ca53091a
7
- data.tar.gz: 02d13ebd1cc32aab0b9b60b273d26b37f627b13dac701ad81ecaebfd0a03b984d4bc7b17435264d78a90c32d5c5eb973348294aa98de0f4a3664fef16f855506
6
+ metadata.gz: afdd1d73a2c2561a7185001062a74cb35e96a63fae4cbb17f87fa964dd1cce4a51248b7eab3bf0764d936f9ca2df38f06ff20518fd7eff049cb8791e6cb10e66
7
+ data.tar.gz: 5802789e4df182654edb152608dd42536f359c4d2b7f88b08c51ad455d04e6826612cfbae1cfda69cb64950bdba0ebd706d06f2cfaeb0655c2e02f122cb57aef
@@ -86,7 +86,10 @@ module Airbrake
86
86
  /\ASET/i,
87
87
  /\ASHOW/i,
88
88
  /\AWITH/i,
89
- /FROM pg_attribute/i
89
+ /FROM pg_attribute/i,
90
+ /FROM pg_index/i,
91
+ /FROM pg_class/i,
92
+ /FROM pg_type/i
90
93
  ].freeze
91
94
 
92
95
  def initialize(dialect)
@@ -2,5 +2,5 @@
2
2
  # More information: http://semver.org/
3
3
  module Airbrake
4
4
  # @return [String] the library version
5
- AIRBRAKE_RUBY_VERSION = '4.7.0'.freeze
5
+ AIRBRAKE_RUBY_VERSION = '4.7.1'.freeze
6
6
  end
@@ -248,8 +248,22 @@ RSpec.describe Airbrake::Filters::SqlFilter do
248
248
  'cons AS ( SELECT conrelid, connum, row_number() OVER() AS rownum FROM ' \
249
249
  'pk_constraint ) SELECT attr.attname FROM pg_attribute attr INNER JOIN ' \
250
250
  'cons ON attr.attrelid = cons.conrelid AND attr.attnum = cons.connum ' \
251
- 'ORDER BY cons.rownum'
251
+ 'ORDER BY cons.rownum',
252
252
 
253
+ 'SELECT c.relname FROM pg_class c LEFT JOIN pg_namespace n ON ' \
254
+ 'n.oid = c.relnamespace WHERE n.nspname = ANY (?)',
255
+
256
+ 'SELECT a.attname FROM ( SELECT indrelid, indkey, generate_subscripts(?) ' \
257
+ 'idx FROM pg_index WHERE indrelid = ?::regclass AND indisprimary ) i ' \
258
+ 'JOIN pg_attribute a ON a.attrelid = i.indrelid AND ' \
259
+ 'a.attnum = i.indkey[i.idx] ORDER BY i.idx',
260
+
261
+ 'SELECT t.oid, t.typname, t.typelem, t.typdelim, t.typinput, r.rngsubtype, ' \
262
+ 't.typtype, t.typbasetype FROM pg_type as t LEFT JOIN pg_range as r ON ' \
263
+ 'oid = rngtypid WHERE t.typname IN (?) OR t.typtype IN (?) OR t.typinput ' \
264
+ '= ?::regprocedure OR t.typelem != ?',
265
+
266
+ 'SELECT t.oid, t.typname FROM pg_type as t WHERE t.typname IN (?)'
253
267
  ].each do |query|
254
268
  include_examples 'query blacklisting', query, should_ignore: true
255
269
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: airbrake-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.7.0
4
+ version: 4.7.1
5
5
  platform: java
6
6
  authors:
7
7
  - Airbrake Technologies, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-03 00:00:00.000000000 Z
11
+ date: 2019-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rbtree-jruby