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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2145b8228023d99fa6044fdf797cbfa905af8f036d760b64ef9c5dcfe8dae04f
4
- data.tar.gz: 636f0131c7271ad238462a1f41650b94b9f8f11e8af166c8db9905729cb84c11
3
+ metadata.gz: 0df1c96d5351f7e193411249f8d0c028dfbdd27d33bae2c7f6712ab258da7995
4
+ data.tar.gz: 918d050938ee52aa692770f20596b4e5f6c90bddd8bb6fc432db9a95c95d5f7f
5
5
  SHA512:
6
- metadata.gz: b1c027d3d5e54705e8e05bc535dd6e2bee44f265a51009dead2e7976f92045298fcc77263cff414b883fcde6e84b4ae8c8cf46335fe07afedaeab6368a9bd499
7
- data.tar.gz: e1a3c7e19fb693fb294cd0dbd83786426cc63c38ec721c56d901dba2c5cfac1108b31624f229781c032cdf12b9756eb8753bbb6ce1080063830e9314d24ffad6
6
+ metadata.gz: 40fe805cc948878690cb71d741f23fe59444b9ece009a4b8e36dc2814d9f6d2f11d00757088395081c073373c26a82b56f2f411a90b32b6ca62a26f317430db1
7
+ data.tar.gz: 7a82908ac1204cc809e784987bcbbc7509b842d758c64258a3013b84b47149738fcae8803b70d706f06c36d058fc663ab9826120e6b63f9c9f044d151f58c9b6
@@ -1,3 +1,7 @@
1
+ ## 4.1.0 (June 3, 2019)
2
+ * [FEATURE] add normalizers for Graphiti >= 1.2
3
+ * [BUGFIX] re-enable aliases in skylight.yml
4
+
1
5
  ## 4.0.2 (May 21, 2019)
2
6
  * [BUGFIX] Fix an issue with Delayed::Job worker name formatting
3
7
 
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Skylight
2
- VERSION = "4.0.2".freeze
2
+ VERSION = "4.1.0".freeze
3
3
  end
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.2
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-05-21 00:00:00.000000000 Z
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.2
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.2
26
+ version: 4.1.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: beefcake
29
29
  requirement: !ruby/object:Gem::Requirement