foreman_users 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- class CreateForemanUsersusers < ActiveRecord::Migration
1
+ class CreateForemanUsersUsers < ActiveRecord::Migration
2
2
  def change
3
3
  create_table :foreman_users_users do |t|
4
4
  t.string :name #名称
@@ -1,13 +1,13 @@
1
- class CreateForemaUsersgroups < ActiveRecord::Migration
1
+ class CreateForemaUsersGroups < ActiveRecord::Migration
2
2
  def change
3
3
  create_table :foreman_users_groups do |t|
4
- t.string :name
5
- t.string :ensure
6
- t.string :gid
7
- t.string :groupable_type
8
- t.integer :groupable_id
9
- t.integer :user_id
10
- t.timestamps
4
+ t.string :name
5
+ t.string :ensure
6
+ t.string :gid
7
+ t.string :groupable_type
8
+ t.integer :groupable_id
9
+ t.integer :user_id
10
+ t.timestamps
11
11
  end
12
12
  end
13
13
  end
@@ -33,6 +33,7 @@ module ForemanUsers
33
33
  role 'ForemanUsers', [:view_foreman_users]
34
34
 
35
35
 
36
+ # add menu entry
36
37
  sub_menu :top_menu, :forema_user_menu, :caption=> N_('UserManage'), :after=> :export_menu do
37
38
  menu :top_menu, :level1, :caption=>N_('User List'), :url_hash => { :controller => 'foreman_users/users', :action => :index }
38
39
  menu :top_menu, :level1, :caption=>N_('New User'), :url_hash => { :controller => 'foreman_users/users', :action => :new }
@@ -46,12 +47,7 @@ module ForemanUsers
46
47
  end
47
48
 
48
49
 
49
- # add menu entry
50
- menu :top_menu, :template,
51
- url_hash: { controller: :'foreman_users/hosts', action: :new_action },
52
- caption: 'ForemanUsers',
53
- parent: :hosts_menu,
54
- after: :hosts
50
+
55
51
 
56
52
  # add dashboard widget
57
53
  widget 'foreman_users_widget', name: N_('Foreman plugin template widget'), sizex: 4, sizey: 1
@@ -1,3 +1,3 @@
1
1
  module ForemanUsers
2
- VERSION = '0.0.7'
2
+ VERSION = '0.0.8'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_users
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: