puppetdb_foreman 1.0.3 → 1.0.4

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: 00f069aa416a980022faab79804ca9b9e670bbe9
4
- data.tar.gz: 6af558505f133d74ac23c0b786ac7241df007944
3
+ metadata.gz: c3ea822b096259679b0aac25ca37ca562f552abe
4
+ data.tar.gz: 64db6e9af941c5085eb51c24873f37b5bafc710a
5
5
  SHA512:
6
- metadata.gz: 233823f57901fb972a7f5e2d472dd47f1b0af4492189400b76af120dc5b08dbbd5d2b9a0140d6129723ba308ac6d55f8e27d15434a878cc8a4f349b29be6a26a
7
- data.tar.gz: dbd6412974ff1bac71a5ba627cab8f9472e6ac1a0efa52db4c6e31da53f9e4da7bd5fc00417bde6cdf52295f69a737dbc05d82a44f4155d124abe543248b5c38
6
+ metadata.gz: 2ca16956c6343ceec6d612811fca6edbd88f3d62bdbbcaf9ef7c7bc483b24f0dd0f6e89a5deb22edbf4b76276683c95e705f53ced530aadcd230cadfa674c4d9
7
+ data.tar.gz: 7e6358c5f26ea6622d23ac698ee36246fdb2c5eb963ea3d8a8200acd2000b41afb84c863c2b476a46bb0ba35df95ca7749d80576170a3e18bbe1dbf0533ba2cf
@@ -17,7 +17,7 @@ module PuppetdbForeman
17
17
  @proxy_error = "Problem connecting to host #{uri.host} on port #{uri.port}"
18
18
  render :action => :error, :layout => true
19
19
  rescue Errno::ECONNREFUSED => error
20
- @proxy_error = "#{uri.host} refused our conneciton"
20
+ @proxy_error = "#{uri.host} refused our connection"
21
21
  render :action => :error, :layout => true
22
22
  rescue EOFError => error
23
23
  @proxy_error = "Don't use ssl (https)"
@@ -5,7 +5,7 @@ module PuppetdbForeman
5
5
  require_dependency File.expand_path("../../../app/models/setting/puppetdb.rb", __FILE__) if (Setting.table_exists? rescue(false))
6
6
  end
7
7
 
8
- initializer 'puppetdb_foreman.register_plugin', :after=> :finisher_hook do |app|
8
+ initializer 'puppetdb_foreman.register_plugin', :before => :finisher_hook do |app|
9
9
  Foreman::Plugin.register :puppetdb_foreman do
10
10
  requires_foreman '>= 1.11'
11
11
  security_block :puppetdb_foreman do
@@ -1,3 +1,3 @@
1
1
  module PuppetdbForeman
2
- VERSION = '1.0.3'
2
+ VERSION = '1.0.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppetdb_foreman
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Lobato Garcia
@@ -47,7 +47,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
47
47
  version: '0'
48
48
  requirements: []
49
49
  rubyforge_project:
50
- rubygems_version: 2.2.2
50
+ rubygems_version: 2.5.0
51
51
  signing_key:
52
52
  specification_version: 4
53
53
  summary: This is a Foreman plugin to interact with PuppetDB.