foreman_salt 16.0.3 → 17.0.0

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: c7ec0e847a86177e0e123bada956cd657d72ff67cc483cc67c7662ff8e3334e6
4
- data.tar.gz: 238933ef2aca2375a075cf7b3862901cba9126670f73b435d588a297e9435e20
3
+ metadata.gz: e82fca85dd06aa9b1f00de05d5f9a3a6dc032e61ca62b35a82ea7d7ae6c6397a
4
+ data.tar.gz: d938b6e1f269fc7c7ac915aa079c37f3bec1bad9657a591efe572d637ffb98b2
5
5
  SHA512:
6
- metadata.gz: a3d0daed6e32f1ce780e170b00c09253566c246f91f65631a6332447c9d5dd748b9a09ca93e3af8ec132ffaa2a8cc3787666de2dbbe7e619e525b5cb761b1b98
7
- data.tar.gz: 7e11f6675013de8d95642441e889de6d572f33fa24d75fd86d9e78aeaececeef6b13747bb013f691963f8f7f687cd39e5a7e54d80fc1058adf3137eb83fd8203
6
+ metadata.gz: b553f0e5ed333b97a30829c67c4c0b410a4067eeb6f8e209d0019b7d692468d08a85f30bcc44ed9921daf692160c830b838cfc5463418d05ec5e6d734449cd25
7
+ data.tar.gz: 88b64a141a1731adfa1bf066a9ecb27a4af236b99ee18453843eb20f0e6869f2668ca1bf3e6a1eae3f2bcb424bc3f432600c76a7f4e08e41c9b288c5a898840f
@@ -0,0 +1,3 @@
1
+ Rails.autoloaders.main.ignore(
2
+ ForemanSalt::Engine.root.join('lib/tasks')
3
+ )
@@ -5,11 +5,6 @@ module ForemanSalt
5
5
  class Engine < ::Rails::Engine
6
6
  engine_name 'foreman_salt'
7
7
 
8
- config.autoload_paths += Dir["#{config.root}/app/controllers/foreman_salt/concerns"]
9
- config.autoload_paths += Dir["#{config.root}/app/helpers"]
10
- config.autoload_paths += Dir["#{config.root}/app/models/concerns"]
11
- config.autoload_paths += Dir["#{config.root}/app/overrides"]
12
- config.autoload_paths += Dir["#{config.root}/app/services"]
13
8
  config.autoload_paths += Dir["#{config.root}/app/lib"]
14
9
 
15
10
  config.paths['config/routes.rb'].unshift('config/api_routes.rb')
@@ -42,12 +37,14 @@ module ForemanSalt
42
37
  Apipie.configuration.checksum_path += ['/salt/api/']
43
38
  end
44
39
 
45
- initializer 'foreman_salt.register_plugin', before: :finisher_hook do
46
- require 'foreman_salt/plugin'
40
+ initializer 'foreman_salt.register_plugin', before: :finisher_hook do |app|
41
+ app.reloader.to_prepare do
42
+ require_relative 'plugin'
43
+ end
47
44
  end
48
45
 
49
46
  config.to_prepare do
50
- require 'foreman_salt/extensions'
47
+ require_relative 'extensions'
51
48
 
52
49
  RemoteExecutionProvider.register(:Salt, SaltProvider)
53
50
  ForemanSalt.register_rex_feature
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  Foreman::Plugin.register :foreman_salt do
4
- requires_foreman '>= 3.7'
4
+ requires_foreman '>= 3.13'
5
5
  register_gettext
6
6
 
7
7
  settings do
@@ -1,3 +1,3 @@
1
1
  module ForemanSalt
2
- VERSION = '16.0.3'.freeze
2
+ VERSION = '17.0.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_salt
3
3
  version: !ruby/object:Gem::Version
4
- version: 16.0.3
4
+ version: 17.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Benjamin
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-21 00:00:00.000000000 Z
11
+ date: 2024-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deface
@@ -30,40 +30,40 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '9.0'
33
+ version: '14.0'
34
34
  - - "<"
35
35
  - !ruby/object:Gem::Version
36
- version: '14'
36
+ version: '15'
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
41
  - - ">="
42
42
  - !ruby/object:Gem::Version
43
- version: '9.0'
43
+ version: '14.0'
44
44
  - - "<"
45
45
  - !ruby/object:Gem::Version
46
- version: '14'
46
+ version: '15'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: foreman-tasks
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: '7.0'
53
+ version: '10.0'
54
54
  - - "<"
55
55
  - !ruby/object:Gem::Version
