distributor 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -25,7 +25,7 @@ class Distributor::Packet
25
25
  end
26
26
 
27
27
  def self.pack(num)
28
- [num.to_s(16).rjust(8,"0")].pack("H8")
28
+ [num].pack("N")
29
29
  end
30
30
 
31
31
  def self.unpack(string)
@@ -1,5 +1,5 @@
1
1
  module Distributor
2
2
 
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: distributor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-06-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
16
- requirement: &70281449141900 !ruby/object:Gem::Requirement
16
+ requirement: &70255347061300 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 0.13.6
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70281449141900
24
+ version_requirements: *70255347061300
25
25
  description: TCP Multiplexer
26
26
  email: ddollar@gmail.com
27
27
  executables: []