foreman_remote_execution 1.8.0 → 1.8.1

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: 4869e54ee272ae8778eadddd9c3f6304269d924c9d44c42a5f9253ab611eae3a
4
- data.tar.gz: ee709617e65b2cb1490c4881517083c48baa138b680ad2afd080936b6c06f19a
3
+ metadata.gz: c5d8da7ad9b461a4932cfcf889ae01725615e47cb0ae3e9a1afd4db5d4fbb362
4
+ data.tar.gz: c45ecafd15ab005d21baf9e7f69c3f32e1dc1d9edee6ec631aba0d45e5ca67d4
5
5
  SHA512:
6
- metadata.gz: f57be80e767108908fdd729bd05c640f541ef027d97d571a5ce9377d46a93fa9d32f0e326106f770086cd8d394efbfaa3790c486f1d90b34a437ec4a77b08331
7
- data.tar.gz: cf423d9c36a3469e627644256f1e0da661cb4ea69393eae8119b15af347b5500fdafb939a94fb9b4ca326359d8578b985b136b7320ea5c367f45f91cea903224
6
+ metadata.gz: 7475b9739f376c8bd758e761f9539563873489db03227ff16329ee5c03760d3183756d29fa5b6de886f3c1543f3bce1c0fa674f188ad49b605717bf685f2579f
7
+ data.tar.gz: a0fb2b4af055d1cc850457af507795198c532e86fe364e0baf989ad77e23a3b7120bef1a057907b3f98138aa771fb72e853e2939a8c5ad53794c9751ef732f74
@@ -1,3 +1,3 @@
1
1
  module ForemanRemoteExecution
2
- VERSION = '1.8.0'.freeze
2
+ VERSION = '1.8.1'.freeze
3
3
  end
@@ -2,8 +2,8 @@ FactoryBot.define do
2
2
  factory :job_template do
3
3
  sequence(:name) { |n| "Job template #{n}" }
4
4
  sequence(:job_category) { |n| "Job name #{n}" }
5
- template 'id'
6
- provider_type 'SSH'
5
+ template { 'id' }
6
+ provider_type { 'SSH' }
7
7
  organizations { [Organization.find_by(name: 'Organization 1')] } if SETTINGS[:organizations_enabled]
8
8
  locations { [Location.find_by(name: 'Location 1')] } if SETTINGS[:locations_enabled]
9
9
 
@@ -14,7 +14,7 @@ FactoryBot.define do
14
14
  end
15
15
 
16
16
  trait :with_description_format do
17
- description_format 'Factory-built %{job_category}'
17
+ description_format { 'Factory-built %{job_category}' }
18
18
  end
19
19
 
20
20
  trait :with_feature do
@@ -24,16 +24,16 @@ FactoryBot.define do
24
24
 
25
25
  factory :foreign_input_set
26
26
 
27
- factory :targeting do |f|
28
- search_query 'name = foo'
29
- targeting_type 'static_query'
27
+ factory :targeting do
28
+ search_query { 'name = foo' }
29
+ targeting_type { 'static_query' }
30
30
  user
31
31
  end
32
32
 
33
33
  factory :job_invocation do |f|
34
34
  targeting
35
35
  f.sequence(:job_category) { |n| "Job name #{n}" }
36
- f.description_format '%{job_category}'
36
+ f.description_format { "%{job_category}" }
37
37
  trait :with_template do
38
38
  after(:build) do |invocation, evaluator|
39
39
  invocation.pattern_template_invocations << FactoryBot.build(:template_invocation)
@@ -65,7 +65,7 @@ FactoryBot.define do
65
65
  f.sequence(:name) { |n| "Provider #{n}" }
66
66
  end
67
67
 
68
- factory :template_invocation do |f|
68
+ factory :template_invocation do
69
69
  job_invocation
70
70
  association :template, :factory => :job_template
71
71
 
@@ -101,14 +101,14 @@ end
101
101
  FactoryBot.modify do
102
102
  factory :feature do
103
103
  trait :ssh do
104
- name 'SSH'
104
+ name { 'SSH' }
105
105
  end
106
106
  end
107
107
 
108
108
  factory :smart_proxy do
109
109
  trait :ssh do
110
110
  features { [FactoryBot.create(:feature, :ssh)] }
111
- pubkey 'ssh-rsa AAAAB3N...'
111
+ pubkey { 'ssh-rsa AAAAB3N...' }
112
112
  end
113
113
  end
114
114
 
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: 1.8.0
4
+ version: 1.8.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: 2019-05-21 00:00:00.000000000 Z
11
+ date: 2019-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deface
@@ -424,7 +424,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
424
424
  version: '0'
425
425
  requirements: []
426
426
  rubyforge_project:
427
- rubygems_version: 2.7.6
427
+ rubygems_version: 2.7.3
428
428
  signing_key:
429
429
  specification_version: 4
430
430
  summary: A plugin bringing remote execution to the Foreman, completing the config