foreman_ansible 13.0.2 → 13.0.3
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 72f523c6510ef86f864e87e6861cacd4e3d60aa051775c7a2c8fcc358f9c5dd3
|
|
4
|
+
data.tar.gz: 4b3286903ba586efe5cded3fc51d4e62ea4379531a9880eda70b0e16b220fda8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 222813ad1bafba9d441710ecc46c0c2a046441235d88872c68c869c786798761657ff0461bc416f392c4757cf7142433abc0522bea4d43b770e49fe71eba50e2
|
|
7
|
+
data.tar.gz: b975529508ecec0dca43053d04145519aa104a2233c5420cc55bce56247b79588a9328bda0571b6216fb5954cef9696889c0f52db1e1f791581ca717bada89e6
|
data/Rakefile
CHANGED
|
@@ -7,15 +7,6 @@ rescue LoadError
|
|
|
7
7
|
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
|
8
8
|
end
|
|
9
9
|
|
|
10
|
-
require 'rake/testtask'
|
|
11
|
-
Rake::TestTask.new('test:core') do |test|
|
|
12
|
-
test_dir = File.join(File.dirname(__FILE__), 'test/lib')
|
|
13
|
-
test.pattern = "#{test_dir}/**/*_test.rb"
|
|
14
|
-
test.libs << test_dir
|
|
15
|
-
test.verbose = false
|
|
16
|
-
test.warning = false
|
|
17
|
-
end
|
|
18
|
-
|
|
19
10
|
begin
|
|
20
11
|
require 'rubocop/rake_task'
|
|
21
12
|
RuboCop::RakeTask.new
|
data/test/test_plugin_helper.rb
CHANGED
|
@@ -28,7 +28,7 @@ def assert_job_invocation_is_ok(response, targets)
|
|
|
28
28
|
assert_equal 'Ansible Playbook', response['job_category']
|
|
29
29
|
assert_response :created
|
|
30
30
|
end
|
|
31
|
-
plugin_factories_path = File.join(
|
|
31
|
+
plugin_factories_path = File.join(__dir__, 'factories')
|
|
32
32
|
rex_factories_path = "#{ForemanRemoteExecution::Engine.root}/test/factories"
|
|
33
33
|
FactoryBot.definition_file_paths << rex_factories_path
|
|
34
34
|
FactoryBot.definition_file_paths << plugin_factories_path
|
data/webpack/components/AnsibleHostDetail/components/AnsibleVariableOverrides/EditableValue.js
CHANGED
|
@@ -22,7 +22,11 @@ const EditableValue = props => {
|
|
|
22
22
|
<TextAreaField
|
|
23
23
|
aria-label="Edit override field"
|
|
24
24
|
onChange={props.onChange}
|
|
25
|
-
value={
|
|
25
|
+
value={
|
|
26
|
+
typeof props.value === 'object'
|
|
27
|
+
? JSON.stringify(props.value)
|
|
28
|
+
: props.value
|
|
29
|
+
}
|
|
26
30
|
validation={props.validation}
|
|
27
31
|
isDisabled={props.working}
|
|
28
32
|
/>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foreman_ansible
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 13.0.
|
|
4
|
+
version: 13.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel Lobato Garcia
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2024-01-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: acts_as_list
|
|
@@ -528,7 +528,6 @@ test_files:
|
|
|
528
528
|
- test/graphql/mutations/hosts/assign_ansible_roles_mutation_test.rb
|
|
529
529
|
- test/graphql/queries/ansible_roles_query_test.rb
|
|
530
530
|
- test/graphql/queries/host_ansible_roles_query_test.rb
|
|
531
|
-
- test/test_plugin_helper.rb
|
|
532
531
|
- test/unit/ansible_role_test.rb
|
|
533
532
|
- test/unit/ansible_variable_test.rb
|
|
534
533
|
- test/unit/concerns/config_reports_extensions_test.rb
|
|
@@ -551,3 +550,4 @@ test_files:
|
|
|
551
550
|
- test/unit/services/ui_roles_importer_test.rb
|
|
552
551
|
- test/unit/ansible_provider_test.rb
|
|
553
552
|
- test/integration/hostgroup_js_test.rb
|
|
553
|
+
- test/test_plugin_helper.rb
|