active_spy 1.3.7 → 1.3.8
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 +6 -2
- 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: 175b2633f946d4be05ff26032bb63ce4a9a6a251
|
4
|
+
data.tar.gz: 541b822cf2559a57dee0624d27b6110b3c951dbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c853ef9af0b3f95caf6da74223fab48d906dd17ad6869da34046961d1ec7ebaba3b987e2a4cd3edb0c8c78bb50a0f0c615137f19d8290c34309611cbf9062fc
|
7
|
+
data.tar.gz: 1125f1630060496f43fb6ca53afd1d9a9aaba281c88a1d9aee92b88ca1a4b68467a04310d407f033cb5f980199c334b84166bcecaf7a1bd2bbaf6e1cf568a518
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.3.
|
1
|
+
1.3.8
|
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.8 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.8"
|
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"]
|
@@ -66,8 +66,12 @@ module ActiveSpy
|
|
66
66
|
def send_event_request
|
67
67
|
host = ActiveSpy::Configuration.event_host
|
68
68
|
port = ActiveSpy::Configuration.event_port
|
69
|
-
|
70
|
-
|
69
|
+
begin
|
70
|
+
response = RestClient.post "#{host}:#{port}/events", @event_json,
|
71
|
+
content_type: :json
|
72
|
+
rescue => e
|
73
|
+
::Rails.logger.info(e.response)
|
74
|
+
end
|
71
75
|
if defined?(Rails) && !ActiveSpy::Configuration.development_mode
|
72
76
|
::Rails.logger.info('[SPY] Event sent to event-runner.')
|
73
77
|
::Rails.logger.info("[SPY] Event-runner response code: #{response.code}")
|