prosopite 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/prosopite.rb +3 -3
- data/lib/prosopite/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee716d76f55fb9565d095bccdc3efe3b6a42efed5a54c6234cc3980c5645744d
|
4
|
+
data.tar.gz: 80f39f64cb6ee4b8498634fe027b9a40cff73b9d56c8cf5e179cdbdb4bf9b94c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84fc5d34a6cefec4a47e093c0ea1d0c87821243feb7b43884b6700b645757147e10a6591f96c8f5d7b60ece6d5aa33b71525b51e229faf613e9c17a965986b6a
|
7
|
+
data.tar.gz: '096290a4591a43dd98b557b6ef356b2fa87e8f6900f8ed925b906a9705fce6238f60e37664f8734c3eae526bc15d3b687599c6ee154280f5b60f5f5b9d37efbc'
|
data/Gemfile.lock
CHANGED
data/lib/prosopite.rb
CHANGED
@@ -153,8 +153,8 @@ module Prosopite
|
|
153
153
|
end
|
154
154
|
|
155
155
|
def subscribe
|
156
|
-
|
157
|
-
return if
|
156
|
+
@subscribed ||= false
|
157
|
+
return if @subscribed
|
158
158
|
|
159
159
|
ActiveSupport::Notifications.subscribe 'sql.active_record' do |_, _, _, _, data|
|
160
160
|
sql = data[:sql]
|
@@ -171,7 +171,7 @@ module Prosopite
|
|
171
171
|
end
|
172
172
|
end
|
173
173
|
|
174
|
-
|
174
|
+
@subscribed = true
|
175
175
|
end
|
176
176
|
end
|
177
177
|
end
|
data/lib/prosopite/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prosopite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mpampis Kostas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-03-
|
11
|
+
date: 2021-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg_query
|