activeinsights 0.1.0 → 0.1.1

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: e4eaa4679af5bdd26c11fee43867a9fb1dd49604962280c7adf7542a55e996ff
4
- data.tar.gz: 8cf132a8cb971a91c0f3bac654de0cfc43e6ee6a0d3e858a5ef09bffcf3fdd01
3
+ metadata.gz: ba9b12cbc1e8d149b38d87f9f1ed83504454cd460917dbd9a4b376be1b076ac4
4
+ data.tar.gz: 2a9d263f315e786b8ea12d7017e629f1003f0af825007b928591101d44d63178
5
5
  SHA512:
6
- metadata.gz: 70cad20e56ce23648fae3e31e35846fdaa936e90326e81767ab80a65363b3e5a63ca4d39db2496584ba9318c7e6f836e368f2551baf8dec5bbb28194e668c3fc
7
- data.tar.gz: 940ee1ff0796fea342a072aadd51e1f81224e6c1f26cbd4f392fa5552630cb78b07c82bad331d729f3b2dd5e02e3f77f206bf674f0684dc2a2b576012b8a6b10
6
+ metadata.gz: 974a8bc81700d50ebb6b4348b6f4edbb45e9d16d0aff0af30aa6f6b977e7b945081108b10171b4dfd467b87d66097a086f742294b60b974862cd55ef66553b35
7
+ data.tar.gz: 4d816b024d1c674ec8f7cb59b8c5a6d63a50a386496fd8126e3c57216ecae0c67df877578fbedce7a5e1c4aee46a11830a1048adfcb575d74a3296da35fd1fb6
@@ -20,6 +20,8 @@ module ActiveInsights
20
20
  ActiveSupport::Notifications.
21
21
  subscribe("process_action.action_controller") do |_name,
22
22
  started, finished, unique_id, payload|
23
+ next if Rails.env.development?
24
+
23
25
  Thread.new do
24
26
  ActiveRecord::Base.connection_pool.with_connection do
25
27
  ActiveInsights::Request.create!(
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveInsights
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeinsights
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Pezza