yabeda-activejob 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/yabeda/activejob/version.rb +1 -1
- data/lib/yabeda/activejob.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3c22dd8f72f9eb6bfe6e70ab014b7e0dfe539df47f08127474fc7fc08f14b5b
|
4
|
+
data.tar.gz: 2b25afaacc5fbe787c23e2c8d8e69ea44e8b8ca569714c68043fef8de6683bf5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7ec04003b26361f39904f30c55421032897aba30e3a896318ae1ec6ecb91ea0095aed31220f3f6d0345150e61522129c4c132624869bf16b4f31570e393a94e
|
7
|
+
data.tar.gz: e45c270929a89d80add771fa8da32e45332ca4fb02ca2cc6906192daad1a5c33687efad3d4ef5e73a490323961bc2a9ccdd997cd999edabeae412de2d86cd3bc
|
data/lib/yabeda/activejob.rb
CHANGED
@@ -96,7 +96,7 @@ module Yabeda
|
|
96
96
|
enqueue_time = event.payload[:job].enqueued_at
|
97
97
|
return nil unless enqueue_time.present?
|
98
98
|
|
99
|
-
enqueue_time = Time.parse(enqueue_time).utc
|
99
|
+
enqueue_time = Time.parse(enqueue_time).utc unless enqueue_time.is_a?(Time)
|
100
100
|
perform_at_time = Time.parse(event.end.to_s).utc
|
101
101
|
(perform_at_time - enqueue_time)
|
102
102
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yabeda-activejob
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fullscript
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -128,7 +128,7 @@ metadata:
|
|
128
128
|
homepage_uri: https://github.com/Fullscript/yabeda-activejob
|
129
129
|
source_code_uri: https://github.com/Fullscript/yabeda-activejob
|
130
130
|
changelog_uri: https://github.com/Fullscript/yabeda-activejob/CHANGELOG.md
|
131
|
-
post_install_message:
|
131
|
+
post_install_message:
|
132
132
|
rdoc_options: []
|
133
133
|
require_paths:
|
134
134
|
- lib
|
@@ -143,8 +143,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
143
143
|
- !ruby/object:Gem::Version
|
144
144
|
version: '0'
|
145
145
|
requirements: []
|
146
|
-
rubygems_version: 3.
|
147
|
-
signing_key:
|
146
|
+
rubygems_version: 3.3.7
|
147
|
+
signing_key:
|
148
148
|
specification_version: 4
|
149
149
|
summary: Yabeda Prometheus exporter for monitoring your activejobs
|
150
150
|
test_files: []
|