56
- version: '10'
56
+ version: '11'
57
57
  type: :runtime
58
58
  prerelease: false
59
59
  version_requirements: !ruby/object:Gem::Requirement
60
60
  requirements:
61
61
  - - ">="
62
62
  - !ruby/object:Gem::Version
63
- version: '7.0'
63
+ version: '10.0'
64
64
  - - "<"
65
65
  - !ruby/object:Gem::Version
66
- version: '10'
66
+ version: '11'
67
67
  - !ruby/object:Gem::Dependency
68
68
  name: theforeman-rubocop
69
69
  requirement: !ruby/object:Gem::Requirement
@@ -200,6 +200,7 @@ files:
200
200
  - app/views/hosts/select_multiple_salt_environment.html.erb
201
201
  - app/views/hosts/select_multiple_salt_master.html.erb
202
202
  - config/api_routes.rb
203
+ - config/initializers/zeitwerk.rb
203
204
  - config/routes.rb
204
205
  - db/migrate/20140813081913_add_salt_proxy_to_host_and_host_group.rb
205
206
  - db/migrate/20140817210214_create_salt_modules.rb
@@ -269,7 +270,7 @@ homepage: https://github.com/theforeman/foreman_salt
269
270
  licenses:
270
271
  - GPL-3.0
271
272
  metadata: {}
272
- post_install_message:
273
+ post_install_message:
273
274
  rdoc_options: []
274
275
  require_paths:
275
276
  - lib
@@ -284,36 +285,36 @@ required_rubygems_version: !ruby/object:Gem::Requirement
284
285
  - !ruby/object:Gem::Version
285
286
  version: '0'
286
287
  requirements: []
287
- rubygems_version: 3.1.2
288
- signing_key:
288
+ rubygems_version: 3.5.11
289
+ signing_key:
289
290
  specification_version: 4
290
291
  summary: Foreman Plug-in for Salt
291
292
  test_files:
292
- - test/unit/host_extensions_test.rb
293
- - test/unit/highstate.json
294
- - test/unit/grains_importer_test.rb
295
- - test/unit/salt_keys_test.rb
296
- - test/unit/report_importer_test.rb
297
- - test/unit/hostgroup_extensions_test.rb
298
- - test/unit/salt_modules_test.rb
299
- - test/unit/highstate_pchanges.json
300
- - test/unit/salt_variables_test.rb
301
- - test/unit/highstate_unhandled.json
302
- - test/functional/salt_modules_controller_test.rb
303
- - test/functional/minions_controller_test.rb
304
- - test/functional/hosts_controller_test.rb
305
- - test/functional/api/v2/salt_keys_controller_test.rb
306
- - test/functional/api/v2/salt_states_controller_test.rb
293
+ - test/factories/foreman_salt_factories.rb
307
294
  - test/functional/api/v2/salt_autosign_controller_test.rb
308
295
  - test/functional/api/v2/salt_environments_controller_test.rb
309
296
  - test/functional/api/v2/salt_hostgroups_controller_test.rb
297
+ - test/functional/api/v2/salt_keys_controller_test.rb
298
+ - test/functional/api/v2/salt_states_controller_test.rb
310
299
  - test/functional/api/v2/salt_variables_controller_test.rb
300
+ - test/functional/hosts_controller_test.rb
301
+ - test/functional/minions_controller_test.rb
302
+ - test/functional/salt_modules_controller_test.rb
311
303
  - test/functional/salt_variables_controller_test.rb
304
+ - test/integration/hosts_js_test.rb
312
305
  - test/integration/salt_autosign_test.rb
313
- - test/integration/salt_variable_test.rb
314
306
  - test/integration/salt_environment_test.rb
315
307
  - test/integration/salt_keys_test.rb
316
- - test/integration/hosts_js_test.rb
317
308
  - test/integration/salt_module_test.rb
309
+ - test/integration/salt_variable_test.rb
318
310
  - test/test_plugin_helper.rb
319
- - test/factories/foreman_salt_factories.rb
311
+ - test/unit/grains_importer_test.rb
312
+ - test/unit/highstate.json
313
+ - test/unit/highstate_pchanges.json
314
+ - test/unit/highstate_unhandled.json
315
+ - test/unit/host_extensions_test.rb
316
+ - test/unit/hostgroup_extensions_test.rb
317
+ - test/unit/report_importer_test.rb
318
+ - test/unit/salt_keys_test.rb
319
+ - test/unit/salt_modules_test.rb
320
+ - test/unit/salt_variables_test.rb