foreman_chef 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7da1a055be91131a483a56eb8769bf6fafe304b9
4
- data.tar.gz: 2375b6891121651e6824fff3e73e8ec38261a437
3
+ metadata.gz: 7e67f70cef7f3befb5de89b4ed9ba5164a1bf78e
4
+ data.tar.gz: c93ad84ca9bffac5f641373dc1656c8885780363
5
5
  SHA512:
6
- metadata.gz: f6e44141df5a607f79c380b3ca81ded67314e4eb6553e6e7b262b666915b0bee84442003e44cdaf8a20f34a230eba1230dc0948dab4157012ba1660e69e26dc4
7
- data.tar.gz: efd17ea55ffb24fb2ae0067f023d9fa4f029aca65a85008ddd57e427710b57f78c3481f3d72cf8ec18608864a26f5b2961af3041cbe7d0bf0e8e98020638928a
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)
@@ -19,7 +19,7 @@ module ForemanChef
19
19
  scoped_search :in => :chef_proxy, :on => :name, :complete_value => true, :rename => 'chef_proxy.name'
20
20
 
21
21
  class Jail < Safemode::Jail
22
- allow :name
22
+ allow :name, :nil?
23
23
  end
24
24
 
25
25
  def self.humanize_class_name(_name = nil)
@@ -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
@@ -1,3 +1,3 @@
1
1
  module ForemanChef
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
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.0
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-04 00:00:00.000000000 Z
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