pio 0.2.6 → 0.2.7

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: 5b896a5fa15f8f59ec3e46d6fcb80aacf0dc8d96
4
- data.tar.gz: 02c3e94ecc0f3850632d3ce7454a65f78946d231
3
+ metadata.gz: 73ce00f558de61b898267a5ad530362ace3e4c84
4
+ data.tar.gz: 9df827c044267c93d109c49f343e758f08795efd
5
5
  SHA512:
6
- metadata.gz: dad2f7aa5d1fa30237e1d6ec906cf705c42e446b9fbb3b62e957fedfc984e5f4ab95f8232ee5e96e3e88ba8289f8b896fe91f59c66be5192c7ed26b8f6c722e3
7
- data.tar.gz: 6a43c94a49bac807d8f867f88fd5b4005cb8bafa9315f6841e894c15ab24c8876e9d924b2e9160d80efeb0f10318576d0fe06e7a85c870c560b4803782ad6081
6
+ metadata.gz: 9baf83820618e20a64b952b43086c3fd3295b1bdf72fa45da093db3ce35da9dee338e5e512d5221616ae04acbfde492476d2c66bede1f2c4b98f6ff8e6306d54
7
+ data.tar.gz: 20bc42f2e58a9c25513613689d54d65ee89f70782b2839590da3e64bb928e815105cecd63e61bece1ccc16afbd2669eea98652cc49774171d33ce12abe4f8d80
@@ -24,7 +24,7 @@ module Pio
24
24
 
25
25
 
26
26
  def dpid
27
- chassis_id
27
+ chassis_id.to_i
28
28
  end
29
29
 
30
30
 
@@ -1,7 +1,7 @@
1
1
  # Base module.
2
2
  module Pio
3
3
  # gem version.
4
- VERSION = "0.2.6"
4
+ VERSION = "0.2.7"
5
5
  end
6
6
 
7
7
 
@@ -151,6 +151,7 @@ module Pio
151
151
  its( "source_mac.to_s" ) { should eq "00:19:2f:a7:b2:8d" }
152
152
  its( :ether_type ) { should eq 0x88cc }
153
153
  its( :dpid ) { should eq 108173701773 }
154
+ its( 'dpid.class' ) { should eq Fixnum }
154
155
  its( :chassis_id ) { should eq 108173701773 }
155
156
  its( :port_id ) { should eq "Uplink to S1" }
156
157
  its( :port_number ) { should eq "Uplink to S1" }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yasuhito Takamiya
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-11 00:00:00.000000000 Z
11
+ date: 2013-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bindata