skylight-core 2.0.2.beta.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/skylight/core/normalizers/sql.rb +1 -1
- data/lib/skylight/core/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79714ab11cc38211455b04d384e7d41e65c294976c21b8469d86a666765cd61a
|
4
|
+
data.tar.gz: 90ef2cee993866ca7dfb5d650595fad69349c031de162d189d09d293909e90f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffd86457e94bfcb27ccebf6589d2826465e7bc018602b2a9886a5354967b331dd43ba7c33702d6cdce003dfb3178a5b8ea6a06d628a049f50ee0f715bc8ee4d4
|
7
|
+
data.tar.gz: 59a104a65e135391ee76f18fc62b4bb2bb82354ad6833f548f4db8949b793859c3e86194a471a5e9d5047390ca37f8b849298681a5059136b9e45867e479acad
|
@@ -31,7 +31,7 @@ module Skylight::Core
|
|
31
31
|
extracted_title, sql = extract_binds(trace.instrumenter, payload, binds)
|
32
32
|
[ name, extracted_title || title, sql ]
|
33
33
|
rescue => e
|
34
|
-
if e.is_a?(Skylight::SqlLexError)
|
34
|
+
if defined?(Skylight::SqlLexError) && e.is_a?(Skylight::SqlLexError)
|
35
35
|
if config[:log_sql_parse_errors]
|
36
36
|
config.logger.error "[#{e.formatted_code}] Failed to extract binds from SQL query. " \
|
37
37
|
"It's likely that this query uses more advanced syntax than we currently support. " \
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: skylight-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.2
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tilde, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -246,9 +246,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
246
246
|
version: 2.2.7
|
247
247
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
248
248
|
requirements:
|
249
|
-
- - "
|
249
|
+
- - ">="
|
250
250
|
- !ruby/object:Gem::Version
|
251
|
-
version:
|
251
|
+
version: '0'
|
252
252
|
requirements: []
|
253
253
|
rubyforge_project:
|
254
254
|
rubygems_version: 2.7.6
|