foreman_chef 0.3.0 → 0.3.1
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.
- checksums.yaml +4 -4
- data/app/helpers/foreman_chef/chef_proxy_form.rb +1 -1
- data/app/models/foreman_chef/environment.rb +1 -1
- data/lib/foreman_chef/engine.rb +1 -0
- data/lib/foreman_chef/version.rb +1 -1
- metadata +3 -3
- /data/app/assets/javascripts/{chef_proxy_environment_refresh.js → foreman_chef/chef_proxy_environment_refresh.js} +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7e67f70cef7f3befb5de89b4ed9ba5164a1bf78e
|
|
4
|
+
data.tar.gz: c93ad84ca9bffac5f641373dc1656c8885780363
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f47ceac026045db387dc16f6485c5e0fd340cf81dbfad967114c0b8c04f3ad8c2ebfad35f3f872dd570155919fa8305c8066173516e15e505eff132020d00747
|
|
7
|
+
data.tar.gz: 6a513a09021f79f978217a7a96d465b9e7f9d254859f914a8b85578d5be6e6a63614b7457ecfd62f5b3d2aa2994d9b0cca939b97d2853a624345dae472f70e6f
|
|
@@ -5,7 +5,7 @@ module ForemanChef
|
|
|
5
5
|
# so the user can choose not to use puppet on this host
|
|
6
6
|
proxies = SmartProxy.with_taxonomy_scope_override(@location,@organization).with_features('Chef')
|
|
7
7
|
return if proxies.count == 0
|
|
8
|
-
javascript('chef_proxy_environment_refresh')
|
|
8
|
+
javascript('foreman_chef/chef_proxy_environment_refresh')
|
|
9
9
|
|
|
10
10
|
chef_proxy_form_chef_proxy_select(f, proxies) +
|
|
11
11
|
chef_proxy_form_chef_environment_select(f, f.object.available_chef_environments)
|
data/lib/foreman_chef/engine.rb
CHANGED
|
@@ -5,6 +5,7 @@ module ForemanChef
|
|
|
5
5
|
#Inherit from the Rails module of the parent app (Foreman), not the plugin.
|
|
6
6
|
#Thus, inhereits from ::Rails::Engine and not from Rails::Engine
|
|
7
7
|
class Engine < ::Rails::Engine
|
|
8
|
+
engine_name 'foreman_chef'
|
|
8
9
|
|
|
9
10
|
rake_tasks do
|
|
10
11
|
Rake::Task['db:seed'].enhance do
|
data/lib/foreman_chef/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foreman_chef
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marek Hulan
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-03-
|
|
11
|
+
date: 2016-03-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: deface
|
|
@@ -68,7 +68,7 @@ files:
|
|
|
68
68
|
- LICENSE
|
|
69
69
|
- README.md
|
|
70
70
|
- Rakefile
|
|
71
|
-
- app/assets/javascripts/chef_proxy_environment_refresh.js
|
|
71
|
+
- app/assets/javascripts/foreman_chef/chef_proxy_environment_refresh.js
|
|
72
72
|
- app/controllers/foreman_chef/application_controller.rb
|
|
73
73
|
- app/controllers/foreman_chef/concerns/hosts_controller_rescuer.rb
|
|
74
74
|
- app/controllers/foreman_chef/environments_controller.rb
|
|
File without changes
|