foreman_remote_execution 12.0.2 → 12.0.5

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: 230bf89e8ad5ca9add72085b2d338562ca756f08fb9ce3837b588a4f295a5336
4
- data.tar.gz: 6e55dc4a21cc35f4402d3f0056c073d28b7e911dafdaf2c9410642fcd397ad86
3
+ metadata.gz: ede59838c9c04b72c60f470fd80907bbaa1f74c8e22da68141fe73f57a400615
4
+ data.tar.gz: bb6a7af28e60648675c023c171fb0862d553f0d9efc731c3ae9d2cea2b05a4ac
5
5
  SHA512:
6
- metadata.gz: ea882c01f9c360df7d5b4def426a4d3a43c7401a805642bf934fdab828c936463e2373f2c7bfd10e68a7e4d46d217f092275f2a07e434335fd2afb641b136678
7
- data.tar.gz: e11419f9dbad58f603d49999ac9e22c6c9416176e728b6ec611228d5744990e8d4d0b51f5f0f48aa56705011276419501484b4215a06ad696d6cf5e2c12519fe
6
+ metadata.gz: 9c64f0973da8c5fac27e348982534c05e53b41f7e6e50ecbd520a28727944c531aeaefd04b79a7c34d1d11f57aafddc11a9ee14cb66a1f6e4143843ef9190eb8
7
+ data.tar.gz: 3144ac48e0c92a76dd7fc4015259fb249b48a9cb265b0515f0a6fbf2ccf55963ee88a698578be51d8a272fbdb7cc8dcec2ad36068c39aa3ff607abdccf6b64c1
@@ -18,7 +18,7 @@ module RemoteExecutionHelper
18
18
  end
19
19
 
20
20
  def template_invocation_status(task, parent_task)
21
- return(parent_task.result == 'cancelled' ? _('cancelled') : 'N/A') if task.nil?
21
+ return(parent_task.result == 'cancelled' ? _('cancelled') : _('Awaiting start')) if task.nil?
22
22
  return task.state if task.state == 'running' || task.state == 'planned'
23
23
  return _('error') if task.result == 'warning'
24
24
 
@@ -77,6 +77,11 @@ class JobInvocation < ApplicationRecord
77
77
  :ext_method => :search_by_recurring_logic, :only_explicit => true,
78
78
  :complete_value => { :true => true, :false => false }
79
79
 
80
+ validates :concurrency_level, :numericality => {
81
+ :allow_nil => true,
82
+ :greater_than => 0,
83
+ }
84
+
80
85
  default_scope -> { order('job_invocations.id DESC') }
81
86
 
82
87
  scope :latest_jobs, -> { unscoped.joins(:task).order('foreman_tasks_tasks.start_at DESC').authorized(:view_job_invocations).limit(5) }
@@ -1,3 +1,3 @@
1
1
  module ForemanRemoteExecution
2
- VERSION = '12.0.2'.freeze
2
+ VERSION = '12.0.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_remote_execution
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.0.2
4
+ version: 12.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Foreman Remote Execution team
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-04 00:00:00.000000000 Z
11
+ date: 2024-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deface
@@ -575,7 +575,7 @@ homepage: https://github.com/theforeman/foreman_remote_execution
575
575
  licenses:
576
576
  - GPL-3.0
577
577
  metadata: {}
578
- post_install_message:
578
+ post_install_message:
579
579
  rdoc_options: []
580
580
  require_paths:
581
581
  - lib
@@ -593,8 +593,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
593
593
  - !ruby/object:Gem::Version
594
594
  version: '0'
595
595
  requirements: []
596
- rubygems_version: 3.1.6
597
- signing_key:
596
+ rubygems_version: 3.3.26
597
+ signing_key:
598
598
  specification_version: 4
599
599
  summary: A plugin bringing remote execution to the Foreman, completing the config
600
600
  management functionality with remote management functionality.