foreman_remote_execution 7.2.1 → 7.2.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7d32320885b2dc2343cf6efc7c1f7b0f4ac1e0668ea3d0c2dc817c691f1e7d2
|
4
|
+
data.tar.gz: 0655a041907bc30339ac53479220adb5434b20f7e6f38d5ce843dfb675f375cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 307bb3022d6fca4c61897443448638d84069ce943abb08d63b4e7de99cebdcf4f9956b9aed33c6e3effe2dad9a897c8981e80c775866ea5f32081ddf8950606d
|
7
|
+
data.tar.gz: b32a13df6917c8d41832b66dce88ecdc55383e296e250cbdecfb935f162b5e6e42fb694d57a7338ef6c5c102be9c6a6d2c2e95e1b04df9ac7bfa115b469364c1
|
@@ -56,6 +56,28 @@ class RemoteExecutionProviderTest < ActiveSupport::TestCase
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
+
describe '.proxy_feature' do
|
60
|
+
# rubocop:disable Naming/ConstantName
|
61
|
+
it 'handles provider subclasses properly' do
|
62
|
+
old = ::RemoteExecutionProvider
|
63
|
+
|
64
|
+
class P2 < old
|
65
|
+
end
|
66
|
+
::RemoteExecutionProvider = P2
|
67
|
+
|
68
|
+
class CustomProvider < ::RemoteExecutionProvider
|
69
|
+
end
|
70
|
+
|
71
|
+
::RemoteExecutionProvider.register('custom', CustomProvider)
|
72
|
+
|
73
|
+
feature = CustomProvider.proxy_feature
|
74
|
+
_(feature).must_equal 'custom'
|
75
|
+
ensure
|
76
|
+
::RemoteExecutionProvider = old
|
77
|
+
end
|
78
|
+
# rubocop:enable Naming/ConstantName
|
79
|
+
end
|
80
|
+
|
59
81
|
describe '.provider_proxy_features' do
|
60
82
|
it 'returns correct values' do
|
61
83
|
RemoteExecutionProvider.stubs(:providers).returns(
|
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: 7.2.
|
4
|
+
version: 7.2.2
|
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: 2022-09-
|
11
|
+
date: 2022-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deface
|