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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 04caabe088de056cf850bc8da2bde1e4a8b9d870c77edc555d09db1433f0cbdd
4
- data.tar.gz: e75075e1ff480b2e551bebf75ae9dbeed34bd724c8fe149b25e135cdb494329b
3
+ metadata.gz: c669fd925e4c5683e1c93692c4082493249c2f25ea8e4d45cbae04f00892c266
4
+ data.tar.gz: 6edf218705b1cc6b59b54f7011f3ab707c2a0c27ee0dbd11c361d1f69e1dc1d8
5
5
  SHA512:
6
- metadata.gz: 9281da26f4577e257a211f520773ff36d1ff91685d95f5416a27e36cdad3117b691fe4409847ba05742651b3e37831e9405d832cef438bab883d594c6081ec7d
7
- data.tar.gz: a5925f0601d945a35a6707ad3beba5c5b4bf8ba06e7f7eea3f775e73d8e33f0d6673724bf79dd996bd0dde1687ffb314c1e91e01c9dc6b08a13bcfca93beb198
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)
@@ -1,3 +1,3 @@
1
1
  module RestashRails
2
- VERSION = '0.2.6'
2
+ VERSION = '0.2.7'
3
3
  end
@@ -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.6
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: 2017-11-13 00:00:00.000000000 Z
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
- rubyforge_project:
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.