foreman_discovery 17.0.2 → 17.0.3

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: ebbc097331a78b8f14d5943a545f0b78f9b596ae10b17b70f08e369fadc264a1
4
- data.tar.gz: f3427b66d756b8817811f45a5051facf01003ce619a2124ada1de6e08f7b70a4
3
+ metadata.gz: 4d8d075f8a3a3048021cb510037e84ce925e805d3cb915a2d739bd188a99d08f
4
+ data.tar.gz: 2851a8920c2e7da750c92104e26ce286cd723aab684e8f3e08d452ea458f5d3e
5
5
  SHA512:
6
- metadata.gz: 33cfa9390207dbd7ed883669d7ac6def4947e350fe3096774c68d0e6725290c099e1f7a93743f5fc72a3bab55c7076f01641f215003231d9f1ef86ee4b4d0caa
7
- data.tar.gz: d417ae080fbea62dc6e65c8791158afd529e0dfd67f7a87b4cc4e2f7373e747f52d06774aa1f0a6f27673b3fa477d21ce86dd91be79b8a9aecb4184c6930116b
6
+ metadata.gz: 1ddc4a716ab29ec7cf78c052e8238184962c97d528592f171e074664e2542e603ffc9d3bce44bf255c787c82cc3df82faf6a7d61a98d9046fca544a957589e4a
7
+ data.tar.gz: 3d72b88c68fb69a56e1f691c1df6a93bc42b5c2157f79ee0ad9293ea85b4aa15510ebd130e1d8464fdb6593d6aed01e0adee3c688f6d698a8194cca8f281158a
@@ -98,8 +98,7 @@ module DiscoveredHostsHelper
98
98
  discovered_host_path(host)
99
99
  end
100
100
 
101
- def discovery_doc_url
102
- doc_version = Foreman::Plugin.find(:foreman_discovery).version.scan(/\d+\.\d+/).first
103
- "https://theforeman.org/plugins/foreman_discovery/#{doc_version}"
101
+ def discovery_doc_version
102
+ Foreman::Plugin.find(:foreman_discovery).version.scan(/\d+\.\d+/).first
104
103
  end
105
104
  end
@@ -11,5 +11,5 @@
11
11
  <%= notifications %>
12
12
  <div id="organization-id" data-id="<%= Organization.current.id if Organization.current %>" ></div>
13
13
  <div id="user-id" data-id="<%= User.current.id if User.current %>" ></div>
14
- <%= react_component('DiscoveredHosts', docUrl: discovery_doc_url ) %>
14
+ <%= react_component('DiscoveredHosts', docUrl: external_link_path(type: 'plugin_manual', name: 'foreman_discovery', version: discovery_doc_version)) %>
15
15
  <% end %>
@@ -11,5 +11,5 @@
11
11
  <%= notifications %>
12
12
  <div id="organization-id" data-id="<%= Organization.current.id if Organization.current %>" ></div>
13
13
  <div id="user-id" data-id="<%= User.current.id if User.current %>" ></div>
14
- <%= react_component('DiscoveryRules', docUrl: discovery_doc_url + '/#4.3Automaticprovisioning' ) %>
14
+ <%= react_component('DiscoveryRules', docUrl: external_link_path(type: 'plugin_manual', name: 'foreman_discovery', version: discovery_doc_version, section: '#4.3Automaticprovisioning') ) %>
15
15
  <% end %>
@@ -1,3 +1,3 @@
1
1
  module ForemanDiscovery
2
- VERSION = "17.0.2"
2
+ VERSION = "17.0.3"
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: 17.0.2
4
+ version: 17.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aditi Puntambekar
@@ -73,7 +73,7 @@ authors:
73
73
  autorequire:
74
74
  bindir: bin
75
75
  cert_chain: []
76
- date: 2021-09-23 00:00:00.000000000 Z
76
+ date: 2021-09-29 00:00:00.000000000 Z
77
77
  dependencies: []
78
78
  description: MaaS Discovery Plugin engine for Foreman
79
79
  email: gsutclif@redhat.com
@@ -353,15 +353,14 @@ test_files:
353
353
  - test/functional/api/v2/fact_value_extensions_test.rb
354
354
  - test/functional/api/v2/settings_controller_test.rb
355
355
  - test/functional/foreman_discovery/concerns/hosts_controller_extensions_test.rb
356
- - test/functional/discovery_rules_controller_test.rb
357
356
  - test/functional/discovered_hosts_controller_test.rb
357
+ - test/functional/discovery_rules_controller_test.rb
358
358
  - test/integration/discovered_hosts_test.rb
359
359
  - test/unit/ui_notifications/destroy_host_test.rb
360
360
  - test/unit/ui_notifications/new_host_test.rb
361
361
  - test/unit/discovered_mailer_test.rb
362
362
  - test/unit/discovery_taxonomy_extensions_test.rb
363
363
  - test/unit/lldp_neighbors_test.rb
364
- - test/unit/host_discovered_test.rb
365
364
  - test/unit/discovery_rule_test.rb
366
365
  - test/unit/fact_to_category_resolver_test.rb
367
366
  - test/unit/discovered_extensions_test.rb
@@ -369,6 +368,7 @@ test_files:
369
368
  - test/unit/fact_parser_test.rb
370
369
  - test/unit/managed_extensions_test.rb
371
370
  - test/unit/setting_discovered_test.rb
371
+ - test/unit/host_discovered_test.rb
372
372
  - test/models/setting_test.rb
373
373
  - test/test_helper_discovery.rb
374
374
  - test/test_plugin_helper.rb