rexpro 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -55,10 +55,8 @@ module Rexpro
55
55
  "Expected #{fields.length} fields, got #{array_size}"
56
56
  end
57
57
 
58
- values = unpacker.read
59
-
60
- attrs = fields.zip(values).inject({}) do |memo, (field, value)|
61
- memo[field] = value
58
+ attrs = fields.inject({}) do |memo, field|
59
+ memo[field] = unpacker.read
62
60
  memo
63
61
  end
64
62
 
@@ -1,3 +1,3 @@
1
1
  module Rexpro
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
@@ -28,7 +28,7 @@ DESC
28
28
  spec.test_files = spec.files.grep(%r{^spec/})
29
29
  spec.require_paths = ["lib"]
30
30
 
31
- spec.add_dependency "msgpack", "~> 0.5.4"
31
+ spec.add_dependency "msgpack", "~> 0.5.9"
32
32
  spec.add_dependency "uuid", "~> 2.3.7"
33
33
  spec.add_dependency "tcp_timeout", "~> 0.1.1"
34
34
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rexpro
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-09-09 00:00:00.000000000 Z
12
+ date: 2014-10-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: msgpack
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 0.5.4
21
+ version: 0.5.9
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: 0.5.4
29
+ version: 0.5.9
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: uuid
32
32
  requirement: !ruby/object:Gem::Requirement