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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5807a3a1cd334a275943d1b713c578a750101a46
4
- data.tar.gz: 438c8c7934a4818a80374046ecec0f50c295d244
3
+ metadata.gz: ddeb0613b42218cffb0e5912ccbaa30bd81a42e9
4
+ data.tar.gz: 1f2696ee6700974f56f03f94483b90502425a7bf
5
5
  SHA512:
6
- metadata.gz: d23d94bb9b45d4c6241fe407bfda397cec4cf192fc70b6862bdb5e8507c150b7299be04c4c9f799d499facd179eb5ec2131ba942d264290dd0f040fd8eefcc7c
7
- data.tar.gz: bff953140acd46ce054a8c039d933766fc8b9c0c128e1b917dbbd14841fa46384f2e3c2bc439e2992aed9e053352a4510fa57799775a03a7dee5d1dfb27f903f
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
@@ -1,3 +1,3 @@
1
1
  module Testoscope
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testoscope
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - alekseyl