foreman_ansible 11.2.1 → 12.0.0

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: 98bb40689075e650d183fa18b3ca8d17efc0853118e25cb8336776ea7b232316
4
- data.tar.gz: '082247e41adcf83e7bd7a4f4190550e05e01fe3d9c96cefd7d3cd03284a9e37b'
3
+ metadata.gz: 9998a5428db095cc8f666b6676cf81f44bb1cb1f474c7d4dbcf566d659d6b855
4
+ data.tar.gz: e74626fb664cc93264f2723c3d888378f1ecb03e7efd85f0e5c9de2262a1578b
5
5
  SHA512:
6
- metadata.gz: a3416cfa163fd8cca335bf8bd35b5ad49ab68f2fccfc18286593bd9fbb9e93dad23aa2503eeb0226ea4275977ec5ebeea0dcef66a4f1aa94862a35349f35f3ae
7
- data.tar.gz: 5814abb5d63b7a9e702b1f899e7b54626dabc0da4da9d7b2b16bc54aed88cad7853c8653b6137a6188a5f783a7dcd11120e9fd29d68ea3b18241299f03adcf7a
6
+ metadata.gz: 56a7e18a191e10a9b038a4a3d9dcd7938768fd92917ef34751c9a3c81bfe31ca26e018597e3ca0b2b16eb41ee28a0dbb0f7ca0b206f071d27cba19ca897c5b7e
7
+ data.tar.gz: 3449228e4b4f6c7b475b407f4b0a4521296ad21780a5eed62d709172ed1f49beaf3b85ea516db5a36cfa9190a9bfd0ed19fe350b0fff2d6626538489806e27ca
@@ -19,14 +19,6 @@ module ForemanAnsible
19
19
  config.autoload_paths += Dir["#{config.root}/app/views"]
20
20
  config.autoload_paths += Dir["#{config.root}/app/lib"]
21
21
 
22
- initializer 'foreman_ansible.register_gettext',
23
- :after => :load_config_initializers do
24
- locale_dir = File.join(File.expand_path('../..', __dir__), 'locale')
25
- locale_domain = 'foreman_ansible'
26
-
27
- Foreman::Gettext::Support.add_text_domain locale_domain, locale_dir
28
- end
29
-
30
22
  initializer 'foreman_ansible.register_plugin', :before => :finisher_hook do
31
23
  require 'foreman_ansible/register'
32
24
  end
@@ -1,7 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  Foreman::Plugin.register :foreman_ansible do
4
- requires_foreman '>= 3.6'
4
+ requires_foreman '>= 3.7'
5
+ register_gettext
5
6
 
6
7
  settings do
7
8
  category :ansible, N_('Ansible') do
@@ -4,5 +4,5 @@
4
4
  # This way other parts of Foreman can just call ForemanAnsible::VERSION
5
5
  # and detect what version the plugin is running.
6
6
  module ForemanAnsible
7
- VERSION = '11.2.1'
7
+ VERSION = '12.0.0'
8
8
  end
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: 11.2.1
4
+ version: 12.0.0
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: 2023-05-10 00:00:00.000000000 Z
11
+ date: 2023-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: acts_as_list
@@ -56,16 +56,22 @@ dependencies:
56
56
  name: foreman-tasks
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '7.0'
62
+ - - "<"
63
+ - !ruby/object:Gem::Version
64
+ version: '9'
62
65
  type: :runtime
63
66
  prerelease: false
64
67
  version_requirements: !ruby/object:Gem::Requirement
65
68
  requirements:
66
- - - "~>"
69
+ - - ">="
67
70
  - !ruby/object:Gem::Version
68
71
  version: '7.0'
72
+ - - "<"
73
+ - !ruby/object:Gem::Version
74
+ version: '9'
69
75
  description: Ansible integration with Foreman
70
76
  email:
71
77
  - elobatocs@gmail.com
@@ -500,9 +506,9 @@ test_files:
500
506
  - test/test_plugin_helper.rb
501
507
  - test/unit/ansible_role_test.rb
502
508
  - test/unit/ansible_variable_test.rb
503
- - test/unit/concerns/config_reports_extensions_test.rb
504
509
  - test/unit/concerns/host_managed_extensions_test.rb
505
510
  - test/unit/concerns/hostgroup_extensions_test.rb
511
+ - test/unit/concerns/config_reports_extensions_test.rb
506
512
  - test/unit/helpers/ansible_reports_helper_test.rb
507
513
  - test/unit/host_ansible_role_test.rb
508
514
  - test/unit/hostgroup_ansible_role_test.rb