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.
data/.rubocop_todo.yml DELETED
@@ -1,255 +0,0 @@
1
- # This configuration was generated by
2
- # `rubocop --auto-gen-config`
3
- # on 2022-12-01 11:01:10 UTC using RuboCop version 1.39.0.
4
- # The point is for the user to remove these configuration records
5
- # one by one as the offenses are removed from the code base.
6
- # Note that changes in the inspected code, or installation of new
7
- # versions of RuboCop, may require this file to be generated again.
8
-
9
- # Offense count: 4
10
- # Configuration parameters: AllowSafeAssignment.
11
- Lint/AssignmentInCondition:
12
- Exclude:
13
- - 'lib/fog/proxmox/helpers/ip_helper.rb'
14
-
15
- # Offense count: 1
16
- Lint/MixedRegexpCaptureTypes:
17
- Exclude:
18
- - 'lib/fog/proxmox/helpers/cpu_helper.rb'
19
-
20
- # Offense count: 1
21
- # This cop supports unsafe autocorrection (--autocorrect-all).
22
- Lint/PercentStringArray:
23
- Exclude:
24
- - 'lib/fog/proxmox/core.rb'
25
-
26
- # Offense count: 13
27
- # Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
28
- Metrics/AbcSize:
29
- Max: 46
30
-
31
- # Offense count: 1
32
- # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods, inherit_mode.
33
- # AllowedMethods: refine
34
- Metrics/BlockLength:
35
- Max: 40
36
-
37
- # Offense count: 2
38
- # Configuration parameters: CountComments, CountAsOne.
39
- Metrics/ClassLength:
40
- Max: 200
41
-
42
- # Offense count: 5
43
- # Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
44
- Metrics/CyclomaticComplexity:
45
- Max: 17
46
-
47
- # Offense count: 18
48
- # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
49
- Metrics/MethodLength:
50
- Max: 70
51
-
52
- # Offense count: 2
53
- # Configuration parameters: CountComments, CountAsOne.
54
- Metrics/ModuleLength:
55
- Max: 133
56
-
57
- # Offense count: 5
58
- # Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
59
- Metrics/PerceivedComplexity:
60
- Max: 19
61
-
62
- # Offense count: 3
63
- Naming/AccessorMethodName:
64
- Exclude:
65
- - 'lib/fog/proxmox/auth/token/user_token.rb'
66
- - 'lib/fog/proxmox/network/requests/get_network.rb'
67
- - 'lib/fog/proxmox/network/requests/get_node.rb'
68
-
69
- # Offense count: 6
70
- Naming/ConstantName:
71
- Exclude:
72
- - 'lib/fog/proxmox/helpers/ip_helper.rb'
73
-
74
- # Offense count: 6
75
- # Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros.
76
- # NamePrefix: is_, has_, have_
77
- # ForbiddenPrefixes: is_, has_, have_
78
- # AllowedMethods: is_a?
79
- # MethodDefinitionMacros: define_method, define_singleton_method
80
- Naming/PredicateName:
81
- Exclude:
82
- - 'spec/**/*'
83
- - 'lib/fog/proxmox/compute/models/disk.rb'
84
- - 'lib/fog/proxmox/helpers/nic_helper.rb'
85
- - 'lib/fog/proxmox/identity/models/pool.rb'
86
-
87
- # Offense count: 3
88
- RSpec/BeforeAfterAll:
89
- Exclude:
90
- - 'spec/spec_helper.rb'
91
- - 'spec/rails_helper.rb'
92
- - 'spec/support/**/*.rb'
93
- - 'spec/compute_spec.rb'
94
- - 'spec/identity_spec.rb'
95
- - 'spec/network_spec.rb'
96
-
97
- # Offense count: 131
98
- # This cop supports unsafe autocorrection (--autocorrect-all).
99
- # Configuration parameters: SkipBlocks, EnforcedStyle.
100
- # SupportedStyles: described_class, explicit
101
- RSpec/DescribedClass:
102
- Exclude:
103
- - 'spec/compute_spec.rb'
104
- - 'spec/hash_spec.rb'
105
- - 'spec/helpers/controller_helper_spec.rb'
106
- - 'spec/helpers/cpu_helper_spec.rb'
107
- - 'spec/helpers/disk_helper_spec.rb'
108
- - 'spec/helpers/ip_helper_spec.rb'
109
- - 'spec/helpers/nic_helper_spec.rb'
110
- - 'spec/identity_spec.rb'
111
- - 'spec/network_spec.rb'
112
-
113
- # Offense count: 17
114
- # Configuration parameters: CountAsOne.
115
- RSpec/ExampleLength:
116
- Max: 136
117
-
118
- # Offense count: 9
119
- # Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
120
- # Include: **/*_spec*rb*, **/spec/**/*
121
- RSpec/FilePath:
122
- Exclude:
123
- - 'spec/compute_spec.rb'
124
- - 'spec/hash_spec.rb'
125
- - 'spec/helpers/controller_helper_spec.rb'
126
- - 'spec/helpers/cpu_helper_spec.rb'
127
- - 'spec/helpers/disk_helper_spec.rb'
128
- - 'spec/helpers/ip_helper_spec.rb'
129
- - 'spec/helpers/nic_helper_spec.rb'
130
- - 'spec/identity_spec.rb'
131
- - 'spec/network_spec.rb'
132
-
133
- # Offense count: 114
134
- # Configuration parameters: AssignmentOnly.
135
- RSpec/InstanceVariable:
136
- Exclude:
137
- - 'spec/compute_spec.rb'
138
- - 'spec/identity_spec.rb'
139
- - 'spec/network_spec.rb'
140
-
141
- # Offense count: 32
142
- # Configuration parameters: AllowSubject.
143
- RSpec/MultipleMemoizedHelpers:
144
- Max: 12
145
-
146
- # Offense count: 2
147
- RSpec/RepeatedDescription:
148
- Exclude:
149
- - 'spec/helpers/cpu_helper_spec.rb'
150
-
151
- # Offense count: 1
152
- # This cop supports unsafe autocorrection (--autocorrect-all).
153
- Style/CaseLikeIf:
154
- Exclude:
155
- - 'lib/fog/proxmox/auth/token.rb'
156
-
157
- # Offense count: 3
158
- # Configuration parameters: AllowedConstants.
159
- Style/Documentation:
160
- Exclude:
161
- - 'spec/**/*'
162
- - 'test/**/*'
163
- - 'lib/fog/proxmox/auth/token.rb'
164
- - 'lib/fog/proxmox/auth/token/access_ticket.rb'
165
- - 'lib/fog/proxmox/auth/token/user_token.rb'
166
-
167
- # Offense count: 2
168
- # This cop supports unsafe autocorrection (--autocorrect-all).
169
- # Configuration parameters: EnforcedStyle.
170
- # SupportedStyles: always, always_true, never
171
- Style/FrozenStringLiteralComment:
172
- Exclude:
173
- - 'lib/fog/proxmox/identity/models/domain.rb'
174
- - 'lib/fog/proxmox/identity/models/domain_type.rb'
175
-
176
- # Offense count: 2
177
- # This cop supports safe autocorrection (--autocorrect).
178
- Style/IfUnlessModifier:
179
- Exclude:
180
- - 'lib/fog/proxmox/auth/token/access_ticket.rb'
181
- - 'lib/fog/proxmox/compute/models/servers.rb'
182
-
183
- # Offense count: 12
184
- # This cop supports unsafe autocorrection (--autocorrect-all).
185
- # Configuration parameters: EnforcedStyle.
186
- # SupportedStyles: literals, strict
187
- Style/MutableConstant:
188
- Exclude:
189
- - 'lib/fog/proxmox/helpers/cpu_helper.rb'
190
- - 'lib/fog/proxmox/helpers/disk_helper.rb'
191
- - 'lib/fog/proxmox/helpers/ip_helper.rb'
192
- - 'lib/fog/proxmox/helpers/nic_helper.rb'
193
-
194
- # Offense count: 2
195
- # This cop supports unsafe autocorrection (--autocorrect-all).
196
- # Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns, IgnoredMethods.
197
- # SupportedStyles: predicate, comparison
198
- Style/NumericPredicate:
199
- Exclude:
200
- - 'spec/**/*'
201
- - 'lib/fog/proxmox/core.rb'
202
- - 'lib/fog/proxmox/helpers/cpu_helper.rb'
203
-
204
- # Offense count: 1
205
- # Configuration parameters: AllowedMethods.
206
- # AllowedMethods: respond_to_missing?
207
- Style/OptionalBooleanParameter:
208
- Exclude:
209
- - 'lib/fog/proxmox/identity/models/pool.rb'
210
-
211
- # Offense count: 20
212
- # This cop supports unsafe autocorrection (--autocorrect-all).
213
- # Configuration parameters: EnforcedStyle.
214
- # SupportedStyles: short, verbose
215
- Style/PreferredHashMethods:
216
- Exclude:
217
- - 'lib/fog/proxmox/compute/models/servers.rb'
218
- - 'lib/fog/proxmox/helpers/nic_helper.rb'
219
- - 'lib/fog/proxmox/identity/models/domain.rb'
220
- - 'lib/fog/proxmox/identity/models/pool.rb'
221
- - 'spec/helpers/controller_helper_spec.rb'
222
- - 'spec/helpers/nic_helper_spec.rb'
223
-
224
- # Offense count: 4
225
- # This cop supports unsafe autocorrection (--autocorrect-all).
226
- Style/RedundantInterpolation:
227
- Exclude:
228
- - 'lib/fog/proxmox/helpers/ip_helper.rb'
229
-
230
- # Offense count: 11
231
- # This cop supports unsafe autocorrection (--autocorrect-all).
232
- # Configuration parameters: Mode.
233
- Style/StringConcatenation:
234
- Exclude:
235
- - 'lib/fog/proxmox/compute/models/server.rb'
236
- - 'lib/fog/proxmox/compute/models/tasks.rb'
237
- - 'lib/fog/proxmox/helpers/cpu_helper.rb'
238
- - 'lib/fog/proxmox/helpers/disk_helper.rb'
239
- - 'lib/fog/proxmox/helpers/nic_helper.rb'
240
- - 'lib/fog/proxmox/variables.rb'
241
-
242
- # Offense count: 2
243
- # This cop supports unsafe autocorrection (--autocorrect-all).
244
- # Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, IgnoredMethods, AllowComments.
245
- # AllowedMethods: respond_to, define_method
246
- Style/SymbolProc:
247
- Exclude:
248
- - 'spec/compute_spec.rb'
249
-
250
- # Offense count: 16
251
- # This cop supports safe autocorrection (--autocorrect).
252
- # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns.
253
- # URISchemes: http, https
254
- Layout/LineLength:
255
- Max: 230
data/.ruby-gemset DELETED
@@ -1 +0,0 @@
1
- fog-proxmox
data/.solargraph.yml DELETED
@@ -1,10 +0,0 @@
1
- ---
2
- include:
3
- - "**/*.rb"
4
- exclude:
5
- - spec/**/*
6
- - test/**/*
7
- domains: []
8
- required: []
9
- plugins:
10
- -runtime
data/.vscode/launch.json DELETED
@@ -1,96 +0,0 @@
1
- {
2
- "version": "0.2.0",
3
- "configurations": [
4
-
5
- {
6
- "name": "Debug Local File",
7
- "type": "Ruby",
8
- "request": "launch",
9
- "cwd": "${workspaceRoot}",
10
- "program": "${workspaceRoot}/main.rb",
11
- "useBundler": true,
12
- },
13
- {
14
- "name": "Listen for rdebug-ide",
15
- "type": "Ruby",
16
- "request": "attach",
17
- "cwd": "${workspaceRoot}",
18
- "remoteHost": "127.0.0.1",
19
- "remotePort": "1234",
20
- "remoteWorkspaceRoot": "${workspaceRoot}"
21
- },
22
- {
23
- "name": "RSpec - all",
24
- "type": "Ruby",
25
- "request": "launch",
26
- "cwd": "${workspaceRoot}",
27
- "program": "${workspaceRoot}/bin/rspec",
28
- "useBundler": true,
29
- "showDebuggerOutput": true,
30
- "env": {
31
- "DISABLE_PROXY": true,
32
- "SSL_VERIFY_PEER": false,
33
- "USE_VCR": false,
34
- "PVE_URL": "https://192.168.56.101:8006/api2/json",
35
- "PVE_USERNAME": "root@pam",
36
- "PVE_PASSWORD": ""
37
- },
38
- "args": [
39
- "-I",
40
- "${workspaceRoot}"
41
- ]
42
- },
43
- {
44
- "name": "RSpec - active spec file only",
45
- "type": "Ruby",
46
- "request": "launch",
47
- "cwd": "${workspaceRoot}",
48
- "program": "${workspaceRoot}/bin/rspec",
49
- "useBundler": true,
50
- "showDebuggerOutput": true,
51
- "env": {
52
- "DISABLE_PROXY": true,
53
- "SSL_VERIFY_PEER": false,
54
- "USE_VCR": false,
55
- "PVE_URL": "https://192.168.56.101:8006/api2/json",
56
- "PVE_USERNAME": "root@pam",
57
- "PVE_PASSWORD": ""
58
- },
59
- "args": [
60
- "-I",
61
- "${workspaceRoot}",
62
- "${file}"
63
- ]
64
- },
65
- {
66
- "name": "bundle exec rake spec - all",
67
- "type": "Ruby",
68
- "request": "launch",
69
- "cwd": "${workspaceRoot}",
70
- "program": "${workspaceRoot}/bin/rake",
71
- "useBundler": true,
72
- "showDebuggerOutput": true,
73
- "env": {
74
- "DISABLE_PROXY": true,
75
- "SSL_VERIFY_PEER": false,
76
- "USE_VCR": false,
77
- "PVE_URL": "https://192.168.56.101:8006/api2/json",
78
- "PVE_USERNAME": "root@pam",
79
- "PVE_PASSWORD": ""
80
- },
81
- "args": [
82
- "spec",
83
- "-I",
84
- "${workspaceRoot}",
85
- "${file}"
86
- ]
87
- },
88
- {
89
- "name": "Cucumber",
90
- "type": "Ruby",
91
- "request": "launch",
92
- "cwd": "${workspaceRoot}",
93
- "program": "${workspaceRoot}/bin/cucumber"
94
- }
95
- ]
96
- }
@@ -1,45 +0,0 @@
1
- // Placez vos paramètres dans ce fichier pour remplacer les paramètres par défaut et les paramètres utilisateur.
2
- {
3
- "ruby.pathToBundler": "~/.asdf/shims/bundle",
4
- "ruby.useBundler": true,
5
- "solargraph.commandPath": "~/.asdf/shims/solargraph",
6
- "solargraph.bundlerPath": "~/.asdf/shims/bundle",
7
- "workbench.startupEditor": "newUntitledFile",
8
- "workbench.iconTheme": "vscode-icons",
9
- "git.autofetch": true,
10
- "git.confirmSync": false,
11
- "workbench.colorTheme": "Visual Studio Dark",
12
- "solargraph.useBundler": true,
13
- "ruby.lint": {
14
- "reek": true,
15
- "rubocop": {
16
- "lint": true, //enable all lint cops.
17
- "rails": true //Run extra rails cops
18
- },
19
- "ruby": true, //Runs ruby -wc
20
- "fasterer": true,
21
- "debride": true,
22
- "ruby-lint": false
23
- },
24
- "ruby.locate": {
25
- "include": "**/*.erb,**/*.rb,**/vendor/*.*",
26
- "exclude": "{**/@(test|spec|tmp|.*),**/@(test|spec|tmp|.*)/**,**/*_spec.rb}"
27
- },
28
- "ruby.interpreter.commandPath": "~/.asdf/shims/ruby",
29
- "ruby.pathToBundler": "~/.asdf/shims/bundle",
30
- "ruby.useBundler": true,
31
- "solargraph.commandPath": "~/.asdf/shims/solargraph",
32
- "solargraph.bundlerPath": "~/.asdf/shims/bundle",
33
- "gitlens.advanced.messages": {
34
- "suppressCommitHasNoPreviousCommitWarning": false,
35
- "suppressCommitNotFoundWarning": false,
36
- "suppressFileNotUnderSourceControlWarning": false,
37
- "suppressGitVersionWarning": false,
38
- "suppressLineUncommittedWarning": false,
39
- "suppressNoRepositoryWarning": false,
40
- "suppressResultsExplorerNotice": false,
41
- "suppressShowKeyBindingsNotice": true
42
- },
43
- "explorer.confirmDragAndDrop": false,
44
- "ruby.format": "rubocop"
45
- }
data/.vscode/tasks.json DELETED
@@ -1,27 +0,0 @@
1
- {
2
- // See https://go.microsoft.com/fwlink/?LinkId=733558
3
- // for the documentation about the tasks.json format
4
- "version": "2.0.0",
5
- "command": "bundler",
6
- "args": ["exec"],
7
- "echoCommand": true,
8
- "tasks": [
9
- {
10
- "taskName": "echo",
11
- "type": "shell",
12
- "command": "echo Hello"
13
- },
14
- {
15
- "taskName": "Run Script",
16
- "args": ["ruby", "${file}"]
17
- },
18
- {
19
- "taskName": "Exec",
20
- "args": ["ruby", "main.rb"]
21
- },
22
- {
23
- "taskName": "Test",
24
- "args": ["rspec"]
25
- }
26
- ]
27
- }
data/Gemfile DELETED
@@ -1,23 +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
- source 'https://rubygems.org'
21
-
22
- # Specify your gem's dependencies in fog-proxmox.gemspec
23
- gemspec
data/Rakefile DELETED
@@ -1,31 +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
- require 'rake/testtask'
21
-
22
- task_dir = File.expand_path('tasks', __dir__)
23
- Dir["#{task_dir}/**/*.rake"].each do |task_file|
24
- load task_file
25
- end
26
-
27
- desc 'Default Task'
28
- task default: :spec
29
-
30
- desc 'Alias of spec:all'
31
- task spec: 'spec:all'
data/bin/console DELETED
@@ -1,27 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- #
5
- # This file was generated by Bundler.
6
- #
7
- # The application 'console' is installed as part of a gem, and
8
- # this file is here to facilitate running it.
9
- #
10
-
11
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
12
-
13
- bundle_binstub = File.expand_path("bundle", __dir__)
14
-
15
- if File.file?(bundle_binstub)
16
- if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
17
- load(bundle_binstub)
18
- else
19
- abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
20
- Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
21
- end
22
- end
23
-
24
- require "rubygems"
25
- require "bundler/setup"
26
-
27
- load Gem.bin_path("fog-proxmox", "console")
data/bin/setup DELETED
@@ -1,27 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- #
5
- # This file was generated by Bundler.
6
- #
7
- # The application 'setup' is installed as part of a gem, and
8
- # this file is here to facilitate running it.
9
- #
10
-
11
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
12
-
13
- bundle_binstub = File.expand_path("bundle", __dir__)
14
-
15
- if File.file?(bundle_binstub)
16
- if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
17
- load(bundle_binstub)
18
- else
19
- abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
20
- Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
21
- end
22
- end
23
-
24
- require "rubygems"
25
- require "bundler/setup"
26
-
27
- load Gem.bin_path("fog-proxmox", "setup")
data/fog-proxmox.gemspec DELETED
@@ -1,65 +0,0 @@
1
- # Copyright 2018 Tristan Robert
2
-
3
- # This file is part of Fog::Proxmox.
4
-
5
- # Fog::Proxmox is free software: you can redistribute it and/or modify
6
- # it under the terms of the GNU General Public License as published by
7
- # the Free Software Foundation, either version 3 of the License, or
8
- # (at your option) any later version.
9
-
10
- # Fog::Proxmox is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- # GNU General Public License for more details.
14
-
15
- # You should have received a copy of the GNU General Public License
16
- # along with Fog::Proxmox. If not, see <http://www.gnu.org/licenses/>.
17
-
18
- # frozen_string_literal: true
19
-
20
- lib = File.expand_path('lib', __dir__)
21
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
22
- require 'fog/proxmox/version'
23
-
24
- Gem::Specification.new do |spec|
25
- spec.name = 'fog-proxmox'
26
- spec.version = Fog::Proxmox::VERSION
27
- spec.authors = ['Tristan Robert']
28
- spec.email = ['tristan.robert.44@gmail.com']
29
-
30
- spec.summary = "Module for the 'Fog' gem to support Proxmox VE"
31
- spec.description = 'This library can be used as a module for `fog`.'
32
- spec.homepage = 'https://github.com/fog/fog-proxmox'
33
- spec.license = 'GPL-3.0'
34
-
35
- spec.files = `git ls-files -z`.split("\x0")
36
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
37
- spec.require_paths = ['lib']
38
- spec.required_ruby_version = '>= 2.5'
39
-
40
- spec.add_development_dependency 'bundler', '~> 2.1'
41
- spec.add_development_dependency 'bundler-audit', '~> 0.6'
42
- spec.add_development_dependency 'debase', '~> 0.2.2'
43
- spec.add_development_dependency 'debride', '~> 1.8'
44
- spec.add_development_dependency 'fasterer', '~> 0.3'
45
- spec.add_development_dependency 'fastri', '~> 0.3'
46
- spec.add_development_dependency 'minitest', '~> 5.11'
47
- spec.add_development_dependency 'pry', '~> 0.11'
48
- spec.add_development_dependency 'rake', '~> 12.3'
49
- spec.add_development_dependency 'rcodetools', '~> 0.3'
50
- spec.add_development_dependency 'reek', '~> 6.1'
51
- spec.add_development_dependency 'rspec', '~> 3.7'
52
- spec.add_development_dependency 'rubocop', '~> 1.39'
53
- spec.add_development_dependency 'rubocop-minitest', '~> 0.24'
54
- spec.add_development_dependency 'rubocop-rake', '~> 0.6'
55
- spec.add_development_dependency 'rubocop-rspec', '~> 2.15'
56
- spec.add_development_dependency 'ruby-debug-ide', '~> 0.6'
57
- spec.add_development_dependency 'simplecov', '~> 0.21'
58
- spec.add_development_dependency 'vcr', '~> 4.0'
59
- spec.add_development_dependency 'webmock', '~> 3.5'
60
-
61
- spec.add_dependency 'fog-core', '~> 2.1'
62
- spec.add_dependency 'fog-json', '~> 1.2'
63
- spec.add_dependency 'ipaddress', '~> 0.8'
64
- spec.metadata['rubygems_mfa_required'] = 'true'
65
- end
data/tasks/audit.rake DELETED
@@ -1,25 +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
- require 'bundler/audit/task'
21
-
22
- Bundler::Audit::Task.new
23
-
24
- desc 'Run audit vulnerabilities'
25
- task audit: 'bundle:audit'
data/tasks/lint.rake DELETED
@@ -1,22 +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
- require 'rubocop/rake_task'
21
-
22
- RuboCop::RakeTask.new