metatron 0.11.1 → 0.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 637a01440642c97b47387f9de1865755b910c2ea65a875942fb1a93baf222092
4
- data.tar.gz: 6a490b15624d363fb64099c8b8218e5814a2d0b4a263391f11441d409cce21da
3
+ metadata.gz: 172d36a4cdb46cbfce74e2f31002c3b6706b1ff9a328d6b44dc919c444d8bed3
4
+ data.tar.gz: 8ebd13c4d65b6b2f07eab819a3ba7ed2d50dbfc63f2b83fcaafe642bdf51b7cd
5
5
  SHA512:
6
- metadata.gz: 817b348a265c5f447614e4e7cfb486ddc8fa9f95225f3750a2f0beb5ecd13c5fac252b3d82a3a941d52db472055897acb1202702f7279b3b56cfaa88c8aafa07
7
- data.tar.gz: 1e3178a2e560588fe36cf8c933862805f07facd1e583f71edbb872bd1075c6cd650c3c49e4334a5a0a3261c469c0960a171b47ea6b9b0eca655ada86f289dd24
6
+ metadata.gz: bca6a3fbe34796dfbf322222f0f10b02cd31a33a99940a6e11789ea01066df8ea1f13701a91a2bae6918b3e5cb8f89ba3d0e768d711fb9dba7205a46b905b8b9
7
+ data.tar.gz: 62e5d5740817bf1767d2eab44309cf5ced41380dcd8ad1015ff89ce3ebc1bf9d7dc5debd3ffba15d5fa5f312edebddb6f979203954bb22eee8f93b87cbfc746c
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "0.11.1"
2
+ ".": "0.11.2"
3
3
  }
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.11.2](https://github.com/jgnagy/metatron/compare/metatron/v0.11.1...metatron/v0.11.2) (2025-06-18)
4
+
5
+
6
+ ### Features
7
+
8
+ * Add additional features to cron job template ([5585c58](https://github.com/jgnagy/metatron/commit/5585c58148ce45c222a58b50a420979d4ae672cb))
9
+
3
10
  ## [0.11.1](https://github.com/jgnagy/metatron/compare/metatron/v0.11.0...metatron/v0.11.1) (2025-04-11)
4
11
 
5
12
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- metatron (0.11.1)
4
+ metatron (0.11.2)
5
5
  base64
6
6
  json (~> 2.6)
7
7
  rack (>= 2.2.8, < 4)
@@ -25,9 +25,9 @@ GEM
25
25
  language_server-protocol (3.17.0.4)
26
26
  lint_roller (1.1.0)
27
27
  logger (1.6.6)
28
- nokogiri (1.18.4-arm64-darwin)
28
+ nokogiri (1.18.8-arm64-darwin)
29
29
  racc (~> 1.4)
30
- nokogiri (1.18.4-x86_64-linux-gnu)
30
+ nokogiri (1.18.8-x86_64-linux-gnu)
31
31
  racc (~> 1.4)
32
32
  observer (0.1.2)
33
33
  ostruct (0.6.1)
@@ -36,7 +36,7 @@ GEM
36
36
  ast (~> 2.4.1)
37
37
  racc
38
38
  racc (1.8.1)
39
- rack (3.1.12)
39
+ rack (3.1.16)
40
40
  rack-test (2.2.0)
41
41
  rack (>= 1.3)
42
42
  rainbow (3.1.1)
@@ -10,13 +10,16 @@ module Metatron
10
10
 
11
11
  attr_accessor :schedule, :suspend, :concurrency_policy, :starting_deadline_seconds,
12
12
  :successful_jobs_history_limit, :failed_jobs_history_limit,
13
- :backoff_limit
13
+ :job_active_deadline_seconds, :ttl_seconds_after_finished,
14
+ :backoff_limit, :time_zone
14
15
 
15
16
  alias backoffLimit backoff_limit
16
17
  alias concurrencyPolicy concurrency_policy
17
18
  alias startingDeadlineSeconds starting_deadline_seconds
18
19
  alias successfulJobsHistoryLimit successful_jobs_history_limit
19
20
  alias failedJobsHistoryLimit failed_jobs_history_limit
21
+ alias timeZone time_zone
22
+ alias ttlSecondsAfterFinished ttl_seconds_after_finished
20
23
 
21
24
  def initialize(name, schedule = "* * * * *")
22
25
  super(name)
@@ -40,9 +43,12 @@ module Metatron
40
43
  startingDeadlineSeconds:,
41
44
  successfulJobsHistoryLimit:,
42
45
  failedJobsHistoryLimit:,
46
+ timeZone:,
43
47
  jobTemplate: {
44
48
  spec: {
45
- backoffLimit:
49
+ activeDeadlineSeconds: job_active_deadline_seconds,
50
+ backoffLimit:,
51
+ ttlSecondsAfterFinished:
46
52
  }.merge(pod_template).compact
47
53
  }.merge(formatted_tolerations).compact
48
54
  }.compact
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Metatron
4
- VERSION = "0.11.1"
4
+ VERSION = "0.11.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metatron
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 0.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Gnagy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-04-11 00:00:00.000000000 Z
11
+ date: 2025-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64