spring_onion 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/spring_onion/explainer.rb +1 -1
- data/lib/spring_onion/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1595c8062e3c68c43d22fcdef65de9009563866bc376e6e3fc38ad271be8570
|
4
|
+
data.tar.gz: fed541d24b204eb19329cd912322c03703ba0783988d6b9549bbd4226ee0b70b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16c450c694a7379b03eb2d09652b1189ad96d243a3d0608e7506aa78ea01916f4896b7fbbbf025deeda7bf643c75846d50ae4612197f91b2d979b97a849cce61
|
7
|
+
data.tar.gz: eaf72fcb1ad6c1fc4ecb76fc7b28bbd7f0e6c4a2921f4c321405c0aca86f8433035fd3b019b28a74fce8827dfce7b5d6608556f73ac90cb821b9cfaf30d83414
|
data/Gemfile.lock
CHANGED
@@ -12,7 +12,7 @@ module SpringOnion
|
|
12
12
|
|
13
13
|
def _with_explain(sql)
|
14
14
|
begin
|
15
|
-
if SpringOnion.enabled && sql =~
|
15
|
+
if SpringOnion.enabled && sql =~ /\A\s*SELECT\b/i && SpringOnion.sql_filter.call(sql)
|
16
16
|
trace = SpringOnion.source_filter.call(caller)
|
17
17
|
|
18
18
|
unless trace.length.zero?
|
data/lib/spring_onion/version.rb
CHANGED