foreman_setup 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +3 -0
- data/lib/foreman_setup/engine.rb +0 -8
- data/lib/foreman_setup/version.rb +1 -1
- metadata +2 -3
- data/app/helpers/concerns/foreman_setup/home_helper_ext.rb +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06b696364208f23f38737a12d4bef14e7d01b649
|
4
|
+
data.tar.gz: 9249c0ea3ffd43ee9268ae96790772fc336f8b24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8abdf16fd6ee68536544ee81bce81348bd367704d27dd481e30073ec27446d6b74d23136b3481eec9a7495c9ff6c9c653503665f5f6f54f79b82c05311dab78
|
7
|
+
data.tar.gz: db6f043f7bfb546e10267ce358b4301e18f1af4dc74c3453b4c20a29695c3b5bbdf7225f510f2e6a8a4eafd0c035fb679aee435e964dbf26099442eed0537bd4
|
data/CHANGES.md
CHANGED
data/lib/foreman_setup/engine.rb
CHANGED
@@ -39,14 +39,6 @@ module ForemanSetup
|
|
39
39
|
}
|
40
40
|
}
|
41
41
|
end
|
42
|
-
|
43
|
-
config.to_prepare do
|
44
|
-
begin
|
45
|
-
::HomeHelper.send :include, ForemanSetup::HomeHelperExt
|
46
|
-
rescue => e
|
47
|
-
puts "#{ForemanSetup::ENGINE_NAME}: skipping engine hook (#{e.to_s})"
|
48
|
-
end
|
49
|
-
end
|
50
42
|
end
|
51
43
|
|
52
44
|
def table_name_prefix
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_setup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dominic Cleal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03
|
11
|
+
date: 2014-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deface
|
@@ -38,7 +38,6 @@ files:
|
|
38
38
|
- README.md
|
39
39
|
- app/assets/javascripts/foreman_setup/provisioner.js
|
40
40
|
- app/controllers/foreman_setup/provisioners_controller.rb
|
41
|
-
- app/helpers/concerns/foreman_setup/home_helper_ext.rb
|
42
41
|
- app/helpers/foreman_setup/provisioner_helper.rb
|
43
42
|
- app/models/foreman_setup/provisioner.rb
|
44
43
|
- app/overrides/add_dashboard_provisioners_link.rb
|
@@ -1,15 +0,0 @@
|
|
1
|
-
module ForemanSetup
|
2
|
-
module HomeHelperExt
|
3
|
-
extend ActiveSupport::Concern
|
4
|
-
|
5
|
-
included do
|
6
|
-
alias_method_chain :settings_menu_items, :provisioners_link
|
7
|
-
end
|
8
|
-
|
9
|
-
def settings_menu_items_with_provisioners_link
|
10
|
-
menu_items = settings_menu_items_without_provisioners_link
|
11
|
-
menu_items[2][2].insert(7, [_('Provisioning Setup'), :'foreman_setup/provisioners']) if menu_items[2]
|
12
|
-
menu_items
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|