foreman_discovery 21.0.3 → 21.0.5

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: f46a7cb5e8d9844eab1344f89727588ea50ac3a4b4132b9f57b31c59890654f4
4
- data.tar.gz: 616421f009b108959eb3620b962a34ae1272cf0aaeee05969b531cbe9c23062d
3
+ metadata.gz: 7592ef5cdb3aad271a4373a96f6ee8b2de79352e680147446cebd8bbd9ae2eaa
4
+ data.tar.gz: 253b54da9acc15a1401fabfb2c580791667fcc8c43af0b6bb42c16d08f2eada6
5
5
  SHA512:
6
- metadata.gz: c58e346d7b486ac0fe4d0e97abd4253af4f80d5f3bcd1895e9e989a53b75deb41570485c29126f43346714cacdb06dedf4ae7e20eed399132e93c964b92f07dd
7
- data.tar.gz: 05353a4e56ddec1d1c2d97c127b8c18d34bc69055404d98893eec32922e43a24bbfcee5ba5f422f4c0252724ccab544b3c50406197eae8d5cb325ab01f4f0bd5
6
+ metadata.gz: 302323e8daf18ad7bdd4f65b9e45c89477bd72ab47f7be2e0a03f0d9f2078c65734451bf84367b444c89ee1a0820565308437d35f1c7388697e136a4089f397f
7
+ data.tar.gz: d0751ab0c44157694df0ba32584eef59fc489659e3bfac49a84da40f0c57a21cbfdc14407cc4c275afb5f6de727a48add6d45e963cd65d547f12d6cfcca554e7
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ class FixDiscoverySettingsCategoryToDsl < ActiveRecord::Migration[6.0]
4
+ def up
5
+ # rubocop:disable Rails/SkipsModelValidations
6
+ Setting.where(category: 'Setting::Discovered').update_all(category: 'Setting')
7
+ # rubocop:enable Rails/SkipsModelValidations
8
+ end
9
+ end
@@ -310,7 +310,7 @@ module ForemanDiscovery
310
310
  :edit_discovery_rules,
311
311
  :destroy_discovery_rules,
312
312
  ]
313
- if defined?(ForemanPuppet::VERSION)
313
+ if defined?(ForemanPuppet::Engine)
314
314
  MANAGER += [ :view_environments, :view_puppetclasses ]
315
315
  end
316
316
  role "Discovery Reader", READER, "Role granting permissions to view discovered hosts"
@@ -1,3 +1,3 @@
1
1
  module ForemanDiscovery
2
- VERSION = "21.0.3"
2
+ VERSION = "21.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_discovery
3
3
  version: !ruby/object:Gem::Version
4
- version: 21.0.3
4
+ version: 21.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aditi Puntambekar
@@ -14,7 +14,6 @@ authors:
14
14
  - Avi Sharvit
15
15
  - Bryan Kearney
16
16
  - bshuster
17
- - ChairmanTubeAmp
18
17
  - Daniel Lobato
19
18
  - Daniel Lobato Garcia
20
19
  - Daniel Lobato García
@@ -27,6 +26,7 @@ authors:
27
26
  - Ewoud Kohl van Wijngaarden
28
27
  - Frank Wall
29
28
  - Greg Sutcliffe
29
+ - ChairmanTubeAmp
30
30
  - Ido Kanner
31
31
  - imriz
32
32
  - Imri Zvik
@@ -48,11 +48,10 @@ authors:
48
48
  - Matt Jarvis
49
49
  - Michael Moll
50
50
  - Nick
51
- - nofar
52
51
  - odovzhenko
53
52
  - Ohad Levy
54
- - Ondřej Ezr
55
53
  - Ondrej Prazak
54
+ - Ondřej Ezr
56
55
  - Ori Rabin
57
56
  - orrabin
58
57
  - Partha Aji
@@ -77,7 +76,7 @@ authors:
77
76
  autorequire:
78
77
  bindir: bin
79
78
  cert_chain: []
80
- date: 2022-09-06 00:00:00.000000000 Z
79
+ date: 2023-01-16 00:00:00.000000000 Z
81
80
  dependencies: []
82
81
  description: MaaS Discovery Plugin engine for Foreman
83
82
  email: gsutclif@redhat.com
@@ -192,6 +191,7 @@ files:
192
191
  - db/migrate/20161006094714_add_constraints_on_subnets_smart_proxies.rb
193
192
  - db/migrate/20171222120314_add_constraints_on_discovery_rules_hostgroups.rb
194
193
  - db/migrate/20180412124505_add_priority_score_to_discovery_rules.rb
194
+ - db/migrate/20221102065954_fix_discovery_settings_category_to_dsl.rb
195
195
  - db/seeds.d/50_discovery_templates.rb
196
196
  - db/seeds.d/60_discovery_proxy_feature.rb
197
197
  - db/seeds.d/70_discovery_mail_notification.rb
@@ -317,6 +317,18 @@ signing_key:
317
317
  specification_version: 4
318
318
  summary: MaaS Discovery Plugin for Foreman
319
319
  test_files:
320
+ - test/unit/discovered_extensions_test.rb
321
+ - test/unit/discovered_mailer_test.rb
322
+ - test/unit/discovery_attribute_set_test.rb
323
+ - test/unit/discovery_rule_test.rb
324
+ - test/unit/discovery_taxonomy_extensions_test.rb
325
+ - test/unit/fact_parser_test.rb
326
+ - test/unit/fact_to_category_resolver_test.rb
327
+ - test/unit/lldp_neighbors_test.rb
328
+ - test/unit/ui_notifications/destroy_host_test.rb
329
+ - test/unit/ui_notifications/new_host_test.rb
330
+ - test/unit/host_discovered_test.rb
331
+ - test/unit/managed_extensions_test.rb
320
332
  - test/factories/discovery_host_related.rb
321
333
  - test/factories/discovery_rule_related.rb
322
334
  - test/facts/bond0-eth0-eth1-active-passive.json
@@ -338,21 +350,9 @@ test_files:
338
350
  - test/functional/api/v2/discovered_hosts_controller_test.rb
339
351
  - test/functional/api/v2/discovery_rules_controller_test.rb
340
352
  - test/functional/api/v2/fact_value_extensions_test.rb
341
- - test/functional/foreman_discovery/concerns/hosts_controller_extensions_test.rb
342
353
  - test/functional/discovery_rules_controller_test.rb
354
+ - test/functional/foreman_discovery/concerns/hosts_controller_extensions_test.rb
343
355
  - test/functional/discovered_hosts_controller_test.rb
344
356
  - test/integration/discovered_hosts_test.rb
345
- - test/unit/ui_notifications/destroy_host_test.rb
346
- - test/unit/ui_notifications/new_host_test.rb
347
- - test/unit/discovered_extensions_test.rb
348
- - test/unit/discovered_mailer_test.rb
349
- - test/unit/discovery_attribute_set_test.rb
350
- - test/unit/discovery_rule_test.rb
351
- - test/unit/discovery_taxonomy_extensions_test.rb
352
- - test/unit/fact_parser_test.rb
353
- - test/unit/fact_to_category_resolver_test.rb
354
- - test/unit/lldp_neighbors_test.rb
355
- - test/unit/host_discovered_test.rb
356
- - test/unit/managed_extensions_test.rb
357
357
  - test/test_helper_discovery.rb
358
358
  - test/test_plugin_helper.rb