foreman_discovery 21.0.2 → 21.0.4

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: d32249f5c98624ae023a6975e6eea66482dd39d7a45e827f266ec2f95736bb16
4
- data.tar.gz: 6618c64182a17f330b959e7fdd7fd7b492ea62dd23f4c3d2e5075db22d5be6d6
3
+ metadata.gz: 41dc13d4745676ed7a12b866014897799f501bbb04c38efb9a0bd95481a7e76d
4
+ data.tar.gz: 8a2924cfe5c5d106b573dc2a32552997863d882807144ef68bc6fb4ab1ee70bf
5
5
  SHA512:
6
- metadata.gz: bf903b6db9cb5f294acf140b5fec570c9116a9f3a143d1c43e1021e3df644493443ffc708d117658aaca4658056273b87ff3e2fc1429dae6a514ea5bced27a8a
7
- data.tar.gz: a2a06e0006bd674b35237a3a8bf70e67cddfe8abdaad08ed69c3049526023c77d7aa157affdc3701c9109b276f020a44557d3248d91c3b02547607d4876fcfcf
6
+ metadata.gz: ac4ccdd49976a17aae697aa24013a7f0271a712571991201d0fd9ecabe3063b3367c15c64df2ff3a75bc138f6d95b653ec41e4a77fc92bbecedbc7566614077d
7
+ data.tar.gz: bb3b4741228a457353d635e77ff9093f2e319a4b2942ad66661f4b9dbaae1f386e1e8047a4e750a53efc7a12d23bbef8bf515579793b6ff81afdd320545d8417
@@ -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
@@ -63,8 +63,8 @@ module ForemanDiscovery
63
63
  type: :string,
64
64
  collection: Proc.new { Hash[[['', '']].concat Organization.all.map{|org| [org[:title], org[:title]]}] },
65
65
  default: "",
66
- full_name: N_("Discovery location"),
67
- description: N_("The default location to place discovered hosts in")
66
+ full_name: N_("Discovery organization"),
67
+ description: N_("The default organization to place discovered hosts in")
68
68
 
69
69
  setting "discovery_fact",
70
70
  type: :string,
@@ -1,3 +1,3 @@
1
1
  module ForemanDiscovery
2
- VERSION = "21.0.2"
2
+ VERSION = "21.0.4"
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.2
4
+ version: 21.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aditi Puntambekar
@@ -76,7 +76,7 @@ authors:
76
76
  autorequire:
77
77
  bindir: bin
78
78
  cert_chain: []
79
- date: 2022-08-08 00:00:00.000000000 Z
79
+ date: 2022-11-02 00:00:00.000000000 Z
80
80
  dependencies: []
81
81
  description: MaaS Discovery Plugin engine for Foreman
82
82
  email: gsutclif@redhat.com
@@ -191,6 +191,7 @@ files:
191
191
  - db/migrate/20161006094714_add_constraints_on_subnets_smart_proxies.rb
192
192
  - db/migrate/20171222120314_add_constraints_on_discovery_rules_hostgroups.rb
193
193
  - db/migrate/20180412124505_add_priority_score_to_discovery_rules.rb
194
+ - db/migrate/20221102065954_fix_discovery_settings_category_to_dsl.rb
194
195
  - db/seeds.d/50_discovery_templates.rb
195
196
  - db/seeds.d/60_discovery_proxy_feature.rb
196
197
  - db/seeds.d/70_discovery_mail_notification.rb
@@ -324,10 +325,10 @@ test_files:
324
325
  - test/unit/fact_parser_test.rb
325
326
  - test/unit/fact_to_category_resolver_test.rb
326
327
  - test/unit/lldp_neighbors_test.rb
327
- - test/unit/managed_extensions_test.rb
328
328
  - test/unit/ui_notifications/destroy_host_test.rb
329
329
  - test/unit/ui_notifications/new_host_test.rb
330
330
  - test/unit/host_discovered_test.rb
331
+ - test/unit/managed_extensions_test.rb
331
332
  - test/factories/discovery_host_related.rb
332
333
  - test/factories/discovery_rule_related.rb
333
334
  - test/facts/bond0-eth0-eth1-active-passive.json