foreman_users 0.0.5 → 0.0.6
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.
- data/lib/foreman_users/version.rb +1 -1
- metadata +4 -7
- data/app/controllers/foreman_users/hosts_controller.rb +0 -11
- data/app/helpers/concerns/foreman_users/hosts_helper_extensions.rb +0 -13
- data/app/models/concerns/foreman_users/host_extensions.rb +0 -19
- /data/app/helpers/{users_helper.rb → foreman_users/users_helper.rb} +0 -0
- /data/app/models/{group.rb → foreman_users/group.rb} +0 -0
- /data/app/models/{user.rb → foreman_users/user.rb} +0 -0
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.
|
4
|
+
version: 0.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -50,12 +50,10 @@ executables: []
|
|
50
50
|
extensions: []
|
51
51
|
extra_rdoc_files: []
|
52
52
|
files:
|
53
|
-
- app/models/group.rb
|
54
|
-
- app/models/
|
55
|
-
- app/models/user.rb
|
53
|
+
- app/models/foreman_users/group.rb
|
54
|
+
- app/models/foreman_users/user.rb
|
56
55
|
- app/overrides/dashboard/index/sample_override.html.erb.deface
|
57
|
-
- app/helpers/users_helper.rb
|
58
|
-
- app/helpers/concerns/foreman_users/hosts_helper_extensions.rb
|
56
|
+
- app/helpers/foreman_users/users_helper.rb
|
59
57
|
- app/views/dashboard/_foreman_users_widget.html.erb
|
60
58
|
- app/views/foreman_users/users/new.html.erb
|
61
59
|
- app/views/foreman_users/users/show.html.erb
|
@@ -68,7 +66,6 @@ files:
|
|
68
66
|
- app/views/foreman_users/layouts/new_layout.html.erb
|
69
67
|
- app/views/foreman_users/hosts/new_action.html.erb
|
70
68
|
- app/views/foreman_users/hosts/hosts/new_action.html.erb
|
71
|
-
- app/controllers/foreman_users/hosts_controller.rb
|
72
69
|
- app/controllers/foreman_users/users_controller.rb
|
73
70
|
- config/routes.rb
|
74
71
|
- db/migrate/20150918022411_create_foreman_users_users.rb
|
@@ -1,11 +0,0 @@
|
|
1
|
-
module ForemanUsers
|
2
|
-
# Example: Plugin's HostsController inherits from Foreman's HostsController
|
3
|
-
class HostsController < ::HostsController
|
4
|
-
# change layout if needed
|
5
|
-
# layout 'foreman_users/layouts/new_layout'
|
6
|
-
|
7
|
-
def new_action
|
8
|
-
# automatically renders view/foreman_users/hosts/new_action
|
9
|
-
end
|
10
|
-
end
|
11
|
-
end
|
@@ -1,19 +0,0 @@
|
|
1
|
-
module ForemanUsers
|
2
|
-
module HostExtensions
|
3
|
-
extend ActiveSupport::Concern
|
4
|
-
|
5
|
-
included do
|
6
|
-
# execute callbacks
|
7
|
-
end
|
8
|
-
|
9
|
-
# create or overwrite instance methods...
|
10
|
-
def instance_method_name
|
11
|
-
end
|
12
|
-
|
13
|
-
module ClassMethods
|
14
|
-
# create or overwrite class methods...
|
15
|
-
def class_method_name
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
File without changes
|
File without changes
|
File without changes
|