trema 0.3.13 → 0.3.14

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/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source :rubygems
1
+ source "https://rubygems.org"
2
2
 
3
3
 
4
4
  # Include dependencies from trema.gemspec. DRY!
@@ -134,6 +134,7 @@ Init_port_status() {
134
134
  rb_alias( cPortStatus, rb_intern( "xid" ), rb_intern( "transaction_id" ) );
135
135
  rb_define_method( cPortStatus, "reason", port_status_reason, 0 );
136
136
  rb_define_method( cPortStatus, "phy_port", port_status_phy_port, 0 );
137
+ rb_alias( cPortStatus, rb_intern( "port" ), rb_intern( "phy_port" ) );
137
138
 
138
139
  rb_require( "trema/port-status-add" );
139
140
  rb_require( "trema/port-status-delete" );
@@ -17,7 +17,7 @@
17
17
 
18
18
 
19
19
  module Trema
20
- VERSION = "0.3.13"
20
+ VERSION = "0.3.14"
21
21
  end
22
22
 
23
23
 
@@ -544,11 +544,11 @@ describe Trema::PacketIn do
544
544
  0x04, 0x02, 0x07, 0x31, # Port ID
545
545
  0x06, 0x02, 0x00, 0xb4, # TTL
546
546
  0x00, 0x00, # EOF
547
- 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5,
548
- 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5,
549
- 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5,
550
- 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5,
551
- 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5,
547
+ 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5,
548
+ 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5,
549
+ 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5,
550
+ 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5,
551
+ 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5,
552
552
  0xa5, 0xa5, 0xa5, 0xa5, 0xa5
553
553
  ].pack( "C*" )
554
554
  controller( "PacketInSendController" ).should_receive( :packet_in ) do | datapath_id, message |
@@ -571,9 +571,7 @@ describe Trema::PacketIn do
571
571
  sleep 2
572
572
  }
573
573
  end
574
-
575
574
  end
576
-
577
575
  end
578
576
 
579
577
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trema
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 13
10
- version: 0.3.13
9
+ - 14
10
+ version: 0.3.14
11
11
  platform: ruby
12
12
  authors:
13
13
  - Yasuhito Takamiya