foreman_default_hostgroup 4.0.0 → 4.0.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
- SHA1:
3
- metadata.gz: 8405ed690d11f8d107656ee4a9237c14b0a41b99
4
- data.tar.gz: 45e335b0f194f8016c020b533e0fee740b4869a3
2
+ SHA256:
3
+ metadata.gz: eea2c1504b131e0856539a55695b98550c20114169a60dd36e300a8745e748d9
4
+ data.tar.gz: 1f7098318bbb2dc3bab72be79766c80f787922a1ba13542a74d2f8729285c591
5
5
  SHA512:
6
- metadata.gz: 2a06c0e8a304b5775e594261fc4fde1b906312f00a057bfbd415a3796e36c37915e8c1c4442ee9e16adc6546063ad35dcab980adf3095088403b00a6c4c832d1
7
- data.tar.gz: a68ce3071ce99f86a14a6f87571de073932822d2ee7b94fba7d3acf7b2f6a11618491a22385b8af00027b05aeb85bf08b45bdc35cf404e17ee51eb97ef529924
6
+ metadata.gz: 1091a967380e92d8653b7b80085919371dd03d2538380c950bad23e54a02a890de8c481ab409aceaaa052f539e14c5994c43c52bf99a6896b4961c1083d1246f
7
+ data.tar.gz: 8a35fbe829648e2f5e92517dfa519e0287d95604db70c1460e1aac0c1f0df4cdce6460e762b46eafa2ed8d480677f1b54b4e5566840b5877d1997aa9d227afed
@@ -12,7 +12,7 @@
12
12
  # ^test$ - valid
13
13
  # /^test$/ - also valid
14
14
  #
15
- # List the regexes in the order of prority, you can have as many as you like. The
15
+ # List the regexes in the order of priority, you can have as many as you like. The
16
16
  # first one to match will be used. Debug statements are written to the log if you
17
17
  # are getting the wrong group applied.
18
18
  ---
@@ -5,6 +5,8 @@ module ForemanDefaultHostgroup
5
5
  # the plugin. Thus, inherits from ::Rails::Engine and not from
6
6
  # Rails::Engine
7
7
  class Engine < ::Rails::Engine
8
+ engine_name 'foreman_default_hostgroup'
9
+
8
10
  initializer 'foreman_default_hostgroup.load_default_settings',
9
11
  before: :load_config_initializers do
10
12
  require_dependency File.expand_path(
@@ -13,7 +15,7 @@ module ForemanDefaultHostgroup
13
15
 
14
16
  initializer 'foreman_default_hostgroup.register_plugin',
15
17
  before: :finisher_hook do
16
- Foreman::Plugin.register :foreman_plugin_template do
18
+ Foreman::Plugin.register :foreman_default_hostgroup do
17
19
  requires_foreman '>= 1.12'
18
20
  end
19
21
  end
@@ -1,3 +1,3 @@
1
1
  module ForemanDefaultHostgroup
2
- VERSION = '4.0.0'.freeze
2
+ VERSION = '4.0.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_default_hostgroup
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Sutcliffe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-06 00:00:00.000000000 Z
11
+ date: 2018-01-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Adds the option to specify a default hostgroup for new hosts created
14
14
  from facts/reports
@@ -51,11 +51,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
51
51
  version: '0'
52
52
  requirements: []
53
53
  rubyforge_project:
54
- rubygems_version: 2.2.5
54
+ rubygems_version: 2.7.3
55
55
  signing_key:
56
56
  specification_version: 4
57
57
  summary: Default Hostgroup Plugin for Foreman
58
58
  test_files:
59
59
  - test/test_plugin_helper.rb
60
- - test/unit/default_hostgroup_test.rb
61
60
  - test/unit/facts.json
61
+ - test/unit/default_hostgroup_test.rb