foreman_packages 0.0.6 → 0.0.7

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.
@@ -4,8 +4,8 @@ module ForemanPackages
4
4
  # change layout if needed
5
5
  # layout 'foreman_packages/layouts/new_layout'
6
6
 
7
- def new_action
8
- # automatically renders view/foreman_packages/hosts/new_action
9
- end
7
+ # def new_action
8
+ # # automatically renders view/foreman_packages/hosts/new_action
9
+ # end
10
10
  end
11
11
  end
@@ -82,4 +82,3 @@ module ForemanPackages
82
82
  end
83
83
  end
84
84
  end
85
- end
@@ -1,4 +1,4 @@
1
- class CreateForemanPackagesPackages < ActiveRecord::Migration
1
+ class CreateForemanPackagespackages < ActiveRecord::Migration
2
2
  def change
3
3
  create_table :foreman_packages_packages do |t|
4
4
  t.string :name
@@ -33,11 +33,6 @@ module ForemanPackages
33
33
  role 'ForemanPackages', [:view_foreman_packages]
34
34
 
35
35
  # add menu entry
36
- menu :top_menu, :template,
37
- url_hash: { controller: :'foreman_packages/hosts', action: :new_action },
38
- caption: 'ForemanPackages',
39
- parent: :hosts_menu,
40
- after: :hosts
41
36
  sub_menu :top_menu, :forema_package_menu, :caption=> N_('PackageManage'), :after=> :forema_user_menu do
42
37
  menu :top_menu, :level1, :caption=>N_('Package List'), :url_hash => { :controller => 'foreman_packages/packages', :action => :index }
43
38
  menu :top_menu, :level1, :caption=>N_('New Package'), :url_hash => { :controller => 'foreman_packages/packages', :action => :new }
@@ -1,3 +1,3 @@
1
1
  module ForemanPackages
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_packages
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: