fog-proxmox 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile.lock +4 -4
- data/README.md +0 -4
- data/lib/fog/proxmox/helpers/cpu_helper.rb +1 -1
- data/lib/fog/proxmox/version.rb +1 -1
- data/spec/helpers/cpu_helper_spec.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: dc0e128843d71a575d9be413b792982e798765a64c6be35c680e6e8aed1ff21a
|
4
|
+
data.tar.gz: 4bd71591c99f94a4a0ec7e61f97a435b3cfa7797efdd5b0daf6327390a6b919b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83bb335496b68d5ac2513a290f40f6e2e2c4676bb32ff11149340da8c1087b516b3741390c91c7c983d9b6775751f271fb7427765c092165e8e6b8145016568f
|
7
|
+
data.tar.gz: f8942a6440b1fa8ad9af42b5a480c546a69093ef2f8f0ddd587750dae685874a70f14f021e054e53f8ad85ad513dcbc9d6e0fb0d95262a98f59c077a56d12a34
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
fog-proxmox (0.5.
|
4
|
+
fog-proxmox (0.5.2)
|
5
5
|
fog-core (~> 1.45)
|
6
6
|
fog-json (~> 1.0)
|
7
7
|
ipaddress (~> 0.8)
|
@@ -46,8 +46,8 @@ GEM
|
|
46
46
|
builder
|
47
47
|
excon (~> 0.58)
|
48
48
|
formatador (~> 0.2)
|
49
|
-
fog-json (1.0
|
50
|
-
fog-core
|
49
|
+
fog-json (1.2.0)
|
50
|
+
fog-core
|
51
51
|
multi_json (~> 1.10)
|
52
52
|
formatador (0.2.5)
|
53
53
|
hashdiff (0.3.7)
|
@@ -143,4 +143,4 @@ DEPENDENCIES
|
|
143
143
|
webmock (~> 3.4)
|
144
144
|
|
145
145
|
BUNDLED WITH
|
146
|
-
1.16.
|
146
|
+
1.16.5
|
data/README.md
CHANGED
@@ -36,10 +36,6 @@ gem install fog-proxmox
|
|
36
36
|
|
37
37
|
See [documentation](docs/getting_started.md).
|
38
38
|
|
39
|
-
This is not yet a stable version. I recommend you not to use it in production.
|
40
|
-
|
41
|
-
Work is still in progress...
|
42
|
-
|
43
39
|
## Development
|
44
40
|
|
45
41
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `bundle exec rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
@@ -22,7 +22,7 @@ module Fog
|
|
22
22
|
# module Cpu mixins
|
23
23
|
module CpuHelper
|
24
24
|
def self.extract(cpu)
|
25
|
-
cpu&.scan(/^(cputype=)?(\w+)(,flags=){0,1}(\+[\w-]+){0,1}[
|
25
|
+
cpu&.scan(/^(cputype=)?(\w+)(,flags=){0,1}(\+[\w-]+){0,1}[;]{0,1}(\+[\w-]+){0,1}/)&.first
|
26
26
|
end
|
27
27
|
|
28
28
|
def self.extract_type(cpu)
|
data/lib/fog/proxmox/version.rb
CHANGED
@@ -23,10 +23,10 @@ require 'fog/proxmox/helpers/cpu_helper'
|
|
23
23
|
describe Fog::Proxmox::CpuHelper do
|
24
24
|
|
25
25
|
let(:cpu) do
|
26
|
-
'cputype=kvm64,flags=+spec-ctrl
|
26
|
+
'cputype=kvm64,flags=+spec-ctrl;+pcid'
|
27
27
|
end
|
28
28
|
let(:cpu_nocputype) do
|
29
|
-
'kvm64,flags=+spec-ctrl
|
29
|
+
'kvm64,flags=+spec-ctrl;+pcid'
|
30
30
|
end
|
31
31
|
let(:cpu_nospectre) do
|
32
32
|
'cputype=kvm64,flags=+pcid'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog-proxmox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tristan Robert
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -504,7 +504,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
504
504
|
version: '0'
|
505
505
|
requirements: []
|
506
506
|
rubyforge_project:
|
507
|
-
rubygems_version: 2.
|
507
|
+
rubygems_version: 2.7.6
|
508
508
|
signing_key:
|
509
509
|
specification_version: 4
|
510
510
|
summary: Module for the 'Fog' gem to support Proxmox VE
|