sql_tracker 1.2.0 → 1.2.1

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: 65a35dfb502edde6f30c4f342ea42e3d118f7459
4
- data.tar.gz: bf16c892168e7df593c3812352d53aefea633172
3
+ metadata.gz: df1ae4131da0bbeda517829ce0db3dad6c97b5ef
4
+ data.tar.gz: 8f59accaebfc65e61f5ad7198269dfce0b6d8990
5
5
  SHA512:
6
- metadata.gz: deacfae440353615e04f3b88acd48c8e0ea38754f694b2cab0eec0946b878c7e6b338e830d955501e5f905d3fece5a5c726604534d9b7814dca5350dd9e45e9f
7
- data.tar.gz: d57bc72264b859df7d681f371507c82c19e121f71ba49fb6df5dac99ad27535adbf4f0fe2b37d8cea64475c57613ffd042bad8c367aca658cf778b77ef6a78e2
6
+ metadata.gz: a5d819a6ec3f09b9d310ae1d4887141b700ea53fad7cf57219a7e864e01087eb32940e73a66afc839229888e6fbb3b6d6897cc88f5569f4c91507cb251eeeab7
7
+ data.tar.gz: 9635191ad6bf27fee3a658d1f1f02ddba460e1aeb0fce0977f05f6a3035874188601906503f545cf5c3be4863ca195c24a88bad70f373147ddc89dc16020b743
@@ -15,7 +15,7 @@ module SqlTracker
15
15
  def call(_name, started, finished, _id, payload)
16
16
  return unless @config.enabled
17
17
 
18
- sql = payload[:sql]
18
+ sql = payload[:sql].dup
19
19
  return unless track?(sql)
20
20
 
21
21
  cleaned_trace = clean_trace(caller)
@@ -1,3 +1,3 @@
1
1
  module SqlTracker
2
- VERSION = '1.2.0'.freeze
2
+ VERSION = '1.2.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sql_tracker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Yue
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-13 00:00:00.000000000 Z
11
+ date: 2016-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler