fog-proxmox 0.15.0 → 0.15.1
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 +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/fog/proxmox/compute/models/server.rb +6 -0
- data/lib/fog/proxmox/compute/models/snapshot.rb +1 -1
- data/lib/fog/proxmox/compute/models/task.rb +1 -1
- data/lib/fog/proxmox/core.rb +1 -0
- data/lib/fog/proxmox/helpers/disk_helper.rb +2 -2
- data/lib/fog/proxmox/helpers/nic_helper.rb +12 -5
- data/lib/fog/proxmox/version.rb +1 -1
- data/spec/compute_spec.rb +3 -2
- data/spec/fixtures/proxmox/compute/snapshots.yml +350 -1055
- data/spec/helpers/nic_helper_spec.rb +2 -2
- data/spec/proxmox_vcr.rb +1 -1
- metadata +34 -50
- data/.bundle/config +0 -4
- data/.github/CODE_OF_CONDUCT.md +0 -74
- data/.github/CONTRIBUTING.md +0 -20
- data/.github/CONTRIBUTORS.md +0 -9
- data/.github/FUNDING.yml +0 -12
- data/.github/ISSUE_TEMPLATE/bug_report.md +0 -35
- data/.github/ISSUE_TEMPLATE/feature_request.md +0 -17
- data/.github/ISSUE_TEMPLATE.md +0 -43
- data/.github/SUPPORT.md +0 -9
- data/.github/fogproxmox.png +0 -0
- data/.github/workflows/ci.yml +0 -64
- data/.github/workflows/release.yml +0 -38
- data/.gitignore +0 -8
- data/.rubocop.yml +0 -14
- data/.rubocop_todo.yml +0 -255
- data/.ruby-gemset +0 -1
- data/.solargraph.yml +0 -10
- data/.vscode/launch.json +0 -96
- data/.vscode/settings.json +0 -45
- data/.vscode/tasks.json +0 -27
- data/Gemfile +0 -23
- data/Rakefile +0 -31
- data/bin/console +0 -27
- data/bin/setup +0 -27
- data/fog-proxmox.gemspec +0 -65
- data/tasks/audit.rake +0 -25
- data/tasks/lint.rake +0 -22
- data/tasks/test.rake +0 -65
data/tasks/test.rake
DELETED
@@ -1,65 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
# Copyright 2018 Tristan Robert
|
4
|
-
|
5
|
-
# This file is part of Fog::Proxmox.
|
6
|
-
|
7
|
-
# Fog::Proxmox is free software: you can redistribute it and/or modify
|
8
|
-
# it under the terms of the GNU General Public License as published by
|
9
|
-
# the Free Software Foundation, either version 3 of the License, or
|
10
|
-
# (at your option) any later version.
|
11
|
-
|
12
|
-
# Fog::Proxmox is distributed in the hope that it will be useful,
|
13
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
-
# GNU General Public License for more details.
|
16
|
-
|
17
|
-
# You should have received a copy of the GNU General Public License
|
18
|
-
# along with Fog::Proxmox. If not, see <http://www.gnu.org/licenses/>.
|
19
|
-
|
20
|
-
namespace :spec do
|
21
|
-
desc 'Run fog-proxmox spec/*'
|
22
|
-
Rake::TestTask.new do |t|
|
23
|
-
t.name = 'all'
|
24
|
-
t.description = 'Run all specs'
|
25
|
-
t.libs.push %w[lib spec]
|
26
|
-
t.pattern = 'spec/**/*_spec.rb'
|
27
|
-
t.verbose = true
|
28
|
-
end
|
29
|
-
|
30
|
-
desc 'Run fog-proxmox spec/helpers/*'
|
31
|
-
Rake::TestTask.new do |t|
|
32
|
-
t.name = 'helpers'
|
33
|
-
t.description = 'Run helpers tests'
|
34
|
-
t.libs.push %w[lib spec]
|
35
|
-
t.pattern = 'spec/helpers/**/*_spec.rb'
|
36
|
-
t.verbose = true
|
37
|
-
end
|
38
|
-
|
39
|
-
desc 'Run fog-proxmox spec/compute'
|
40
|
-
Rake::TestTask.new do |t|
|
41
|
-
t.name = 'compute'
|
42
|
-
t.description = 'Run compute API tests'
|
43
|
-
t.libs.push %w[lib spec]
|
44
|
-
t.pattern = 'spec/**/compute_spec.rb'
|
45
|
-
t.verbose = true
|
46
|
-
end
|
47
|
-
|
48
|
-
desc 'Run fog-proxmox spec/identity'
|
49
|
-
Rake::TestTask.new do |t|
|
50
|
-
t.name = 'identity'
|
51
|
-
t.description = 'Run identity API tests'
|
52
|
-
t.libs.push %w[lib spec]
|
53
|
-
t.pattern = 'spec/**/identity_spec.rb'
|
54
|
-
t.verbose = true
|
55
|
-
end
|
56
|
-
|
57
|
-
desc 'Run fog-proxmox spec/network'
|
58
|
-
Rake::TestTask.new do |t|
|
59
|
-
t.name = 'network'
|
60
|
-
t.description = 'Run network API tests'
|
61
|
-
t.libs.push %w[lib spec]
|
62
|
-
t.pattern = 'spec/**/network_spec.rb'
|
63
|
-
t.verbose = true
|
64
|
-
end
|
65
|
-
end
|