lograge-sql 0.1.5 → 0.2.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
- SHA1:
3
- metadata.gz: 496b13a9ec6f0a74417d77402f11a7a74106266d
4
- data.tar.gz: 430fcd985b9d7ea6801feb808f6cd6274968f5d7
2
+ SHA256:
3
+ metadata.gz: f057e0f18be0a66527bf7bed2c8c217ca95e731304bbaae193efd24e0a764db3
4
+ data.tar.gz: e84b14ff93214088f99de92228be072a727e834727b362aa4c772afd93ab5fb8
5
5
  SHA512:
6
- metadata.gz: 898cffb2d0b93db198f21ce1670c68a0ec8900a22092514a4ca3283f563a7e73d4123cfc80cf5120ca3588fdd96cbd9a5100e2a9a53c0a7d3cb91fbae36d4790
7
- data.tar.gz: 95b033cc80c258d7375d118282aaffe8d2128011fbf64bb97fd48a49951bb639562840e38e2c65fb1ee3083f764173a45949365f9ff39e343d5d4cdffb7125e0
6
+ metadata.gz: 7388da0b428389ab33f38476fd717452b5a144ece741531397c43a6c43a97a0eb00235020c89441d34a6977dc6507d6c29678e45d5ecbb30f345f6d80c0cd7a7
7
+ data.tar.gz: 92c0643b0a37b3f0928be58115ada58d3691b0d2505806f9a97e1226fb3fb7f07e59de7ddcc1a09cad0648f08c11b033d7202d19bb652f205954580b2cb63366
@@ -10,7 +10,10 @@ module Lograge
10
10
  return {} unless sql_queries
11
11
 
12
12
  Thread.current[:lograge_sql_queries] = nil
13
- { sql_queries: %('#{sql_queries.join("\n")}') }
13
+ {
14
+ sql_queries: %('#{sql_queries.join("\n")}'),
15
+ sql_queries_count: sql_queries.length
16
+ }
14
17
  end
15
18
  end
16
19
  end
@@ -1,5 +1,5 @@
1
1
  module Lograge
2
2
  module Sql
3
- VERSION = '0.1.5'
3
+ VERSION = '0.2.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lograge-sql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mattia Giuffrida
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-06-06 00:00:00.000000000 Z
11
+ date: 2018-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lograge
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  version: '0'
126
126
  requirements: []
127
127
  rubyforge_project:
128
- rubygems_version: 2.6.12
128
+ rubygems_version: 2.7.7
129
129
  signing_key:
130
130
  specification_version: 4
131
131
  summary: An extension for Lograge to log SQL queries