fog-proxmox 0.8.1 → 0.8.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.
data/spec/network_spec.rb CHANGED
@@ -45,16 +45,16 @@ describe Fog::Proxmox::Network do
45
45
  node.networks.create(net_hash)
46
46
  # Find by id
47
47
  network = node.networks.get net_hash[:iface]
48
- network.wont_be_nil
48
+ _(network).wont_be_nil
49
49
  # Create 2nd time
50
- proc do
50
+ _(proc do
51
51
  node.networks.create(net_hash)
52
- end.must_raise Excon::Error::BadRequest
52
+ end).must_raise Excon::Error::BadRequest
53
53
  # all networks
54
54
  networks_all = node.networks.all
55
- networks_all.wont_be_nil
56
- networks_all.wont_be_empty
57
- networks_all.must_include network
55
+ _(networks_all).wont_be_nil
56
+ _(networks_all).wont_be_empty
57
+ _(networks_all).must_include network
58
58
  # Update
59
59
  network.update(comments: 'test')
60
60
  node.power('reboot')
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.8.1
4
+ version: 0.8.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: 2019-10-26 00:00:00.000000000 Z
11
+ date: 2019-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler