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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 59a9d39bc86c7bd11a4d068fc81652ecbc11a85ec46174dd5b1572d27c4189bd
4
- data.tar.gz: 76361c63cf8d9bcf5f833b5853f1b892ea69c8bec95f5b2c0b41865a55789e72
3
+ metadata.gz: 79714ab11cc38211455b04d384e7d41e65c294976c21b8469d86a666765cd61a
4
+ data.tar.gz: 90ef2cee993866ca7dfb5d650595fad69349c031de162d189d09d293909e90f1
5
5
  SHA512:
6
- metadata.gz: 96fe3e8f80ca8e2247565137f34d60888f217848b65f9bbf1999975196394cfb4f56832654c9fba5ebf18bbfff43a72115c7a9467b4a338846e6c74c007c13bf
7
- data.tar.gz: 7c0db71ebc455b7462b539bc07c70f2c7447aa3db735500c96a91964567e595f1ad61d4ab5ac79ec0a8ac88e721ac14fc3f77ac0813f7d5999b9bc33ae1ba0d5
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. " \
@@ -1,6 +1,6 @@
1
1
  module Skylight
2
2
  module Core
3
- VERSION = '2.0.2-beta.1'
3
+ VERSION = '2.0.2'
4
4
  end
5
5
  end
6
6
 
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.beta.1
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-05-25 00:00:00.000000000 Z
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: 1.3.1
251
+ version: '0'
252
252
  requirements: []
253
253
  rubyforge_project:
254
254
  rubygems_version: 2.7.6