foreman_hosts 0.0.9dev → 0.0.10dev

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.
@@ -16,7 +16,7 @@ module ForemanHosts
16
16
 
17
17
  initializer 'foreman_hosts.register_plugin', after: :finisher_hook do |_app|
18
18
  Foreman::Plugin.register :foreman_hosts do
19
- requires_foreman '>= 1.4'
19
+ requires_foreman '>= 1.9.0'
20
20
 
21
21
  # Add permissions
22
22
  security_block :foreman_hosts do
@@ -27,11 +27,9 @@ module ForemanHosts
27
27
  role 'ForemanHosts', [:view_foreman_hosts]
28
28
 
29
29
  # add menu entry
30
- divider :top_menu, :parent => :monitor_menu, :after => :hosts
31
30
  menu :top_menu, :foreman_hosts,
32
31
  :url_hash => { :controller => 'foreman_hosts/hosts', :action => :report_index },
33
- :caption => N_('ForemanHosts'),
34
- :parent => :monitor_menu
32
+ :caption => N_('HostsExport')
35
33
 
36
34
  # menu :top_menu, :template,
37
35
  # url_hash: { controller: :'foreman_hosts/hosts', action: :new_action },
@@ -1,3 +1,3 @@
1
1
  module ForemanHosts
2
- VERSION = '0.0.9dev'
2
+ VERSION = '0.0.10dev'
3
3
  end
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_hosts
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9dev
5
- prerelease: 5
4
+ version: 0.0.10dev
5
+ prerelease: 6
6
6
  platform: ruby
7
7
  authors:
8
8
  - jianbo