active_spy 1.3.6 → 1.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/active_spy.gemspec +2 -2
- data/lib/active_spy/rails/base.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3de836e949efc4872a29990faab7d43ed91de313
|
4
|
+
data.tar.gz: 624ee09fa7ed79efd562af71d89222f904bbec09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63a31f3a8432a1d7645c2087df9c843804728b64f40d817e4b7541b59c95f04aaa1a747a65402c8a4f074d3af2264014640d4caddca5ceec4244e3274acd4a5e
|
7
|
+
data.tar.gz: 3755ebd549c4839212dafa25fcf98771edbf749fe15a194aac3291c0154d6cf13362501826e3acb323d2fbb9fbe1a99d4795d624f56a735671033335dd00c4f5
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.3.
|
1
|
+
1.3.7
|
data/active_spy.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: active_spy 1.3.
|
5
|
+
# stub: active_spy 1.3.7 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "active_spy"
|
9
|
-
s.version = "1.3.
|
9
|
+
s.version = "1.3.7"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
@@ -68,7 +68,7 @@ module ActiveSpy
|
|
68
68
|
port = ActiveSpy::Configuration.event_port
|
69
69
|
response = RestClient.post "#{host}:#{port}/events", @event_json,
|
70
70
|
content_type: :json
|
71
|
-
if defined?(Rails)
|
71
|
+
if defined?(Rails) && !ActiveSpy::Configuration.development_mode
|
72
72
|
::Rails.logger.info('[SPY] Event sent to event-runner.')
|
73
73
|
::Rails.logger.info("[SPY] Event-runner response code: #{response.code}")
|
74
74
|
::Rails.logger.info("[SPY] Event-runner response: #{response.body}")
|