foreman_remote_execution 4.3.0 → 4.3.1

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: f170eb66eb23ab9e671ff1137c9ca830041743eb83836947cf11da32432f119d
4
- data.tar.gz: 0f4d52cce40bc8c9f89eb4e65242b1e3a25e4d0ce5ba9cf24b5fc9ff23346267
3
+ metadata.gz: 799c1e90dc4a413af8f803ce9cce5ba32fbb89bcff68413c1650cfdd94fae5c3
4
+ data.tar.gz: f804a0e85491bf08cb9500cf7e8376033b94aff50fb3027785f6e4bb64aee895
5
5
  SHA512:
6
- metadata.gz: 5964ee1b1bc9b3983f6f2677f9e38dbaf41416d16ace8ee1dcfc43f63d7250154b62722b191cc62b2b29c073d8035e0f813d5e576db167b05b1a2ea56cef6ce4
7
- data.tar.gz: 3cf702ec56abf119a67f6bbbd1a0d2b6b2dbb067ee99ea31735d2b5bcedc87b194d992e48ffcfe8848799cc16eb872623523d73d16b5f8e6ddd8d47400d51e80
6
+ metadata.gz: dbe304879e6b23a473b6d25f11c7a2937b4aeb20a5053ae8824a04d2644f0794630e9d45f6d2065909fdac0044ec252a691a84d8d8c6b62283f6d9a5a2b17548
7
+ data.tar.gz: 2b019cc3d21335a63dae39d3dad2387fc4ce075fb5e51a50eb39957bb7cc0e979def38e401b81ff473552a46b6f588c7ad99158a98bfb76032cff4763633200f
@@ -199,7 +199,7 @@ module Actions
199
199
  apipie :class, "An action representing execution of a job against a host" do
200
200
  name 'Actions::RemoteExecution::RunHostJob'
201
201
  refs 'Actions::RemoteExecution::RunHostJob'
202
- sections only: %w[webhooks]
202
+ sections only: %w[all webhooks]
203
203
  property :task, object_of: 'Task', desc: 'Returns the task to which this action belongs'
204
204
  property :host_name, String, desc: "Returns the name of the host"
205
205
  property :host_id, Integer, desc: "Returns the id of the host"
@@ -6,6 +6,7 @@ module ForemanRemoteExecution
6
6
  extend ApipieDSL::Class
7
7
 
8
8
  attr_reader :template, :host, :invocation, :input_template_instance, :current_user
9
+ attr_accessor :error_message
9
10
  delegate :input, to: :input_template_instance
10
11
 
11
12
  apipie :class, 'Macros related to template rendering' do
@@ -1,3 +1,3 @@
1
1
  module ForemanRemoteExecution
2
- VERSION = '4.3.0'.freeze
2
+ VERSION = '4.3.1'.freeze
3
3
  end
@@ -20,26 +20,9 @@ namespace :test do
20
20
  end
21
21
  end
22
22
 
23
- namespace :foreman_remote_execution do
24
- task :rubocop do
25
- begin
26
- require 'rubocop/rake_task'
27
- RuboCop::RakeTask.new(:rubocop_foreman_remote_execution) do |task|
28
- task.patterns = ["#{ForemanRemoteExecution::Engine.root}/app/**/*.rb",
29
- "#{ForemanRemoteExecution::Engine.root}/lib/**/*.rb",
30
- "#{ForemanRemoteExecution::Engine.root}/test/**/*.rb"]
31
- end
32
- rescue
33
- puts 'Rubocop not loaded.'
34
- end
35
-
36
- Rake::Task['rubocop_foreman_remote_execution'].invoke
37
- end
38
- end
39
-
40
23
  Rake::Task[:test].enhance ['test:foreman_remote_execution']
41
24
 
42
25
  load 'tasks/jenkins.rake'
43
26
  if Rake::Task.task_defined?(:'jenkins:unit')
44
- Rake::Task['jenkins:unit'].enhance ['test:foreman_remote_execution', 'foreman_remote_execution:rubocop']
27
+ Rake::Task['jenkins:unit'].enhance ['test:foreman_remote_execution']
45
28
  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: 4.3.0
4
+ version: 4.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Foreman Remote Execution team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-22 00:00:00.000000000 Z
11
+ date: 2021-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deface