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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3da58bbe370af6fa52cd9021520491f692d4310ea5dcd93d27b0f78eaf5c940b
4
- data.tar.gz: b3a955f99cfe4482a9cd1da53720967ee508e3b62bbe430a16eaf46e583e00d1
3
+ metadata.gz: c3c22dd8f72f9eb6bfe6e70ab014b7e0dfe539df47f08127474fc7fc08f14b5b
4
+ data.tar.gz: 2b25afaacc5fbe787c23e2c8d8e69ea44e8b8ca569714c68043fef8de6683bf5
5
5
  SHA512:
6
- metadata.gz: 9264ea6fc38f7c9aa81543e17dca965a4a68e141bddfaa578e51859a8177d70e1cee195f088f0f9964a70077411f1717478489581a1f2b3b4124d16a893d1b40
7
- data.tar.gz: c7b404f2a8a05c024df6c81d6720dccfaa6a55ba64fcc9e73ada1035720a29fa2903d1e39ff6377f5a73e89b469781c8a5d6a54fed5d91b5b54be7c9a280b82f
6
+ metadata.gz: e7ec04003b26361f39904f30c55421032897aba30e3a896318ae1ec6ecb91ea0095aed31220f3f6d0345150e61522129c4c132624869bf16b4f31570e393a94e
7
+ data.tar.gz: e45c270929a89d80add771fa8da32e45332ca4fb02ca2cc6906192daad1a5c33687efad3d4ef5e73a490323961bc2a9ccdd997cd999edabeae412de2d86cd3bc
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Yabeda
4
4
  module ActiveJob
5
- VERSION = "0.4.0"
5
+ VERSION = "0.5.0"
6
6
  end
7
7
  end
@@ -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.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: 2022-11-04 00:00:00.000000000 Z
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.1.6
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: []