query_track 0.0.4 → 0.0.6

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
  SHA256:
3
- metadata.gz: eb3b0335bcb262ed0e622f44fff0b231c3c12f6ee436558c8e9a31b32862fbce
4
- data.tar.gz: a25156b7ffcbed48303cb231c34690736bb8e391501916d7ce137c434092addc
3
+ metadata.gz: 782f50da026b1b0a7241e209ee87b0c342a96c1184d3631805d3085882f05e0f
4
+ data.tar.gz: a481740e8d750ac48249da9ea7cfcb8bcf147f454cb5a031af3b4b497a3a24c3
5
5
  SHA512:
6
- metadata.gz: d5ea72a94269152ea35d4422780045ebdbdf5c70be837054cda797ce452083ac0bcfb2070aae65b653ccc9396b80d9e95efaa1ec46b2b9da764626b160a3f624
7
- data.tar.gz: 459f9ddc1e9ee0144f90a1db2f57cd413898e0dd6c04f918974ee50a92b277c4a93d88059fdd85a9b82ea8d419b88255e4854085d4d343703f803b846290be43
6
+ metadata.gz: e6a216a576b4a22af5e59c994fbd1d060bbc0c7e7ba00fdaaac93aebe9d60e6f7d15afb15aa26e6b59e80984955d06931c745e8e067c9bf20b6450ca4f4942f1
7
+ data.tar.gz: a6fcfe074573aa7ec5a21e7a1301d80200ddc75094d66d09a5eda217e3dd74a8c241a23cacb62760188220cbf09391e0763fe4676aec97bd8a9d1f5ef840b8f6
data/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ # v0.0.6 2019-08-01
2
+
3
+ repush of 0.0.5
4
+
5
+ # v0.0.5 2019-08-01
6
+
7
+ *yanked*
8
+
9
+ # v0.0.5 2019-07-31
10
+
11
+ Use #find instead of #map .include?(false). ([kirillshevch](https://github.com/kirillshevch/query_track/pull/7))
12
+
1
13
  # v0.0.4 2019-07-22
2
14
 
3
15
  Added temp solution for async slack notifications. ([kirillshevch](https://github.com/kirillshevch/query_track/pull/5))
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- query_track (0.0.4)
4
+ query_track (0.0.6)
5
5
  activesupport
6
6
  dry-configurable
7
7
  slack_hook
data/README.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/query_track.svg)](https://badge.fury.io/rb/query_track)
4
4
  [![CircleCI](https://circleci.com/gh/kirillshevch/query_track.svg?style=svg)](https://circleci.com/gh/kirillshevch/query_track)
5
+ [![Maintainability](https://api.codeclimate.com/v1/badges/15b0a6c0a1838b216db8/maintainability)](https://codeclimate.com/github/kirillshevch/query_track/maintainability)
5
6
 
6
7
  Tool for finding time-consuming database queries for ActiveRecord-based Rails Apps. Provides Slack notifications for with backtrace, raw SQL, time duration, etc.
7
8
 
@@ -7,9 +7,9 @@ module QueryTrack
7
7
  end
8
8
 
9
9
  def call
10
- QueryTrack::Settings.config.filters.map do |filter|
11
- full_trace.select { |v| v =~ %r{#{filter}} }[0].nil?
12
- end.include?(false)
10
+ QueryTrack::Settings.config.filters.find do |filter|
11
+ full_trace.select { |v| v =~ %r{#{filter}} }[0]
12
+ end
13
13
  end
14
14
  end
15
15
  end
@@ -1,3 +1,3 @@
1
1
  module QueryTrack
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.6'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: query_track
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kirill Shevchenko
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-22 00:00:00.000000000 Z
11
+ date: 2019-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport