restash_rails 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/restash_rails/resque/plugins/restash_logger.rb +4 -4
- data/lib/restash_rails/version.rb +1 -1
- data/restash_rails.gemspec +0 -1
- metadata +3 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c669fd925e4c5683e1c93692c4082493249c2f25ea8e4d45cbae04f00892c266
|
4
|
+
data.tar.gz: 6edf218705b1cc6b59b54f7011f3ab707c2a0c27ee0dbd11c361d1f69e1dc1d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1b942e3de9733687fdeda83a1d11185b0eecc375b95131ea0becb887d31f85fd02c8fe67f608c618a55555fdd397754223f8cf355cf682f3a20da7a8a1b7a13
|
7
|
+
data.tar.gz: 316e7ae67fcc32dcdfde1f2ae7d91b2f8cb6bb32fbfa7a599d95bb4b90f69bea64de4200ba8e5e6e91e6ab2eaa533caf65c8ed0f886a4d9b1f4adb6cb9e93c96
|
@@ -5,12 +5,12 @@ module Resque
|
|
5
5
|
def before_perform_logstash_logger(*args)
|
6
6
|
@resque_job_uuid = SecureRandom.uuid
|
7
7
|
@job_start_time = Time.now
|
8
|
-
log 'Executing', args
|
8
|
+
log 'Executing', args, :debug
|
9
9
|
end
|
10
10
|
|
11
11
|
def after_perform_logstash_logger(*args)
|
12
12
|
@job_end_time = Time.now
|
13
|
-
log 'Finished', args
|
13
|
+
log 'Finished', args, :debug
|
14
14
|
end
|
15
15
|
|
16
16
|
def on_failure_logstash_logger(*args)
|
@@ -20,11 +20,11 @@ module Resque
|
|
20
20
|
|
21
21
|
# Executed on the enqueueing instance
|
22
22
|
def after_enqueue_logstash_logger(*args)
|
23
|
-
log 'Enqueued', args
|
23
|
+
log 'Enqueued', args, :debug
|
24
24
|
end
|
25
25
|
|
26
26
|
def after_schedule_send_monitor_data(*args)
|
27
|
-
log 'Scheduled', args
|
27
|
+
log 'Scheduled', args, :debug
|
28
28
|
end
|
29
29
|
|
30
30
|
def log(log_message, args, severity = :info)
|
data/restash_rails.gemspec
CHANGED
@@ -19,7 +19,6 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ['lib']
|
21
21
|
|
22
|
-
spec.add_development_dependency 'bundler', '~> 1.10'
|
23
22
|
spec.add_development_dependency 'rake', '~> 10.0'
|
24
23
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
25
24
|
spec.add_dependency 'rails'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: restash_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- dmitri86git
|
@@ -10,22 +10,8 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2019-06-03 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
|
-
- !ruby/object:Gem::Dependency
|
16
|
-
name: bundler
|
17
|
-
requirement: !ruby/object:Gem::Requirement
|
18
|
-
requirements:
|
19
|
-
- - "~>"
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '1.10'
|
22
|
-
type: :development
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
requirements:
|
26
|
-
- - "~>"
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
version: '1.10'
|
29
15
|
- !ruby/object:Gem::Dependency
|
30
16
|
name: rake
|
31
17
|
requirement: !ruby/object:Gem::Requirement
|
@@ -139,8 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
125
|
- !ruby/object:Gem::Version
|
140
126
|
version: '0'
|
141
127
|
requirements: []
|
142
|
-
|
143
|
-
rubygems_version: 2.7.2
|
128
|
+
rubygems_version: 3.0.3
|
144
129
|
signing_key:
|
145
130
|
specification_version: 4
|
146
131
|
summary: This gem sends your Rails application logs to logstash.
|