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 +4 -4
- data/CHANGELOG.md +12 -0
- data/Gemfile.lock +1 -1
- data/README.md +1 -0
- data/lib/query_track/filters.rb +3 -3
- data/lib/query_track/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 782f50da026b1b0a7241e209ee87b0c342a96c1184d3631805d3085882f05e0f
|
4
|
+
data.tar.gz: a481740e8d750ac48249da9ea7cfcb8bcf147f454cb5a031af3b4b497a3a24c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
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
|
|
data/lib/query_track/filters.rb
CHANGED
@@ -7,9 +7,9 @@ module QueryTrack
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def call
|
10
|
-
QueryTrack::Settings.config.filters.
|
11
|
-
full_trace.select { |v| v =~ %r{#{filter}} }[0]
|
12
|
-
end
|
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
|
data/lib/query_track/version.rb
CHANGED
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
|
+
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-
|
11
|
+
date: 2019-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|