ovirt_provision_plugin 1.0.1 → 1.0.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: 349e41ad4b8e953c3c5c38f924b80cf21d37aef7
4
- data.tar.gz: 44b74a82562056d07be2703ba5ebe466dfaa8981
3
+ metadata.gz: 987af91401580e7023c66cc49a22417d58ff87fb
4
+ data.tar.gz: bc322124c8a84e8520e4c1ab07991b6bf88ad040
5
5
  SHA512:
6
- metadata.gz: d8093c48083014eeac5d0ea827b9dbc87d825e5647a621cc8ae7e169ae53a5d29bbaa10b2be6d36075f48ca5df3b8f2541513dda507f4f67b73591b1a681b201
7
- data.tar.gz: 7fb9fe49575241a618cb070648a9e193ba39441313da9d26c1f42aa65afb3a8a684f358e43adbd11c2930c69f9c58ed5d381b44b7b05d6457b5fb05cf98f738c
6
+ metadata.gz: 55c9827d3010768699c5d728a00672e5ebebd5dca42d956158ba2e8ddd63c0ca1b5b5ac15a865a1b369ea72d5ce1657bdd34ba223d620b9f0e1e5afd032f3e06
7
+ data.tar.gz: 13272639ffe1a85ea549d073498dfa093180f4516af98df05d9d36096ee465d8e7697814dd937b489c932794d81680611388452470604f79e31fae8328410d6c
data/README.md CHANGED
@@ -14,14 +14,27 @@ ovirt-engine to reinstall the host id.
14
14
 
15
15
  ## Installation
16
16
 
17
- yum install ruby193-rubygem-ovirt_provision_plugin
17
+ ### Red Hat, CentOS, Fedora, Scientific Linux (rpm)
18
18
 
