sql_origin 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/VERSION +1 -1
- data/lib/sql_origin/hooks.rb +1 -1
- data/lib/sql_origin.rb +1 -0
- data/sql_origin.gemspec +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -10,7 +10,7 @@ Why do I want this?
|
|
10
10
|
|
11
11
|
Simple. To turn this
|
12
12
|
|
13
|
-
![Without backtrace logging](https://img.skitch.com/20120614-
|
13
|
+
![Without backtrace logging](https://img.skitch.com/20120614-rg8sqa2t7eweaj4swjqcufrcjr.png)
|
14
14
|
|
15
15
|
into this.
|
16
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
data/lib/sql_origin/hooks.rb
CHANGED
@@ -24,7 +24,7 @@ module SQLOrigin
|
|
24
24
|
included { alias_method_chain :sql, :backtrace }
|
25
25
|
|
26
26
|
def sql_with_backtrace(event)
|
27
|
-
sql_without_backtrace
|
27
|
+
return unless sql_without_backtrace(event)
|
28
28
|
|
29
29
|
if event.payload[:backtrace].any?
|
30
30
|
event.payload[:backtrace].each do |line|
|
data/lib/sql_origin.rb
CHANGED
data/sql_origin.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sql_origin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -127,7 +127,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
127
127
|
version: '0'
|
128
128
|
segments:
|
129
129
|
- 0
|
130
|
-
hash:
|
130
|
+
hash: 2360449008841273446
|
131
131
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
132
132
|
none: false
|
133
133
|
requirements:
|