foreman_fog_proxmox 0.5.5 → 0.5.6

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of foreman_fog_proxmox might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ca619ec359deaafb7ae8d9226bd0db7213a8f8276b27c24e39d3f4549744d759
4
- data.tar.gz: 674603da5a60bf493462eaff2f9ac55637b908ee557cb2d026cdba006f17d1df
3
+ metadata.gz: b867a431af383a2d626127ab2f79f996bbcc72a8cd770bd94ff48db315270e56
4
+ data.tar.gz: 38e71818548bea80b97801e50a7153a48cbbc94a17d07f9d555c296c78cccd2c
5
5
  SHA512:
6
- metadata.gz: a5bc188c202ac4c0a067c001949ae64666c914000a2d2eff3bd49554f0be033bc5b5bcafddcfa9aeaebc9f282c7d0908237c3dfed801bbd8109fa7a5f79a757f
7
- data.tar.gz: 044cc2a7d66fb8cddb3332d0fe98160e77a6bb0a71aec979334692197e4e406d2866bb84c8e1dde032797541c96f267a3126024e9520d28f87ceb0eb4f09a4a3
6
+ metadata.gz: edf8d6c9b5fb1aa5c1fe4107108435036752a6bd7170545b6ff85d78f086f80c9f6af2dc53c6bca1e0c34418963586f492a5e249a25907c6cc3818e74b8ad6d7
7
+ data.tar.gz: 6a1ec0442155b270f08ea1fc9ec97e08fff473e624404fd2078c05533f3629bac0bbbafd0ee617ef03732917f378c872bec629c60372d91710d4a6627109b8e5
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  ![ForemanFogProxmox](.github/images/foremanproxmox.png)
2
2
 
