foreman_salt 7.0.3 → 8.0.0

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: 5f1b578f746a23b4baddb585b865e87b6db90232
4
- data.tar.gz: 2a177763f30f68bc12ba770e180a562f5abda4e1
3
+ metadata.gz: f00bf9db98ac2f8f38bc60f5227b9c0253d57c20
4
+ data.tar.gz: 94a37fef763296aa524147ccffc05528f36605e0
5
5
  SHA512:
6
- metadata.gz: c9c99556833b1a240f5594398862fcf59413eda02bdcf53b54c639309fa25b667839f7fbf112e2365ee92f5b956a96c2441edcfe997d7cc6f1e0d85abbfe7c28
7
- data.tar.gz: 7604ba5ee0dd35f4505ff74e70bb24fadb6887facf87d7f30c2d9781d34030d8976a0c2ff037cceb3546bc20934b2975b65b4cac9a0b64e5309a193539287a1b
6
+ metadata.gz: 867d384b635137194f9cb0b519c44edb1e319899bfaccd562f9b0cfd72e536b00bbdbe908c179ea973712721ae3e8a4cad4ddbafddf776c46fd30381dff7d2ad
7
+ data.tar.gz: ecd103c07d9fcc418136a9dc7184dafdf022c08a97be4b781d10641b85e9bade97f2ccf197bb7595865824f61e37946bce23ae21d013ee36ba3e2837e05bc1cd
@@ -20,7 +20,7 @@ function update_salt_states(element) {
20
20
  return;
21
21
  }
22
22
 
23
- tfm.tools.showSpinner();
23
+ foreman.tools.showSpinner();
24
24
  $.ajax({
25
25
  type: 'put',
26
26
  url: url,
@@ -31,7 +31,7 @@ function update_salt_states(element) {
31
31
  multiSelectOnLoad();
32
32
  },
33
33
  complete: function() {
34
- tfm.tools.hideSpinner();
34
+ foreman.tools.hideSpinner();
35
35
  }
36
36
  });
37
37
  }
@@ -73,9 +73,9 @@ module ForemanSalt
73
73
  @minion = @minion.becomes(Host::Managed)
74
74
  @minion.type = 'Host::Managed'
75
75
  end
76
- @minion.attributes = host_params(:host)
76
+ @minion.attributes = params[:host]
77
77
  else
78
- @minion ||= Host::Managed.new(host_params(:host))
78
+ @minion ||= Host::Managed.new(params[:host])
79
79
  end
80
80
 
81
81
  @obj = @minion
@@ -53,7 +53,7 @@ module ForemanSalt
53
53
  end
54
54
 
55
55
  def facts_to_create
56
- @facts_to_create ||= facts.keys - db_facts.keys
56
+ @facts_to_create ||= facts.keys - db_facts.pluck('fact_names.name')
57
57
  end
58
58
 
59
59
  def fact_names
@@ -1,5 +1,5 @@
1
1
  Foreman::Plugin.register :foreman_salt do
2
- requires_foreman '>= 1.13'
2
+ requires_foreman '>= 1.14'
3
3
 
4
4
  apipie_documented_controllers ["#{ForemanSalt::Engine.root}/app/controllers/foreman_salt/api/v2/*.rb"]
5
5
 
@@ -1,3 +1,3 @@
1
1
  module ForemanSalt
2
- VERSION = '7.0.3'
2
+ VERSION = '8.0.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_salt
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.3
4
+ version: 8.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Benjamin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-11 00:00:00.000000000 Z
11
+ date: 2016-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deface
@@ -183,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
183
183
  version: '0'
184
184
  requirements: []
185
185
  rubyforge_project:
186
- rubygems_version: 2.5.2
186
+ rubygems_version: 2.5.1
187
187
  signing_key:
188
188
  specification_version: 4
189
189
  summary: Foreman Plug-in for Salt