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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 77a2d861398e1f7a76cc71705f68d1f7287ca1343b3bd8fcf7e909f941682125
4
- data.tar.gz: 586d0e356edfb83152c538bc4b017d9e8009d6fcd1ba746ec2cf677a97ea7f23
3
+ metadata.gz: ee716d76f55fb9565d095bccdc3efe3b6a42efed5a54c6234cc3980c5645744d
4
+ data.tar.gz: 80f39f64cb6ee4b8498634fe027b9a40cff73b9d56c8cf5e179cdbdb4bf9b94c
5
5
  SHA512:
6
- metadata.gz: 3c4e9d238b5f10d8f57531d84024758d3a6e05b4b3cefb49317c1576a0cbcf71287bcd77050ddfc073b1f03cdb3a601bb6f33a49f4488f7ab4483f51f19e7af0
7
- data.tar.gz: 3f22640ed22014cd38f47e770de44253314e134192745fc3abf43d14374d815d249929f4e1dd754c46318e579ee40cf1b76ba90aa7009dd18c15f42a642aa39c
6
+ metadata.gz: 84fc5d34a6cefec4a47e093c0ea1d0c87821243feb7b43884b6700b645757147e10a6591f96c8f5d7b60ece6d5aa33b71525b51e229faf613e9c17a965986b6a
7
+ data.tar.gz: '096290a4591a43dd98b557b6ef356b2fa87e8f6900f8ed925b906a9705fce6238f60e37664f8734c3eae526bc15d3b687599c6ee154280f5b60f5f5b9d37efbc'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- prosopite (0.1.5)
4
+ prosopite (0.1.6)
5
5
  pg_query (~> 1.3)
6
6
 
7
7
  GEM
data/lib/prosopite.rb CHANGED
@@ -153,8 +153,8 @@ module Prosopite
153
153
  end
154
154
 
155
155
  def subscribe
156
- tc[:prosopite_subscribed] ||= false
157
- return if tc[:prosopite_subscribed]
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
- tc[:prosopite_subscribed] = true
174
+ @subscribed = true
175
175
  end
176
176
  end
177
177
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Prosopite
4
- VERSION = "0.1.6"
4
+ VERSION = "0.1.7"
5
5
  end
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.6
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-06 00:00:00.000000000 Z
11
+ date: 2021-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg_query