activeinsights 1.3.0 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ee74ccb0286c40e6d26ff5d8afc796accaf4941632e517e975eddf0fe362106c
4
- data.tar.gz: 39ebc303db5774d2b8215065a8b524071bc20fa8b3261111b8ad01071301acd1
3
+ metadata.gz: c98fd19255b0e32b2a0cfe9689c17f23858154c14752b247f705e92dd8424664
4
+ data.tar.gz: ec0cbd91c5bde5e62d632ea532ec234262993db18daaafe1e4199534511bbc8b
5
5
  SHA512:
6
- metadata.gz: cbba0c03ad4a0a8c63be5c9aed3fc336b0389f86a28319c10efb75e946ec4d8994aec453bfd446f8d1b79268b070f2a784577f23ae9309969a105de894216e04
7
- data.tar.gz: 3f7f01153b7f7c2560a8234178830b0c7fd22cc9b9d2cde366982c8de3a1ad37e1fc3cd12659c4cfae6300a47fde9fddb31ebc27a1ef7695701633c68dfcb291
6
+ metadata.gz: 63e35563cd967f515536f022feb89f0e24e678ad872679f7cd6e4f90bbe140172d8c698365516f150fd8529f22ba0ea514fa6587a7f1a200e85d0b17cdd71329
7
+ data.tar.gz: 74a9541bef1d17cd9005fe240978aa96a26afcd58ba597d15bae6c02dd4ffee9db48a6ee0e1cc78f0e0d6226a9ea8a57c010a3f7afa6a127a5bb0f31585a404a
@@ -3,7 +3,7 @@
3
3
  module ActiveInsights
4
4
  class Request < ::ActiveInsights::Record
5
5
  def self.setup(started, finished, unique_id, payload)
6
- req = paylooad[:request]
6
+ req = payload[:request]
7
7
 
8
8
  create!(started_at: started, ip_address: req.remote_ip,
9
9
  finished_at: finished, uuid: unique_id,
@@ -42,7 +42,7 @@ module ActiveInsights
42
42
  !ActiveInsights.enabled?
43
43
 
44
44
  Thread.new do
45
- ActiveRecord::Base.connection_pool.with_connection do
45
+ Rails.application.executor.wrap do
46
46
  ActiveInsights::Request.
47
47
  setup(started, finished, unique_id, payload)
48
48
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveInsights
4
- VERSION = "1.3.0"
4
+ VERSION = "1.3.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeinsights
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Pezza
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-16 00:00:00.000000000 Z
11
+ date: 2025-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chartkick