3
- [![Build Status](https://travis-ci.com/tristanrobert/foreman_fog_proxmox.svg?branch=master)](https://travis-ci.com/tristanrobert/foreman_fog_proxmox)
4
- [![Maintainability](https://api.codeclimate.com/v1/badges/922162c278e0fa9207ba/maintainability)](https://codeclimate.com/github/tristanrobert/foreman_fog_proxmox/maintainability)
5
- [![Test Coverage](https://api.codeclimate.com/v1/badges/922162c278e0fa9207ba/test_coverage)](https://codeclimate.com/github/tristanrobert/foreman_fog_proxmox/test_coverage)
3
+ [![Build Status](https://travis-ci.com/theforeman/foreman_fog_proxmox.svg?branch=master)](https://travis-ci.com/theforeman/foreman_fog_proxmox)
4
+ [![Maintainability](https://api.codeclimate.com/v1/badges/922162c278e0fa9207ba/maintainability)](https://codeclimate.com/github/theforeman/foreman_fog_proxmox/maintainability)
5
+ [![Test Coverage](https://api.codeclimate.com/v1/badges/922162c278e0fa9207ba/test_coverage)](https://codeclimate.com/github/theforeman/foreman_fog_proxmox/test_coverage)
6
6
 
7
7
  # ForemanFogProxmox
8
8
 
@@ -16,7 +16,7 @@ If you like it and need more features you can [support](SUPPORT.md) it.
16
16
 
17
17
  Tested with:
18
18
 
19
- * Foreman >= 1.17 and < 1.20
19
+ * Foreman >= 1.17 and <= 1.20
20
20
  * Fog-proxmox >= 0.5.3
21
21
  * Proxmox >= 5.1
22
22
  * Ruby >= 2.3
@@ -86,12 +86,12 @@ Then you can check plugin installation after login into your new foreman server
86
86
 
87
87
  ### From OS packages
88
88
 
89
- [Deb](https://github.com/theforeman/foreman-packaging/pull/3071), [rpm](https://github.com/theforeman/foreman-packaging/pull/3069): work in progress...
90
-
91
89
  Please see the Foreman manual for complete instructions:
92
90
 
93
91
  * [Foreman: How to Install a Plugin](http://theforeman.org/manuals/latest/index.html#6.1InstallaPlugin)
94
92
 
93
+ Redhat, CentOS or Fedora users should also [setup Selinux](https://projects.theforeman.org/projects/foreman/wiki/SELinux) to allow foreman and all its plugins to work.
94
+
95
95
  ## Usage
96
96
 
97
97
  * [Compute resource](.github/compute_resource.md)
@@ -189,7 +189,7 @@ See details in [foreman plugin development](https://projects.theforeman.org/proj
189
189
  ## Contributing
190
190
 
191
191
  You can reach the [contributors](CONTRIBUTORS.md).
192
- Bug reports and pull requests are welcome on GitHub at [ForemanFogProxmox](https://github.com/tristanrobert/foreman_proxmox). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
192
+ Bug reports and pull requests are welcome on GitHub at [ForemanFogProxmox](https://github.com/theforeman/foreman_fog_proxmox). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
193
193
 
194
194
  Please read [how to contribute](CONTRIBUTING.md).
195
195
 
@@ -15,7 +15,7 @@ GNU General Public License for more details.
15
15
  You should have received a copy of the GNU General Public License
16
16
  along with ForemanFogProxmox. If not, see <http://www.gnu.org/licenses/>. %>
17
17
 
18
- <% vm_type = f.object.type %>
18
+ <% vm_type = f.object.respond_to?('type') ? f.object.type : nil %>
19
19
 
20
20
  <%= render :partial => provider_partial(compute_resource, 'network'),
21
21
  :locals => { :f => i, :vm_type => vm_type, :compute_resource => compute_resource, :new_host => new_host, :new_vm => new_vm, :remove_title => _('remove network interface') },
@@ -15,7 +15,7 @@ GNU General Public License for more details.
15
15
  You should have received a copy of the GNU General Public License
16
16
  along with ForemanFogProxmox. If not, see <http://www.gnu.org/licenses/>. %>
17
17
 
18
- <% vm_type = f.object.type %>
18
+ <% vm_type = f.object.respond_to?('type') ? f.object.type : nil %>
19
19
 
20
20
  <%= new_child_fields_template(f, compute_resource.interfaces_attrs_name, {
21
21
  :object => compute_resource.new_interface,
@@ -18,5 +18,5 @@
18
18
  # along with ForemanFogProxmox. If not, see <http://www.gnu.org/licenses/>.
19
19
 
20
20
  module ForemanFogProxmox
21
- VERSION = '0.5.5'.freeze
21
+ VERSION = '0.5.6'.freeze
22
22
  end
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_fog_proxmox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tristan Robert
8
+ - The Foreman Team
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2018-11-27 00:00:00.000000000 Z
12
+ date: 2019-02-12 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: fog-proxmox
@@ -84,6 +85,7 @@ description: Foreman plugin adds Proxmox VE compute resource using fog-proxmox.
84
85
  is compatible with Foreman 1.17+
85
86
  email:
86
87
  - tristan.robert.44@gmail.com
88
+ - theforeman.rubygems@gmail.com
87
89
  executables: []
88
90
  extensions: []
89
91
  extra_rdoc_files: []
@@ -164,7 +166,7 @@ files:
164
166
  - test/unit/foreman_fog_proxmox/helpers/proxmox_vm_helper_test.rb
165
167
  - test/unit/foreman_fog_proxmox/proxmox_test.rb
166
168
  - test/unit/foreman_fog_proxmox/proxmox_test_helpers.rb
167
- homepage: https://github.com/tristanrobert/foreman_proxmox
169
+ homepage: https://github.com/theforeman/foreman_fog_proxmox
168
170
  licenses:
169
171
  - GPL-3.0
170
172
  metadata: {}
@@ -183,17 +185,16 @@ required_rubygems_version: !ruby/object:Gem::Requirement
183
185
  - !ruby/object:Gem::Version
184
186
  version: '0'
185
187
  requirements: []
186
- rubyforge_project:
187
- rubygems_version: 2.7.6
188
+ rubygems_version: 3.0.1
188
189
  signing_key:
189
190
  specification_version: 4
190
191
  summary: Foreman plugin that adds Proxmox VE compute resource using fog-proxmox
191
192
  test_files:
193
+ - test/factories/proxmox_factory.rb
194
+ - test/test_plugin_helper.rb
192
195
  - test/unit/foreman_fog_proxmox/proxmox_test_helpers.rb
193
- - test/unit/foreman_fog_proxmox/helpers/proxmox_vm_helper_test.rb
194
196
  - test/unit/foreman_fog_proxmox/helpers/proxmox_container_helper_test.rb
197
+ - test/unit/foreman_fog_proxmox/helpers/proxmox_vm_helper_test.rb
195
198
  - test/unit/foreman_fog_proxmox/helpers/proxmox_server_helper_test.rb
196
199
  - test/unit/foreman_fog_proxmox/proxmox_test.rb
197
- - test/factories/proxmox_factory.rb
198
200
  - test/functional/compute_resources_controller_test.rb
199
- - test/test_plugin_helper.rb