skylight 4.0.2 → 4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/skylight/instrumenter.rb +7 -0
- data/lib/skylight/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: 0df1c96d5351f7e193411249f8d0c028dfbdd27d33bae2c7f6712ab258da7995
|
4
|
+
data.tar.gz: 918d050938ee52aa692770f20596b4e5f6c90bddd8bb6fc432db9a95c95d5f7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40fe805cc948878690cb71d741f23fe59444b9ece009a4b8e36dc2814d9f6d2f11d00757088395081c073373c26a82b56f2f411a90b32b6ca62a26f317430db1
|
7
|
+
data.tar.gz: 7a82908ac1204cc809e784987bcbbc7509b842d758c64258a3013b84b47149738fcae8803b70d706f06c36d058fc663ab9826120e6b63f9c9f044d151f58c9b6
|
data/CHANGELOG.md
CHANGED
@@ -19,6 +19,13 @@ module Skylight
|
|
19
19
|
|
20
20
|
def process_sql(sql)
|
21
21
|
Skylight.lex_sql(sql)
|
22
|
+
rescue SqlLexError => e
|
23
|
+
if config[:log_sql_parse_errors]
|
24
|
+
config.logger.error "[#{e.formatted_code}] Failed to extract binds from SQL query. " \
|
25
|
+
"It's likely that this query uses more advanced syntax than we currently support. " \
|
26
|
+
"sql=#{sql.inspect}"
|
27
|
+
end
|
28
|
+
nil
|
22
29
|
end
|
23
30
|
end
|
24
31
|
end
|
data/lib/skylight/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: skylight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0
|
4
|
+
version: 4.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tilde, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: skylight-core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 4.0
|
19
|
+
version: 4.1.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 4.0
|
26
|
+
version: 4.1.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: beefcake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|