pec 0.9.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bc3b7fee6db286e6000ac9fc5f3009ecdf6f1b44
4
- data.tar.gz: a62986406f39396e9e0cd9983a5bb7d9939d4f6b
3
+ metadata.gz: c2227b0415c9609977ef4de3e47cca1edf76e0f8
4
+ data.tar.gz: 83b1ea380709c68b963159bb3fa418994cecd674
5
5
  SHA512:
6
- metadata.gz: b0619b9640d1248e4b28d7ee74f4a4a6357c128c21bd60dd3391165def475f637c4eaca18f01238f92906a316a1c2341f3bbc207c279cf35881d9c2a53c9adb4
7
- data.tar.gz: 63b2b52cc9f4a340f8e261242a66e98b15677282c3beb2ca1f0fbdb9912bcda11ccb13fcb3f0fceeb4bfe7bcdaad5e1199538cb4afb2f7ffdf7245d49e11686e
6
+ metadata.gz: b8c25169c6307c2597b26d2882041e271966c82b3913871791b236295268b94e60e943cd100761a7a3f0b853e056cbef11a2683a8923abf93af3e74a89a0e796
7
+ data.tar.gz: c704b650114b4824ff0ffff0383ac08bbaf5aa91f5247e66b3519de5312c6c5f730a468d7f077c571e50bf8d530d5eaac8edbc3cd83662653e142d4e252fcff8
@@ -20,7 +20,7 @@ module Pec::Handler
20
20
  ports << port
21
21
  end
22
22
  {
23
- networks: ports.map {|port| { uuid: nil, port: port.id }}
23
+ networks: ports.map {|port| { uuid: '', port: port.id }}
24
24
  }
25
25
  rescue Yao::Conflict => e
26
26
  raise(Pec::PortError.new(ports), e)
@@ -2,7 +2,7 @@ class Pec::PortError < StandardError
2
2
  attr_accessor :attribute
3
3
  def initialize(ports)
4
4
  self.attribute = {
5
- networks: ports.map {|port| { uuid: nil, port: port.id }}
5
+ networks: ports.map {|port| { uuid: '', port: port.id }}
6
6
  } if ports
7
7
  end
8
8
  end
@@ -1,3 +1,3 @@
1
1
  module Pec
2
- VERSION = "0.9.1"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - kazuhiko yamashita
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-19 00:00:00.000000000 Z
11
+ date: 2016-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor