testoscope 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/testoscope.rb +1 -1
- data/lib/testoscope/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ddeb0613b42218cffb0e5912ccbaa30bd81a42e9
|
4
|
+
data.tar.gz: 1f2696ee6700974f56f03f94483b90502425a7bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94a1714f3bb809176462ab09609d76a039c7cdc144a87686339ec12be6e6b30bd5ef45ce439727300cd468998b06e6b63c8334dfe1c3bec93a1e3da6bab6d845
|
7
|
+
data.tar.gz: 94ab034c63bd8d4493f6032d48bc53f57e2cc62b577a64b5f658dcbd1b97c92564cf465eb99db05dcec5fb2e8df4a2daa6f1ddc0cfab19ace748ff25348e1332
|
data/lib/testoscope.rb
CHANGED
@@ -126,7 +126,7 @@ module Testoscope
|
|
126
126
|
def exec_query(sql, name = "SQL", binds = [], prepare: false)
|
127
127
|
Testoscope.analyze(sql) {
|
128
128
|
explain = super( 'EXPLAIN ' + sql, "EXPLAIN", binds, prepare: false)
|
129
|
-
pp_class.method(:pp).arity.abs == 1 ? pp_class.new.pp( explain ) : pp_class.new.pp( explain, 0 )
|
129
|
+
config.pp_class.method(:pp).arity.abs == 1 ? config.pp_class.new.pp( explain ) : config.pp_class.new.pp( explain, 0 )
|
130
130
|
}
|
131
131
|
super( sql, name, binds, prepare: prepare )
|
132
132
|
end
|
data/lib/testoscope/version.rb
CHANGED