smart_proxy_salt 2.1.1 → 2.1.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6ecf054e9a73d418781870b0ad4b15ad696e999d
4
- data.tar.gz: 05ac21db7d64431e2a87c620dba9a841d3a81660
3
+ metadata.gz: ae002572f0ac00e84d1160ab218148c72dd8dd73
4
+ data.tar.gz: 3b5e64352eb395d2f084e88f37e3e5d44e2808c8
5
5
  SHA512:
6
- metadata.gz: d874bd290c0fca99c10b31d34bb0b8bb94703158b3e3546918e4169c655b88282f0bb17668f784a452798adf69e0f80117f713ff8c16a170331d056cb0d01114
7
- data.tar.gz: acc5eb0ba29f51a00279cac1e3fbc713088803d70322e7d6ffe8f0832efda5d0c0ad6dc6e9394ee9bc8dd4c01da57879d60f85572e384e11b75c88888dcba92a
6
+ metadata.gz: 91bcf32a97e000a3e85b4a3be6c5a294e0ff2ccfb6becc54c0bbc89153c2862d11d51386f6bce85cfbcec8796d71770e349f32d76ece1d907a3a3dd4b5a9035a
7
+ data.tar.gz: c2e7ffa7f7cc0689be149ccb123801e9c6e1831d38f35add3aa3e80aa3135436295135d517b37bd2f8e3c5b1f8ccdc3f2fdd9d5a2d7d59a73884b5667289b236
@@ -7,7 +7,7 @@ module Proxy::Salt::Rest
7
7
 
8
8
  class << self
9
9
  def environments_list
10
- Proxy::Salt::ApiRequest.new.post('/run', :fun => 'fileserver.envs', :client => 'runner')['return'][0].to_s
10
+ JSON.dump(Proxy::Salt::ApiRequest.new.post('/run', :fun => 'fileserver.envs', :client => 'runner')['return'][0])
11
11
  end
12
12
 
13
13
  def states_list(environment)
@@ -25,7 +25,7 @@ module Proxy::Salt::Rest
25
25
  end
26
26
  end
27
27
 
28
- states.to_s
28
+ JSON.dump(states)
29
29
  end
30
30
  end
31
31
  end
@@ -1,5 +1,5 @@
1
1
  module Proxy
2
2
  module Salt
3
- VERSION = '2.1.1'
3
+ VERSION = '2.1.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smart_proxy_salt
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Moll
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-05-09 00:00:00.000000000 Z
12
+ date: 2015-05-10 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: SaltStack Plug-In for Foreman's Smart Proxy
15
15
  email: foreman-dev@googlegroups.com