19
- [TODO: remove this section when plugin gets to official repo]
20
- Currently you can use:
21
- http://yum.theforeman.org/plugins/nightly/el6/x86_64/ruby193-rubygem-ovirt_provision_plugin-0.0.1-1.el6.noarch.rpm
19
+ * [Foreman: How to Install a Plugin](http://theforeman.org/manuals/latest/index.html#6.1InstallaPlugin)
22
20
 
23
- The plugin requires also rbovirt updates, which can be found in:
24
- http://yum.theforeman.org/nightly/el6/x86_64/ruby193-rubygem-rbovirt-0.0.28-1.el6.noarch.rpm
21
+ Set up the repo as explained in the link above, then run
22
+
23
+ # yum install ruby193-rubygem-ovirt_provision_plugin
24
+
25
+ ### Bundle (gem)
26
+
27
+ Add the following to bundler.d/Gemfile.local.rb in your Foreman installation directory (/usr/share/foreman by default)
28
+
29
+ $ gem 'ovirt_provision_plugin'
30
+
31
+ Then run `bundle install` and from the same directory.
32
+
33
+ ## Compatibility
34
+
35
+ | Foreman | Plugin |
36
+ | ---------------:| --------------:|
37
+ | >= 1.6 | 1.0.2 |
25
38
 
26
39
  ## Contributing
27
40
 
data/config/routes.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  Rails.application.routes.draw do
2
2
 
3
- match 'ovirt_hosts', :to => 'ovirt_provision_plugin/hosts#ovirt_hosts'
3
+ get 'ovirt_hosts', :to => 'ovirt_provision_plugin/hosts#ovirt_hosts'
4
4
 
5
5
  end
@@ -10,7 +10,9 @@ module OvirtProvisionPlugin
10
10
 
11
11
  # Add any db migrations
12
12
  initializer "ovirt_provision_plugin.load_app_instance_data" do |app|
13
- app.config.paths['db/migrate'] += OvirtProvisionPlugin::Engine.paths['db/migrate'].existent
13
+ OvirtProvisionPlugin::Engine.paths['db/migrate'].existent.each do |path|
14
+ app.config.paths['db/migrate'] << path
15
+ end
14
16
  end
15
17
 
16
18
  initializer 'ovirt_provision_plugin.register_plugin', :after=> :finisher_hook do |app|
@@ -1,3 +1,3 @@
1
1
  module OvirtProvisionPlugin
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ovirt_provision_plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yaniv Bronhaim
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-30 00:00:00.000000000 Z
11
+ date: 2016-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deface
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rbovirt
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: 0.0.27
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.0.27
41
41
  description: Ovirt provision plugin sends API request to oVirt management to reinstall
@@ -47,27 +47,27 @@ executables: []
47
47
  extensions: []
48
48
  extra_rdoc_files: []
49
49
  files:
50
+ - LICENSE
51
+ - README.md
52
+ - Rakefile
53
+ - app/helpers/concerns/ovirt_provision_plugin/hosts_helper_extensions.rb
50
54
  - app/models/concerns/ovirt_provision_plugin/host_extensions.rb
51
55
  - app/models/concerns/ovirt_provision_plugin/report_extensions.rb
52
- - app/views/ovirt_provision_plugin/hosts/ovirt_hosts.html.erb
53
- - app/views/ovirt_provision_plugin/hosts/hosts/ovirt_hosts.html.erb
56
+ - app/overrides/dashboard/index/sample_override.html.erb.deface
54
57
  - app/views/ovirt_provision_plugin/hosts/hosts/new_action.html.erb
58
+ - app/views/ovirt_provision_plugin/hosts/hosts/ovirt_hosts.html.erb
55
59
  - app/views/ovirt_provision_plugin/hosts/new_action.html.erb
56
- - app/views/ovirt_provision_plugin/layouts/new_layout.html.erb
60
+ - app/views/ovirt_provision_plugin/hosts/ovirt_hosts.html.erb
57
61
  - app/views/ovirt_provision_plugin/layouts/layouts/new_layout.html.erb
58
- - app/overrides/dashboard/index/sample_override.html.erb.deface
59
- - app/helpers/concerns/ovirt_provision_plugin/hosts_helper_extensions.rb
62
+ - app/views/ovirt_provision_plugin/layouts/new_layout.html.erb
60
63
  - config/routes.rb
61
- - lib/tasks/ovirt_provision_plugin_tasks.rake
62
- - lib/ovirt_provision_plugin/version.rb
63
- - lib/ovirt_provision_plugin/engine.rb
64
64
  - lib/ovirt_provision_plugin.rb
65
- - LICENSE
66
- - Rakefile
67
- - README.md
68
- - test/unit/ovirt_provision_plugin_test.rb
65
+ - lib/ovirt_provision_plugin/engine.rb
66
+ - lib/ovirt_provision_plugin/version.rb
67
+ - lib/tasks/ovirt_provision_plugin_tasks.rake
69
68
  - test/factories/ovirt_provision_plugin_factories.rb
70
69
  - test/test_plugin_helper.rb
70
+ - test/unit/ovirt_provision_plugin_test.rb
71
71
  homepage: https://github.com/theforeman/ovirt_provision_plugin
72
72
  licenses: []
73
73
  metadata: {}
@@ -77,22 +77,22 @@ require_paths:
77
77
  - lib
78
78
  required_ruby_version: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  requirements:
85
- - - '>='
85
+ - - ">="
86
86
  - !ruby/object:Gem::Version
87
87
  version: '0'
88
88
  requirements: []
89
89
  rubyforge_project:
90
- rubygems_version: 2.1.11
90
+ rubygems_version: 2.4.8
91
91
  signing_key:
92
92
  specification_version: 4
93
93
  summary: This plugin monitors oVirt provision for new host and perform related API
94
94
  calls to ovirt-engine.
95
95
  test_files:
96
- - test/unit/ovirt_provision_plugin_test.rb
97
96
  - test/factories/ovirt_provision_plugin_factories.rb
98
97
  - test/test_plugin_helper.rb
98
+ - test/unit/ovirt_provision_plugin_test.rb