msgpack-rpc 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c0da1908e24088da49a61b9d3363060c718ff6ff
4
+ data.tar.gz: ead8cc22d9eee71ec837b429aca6db7b0f496c17
5
+ SHA512:
6
+ metadata.gz: 645452d04668397df6993f80be101a6afc04b7e95cc47e04f8af340fabed0a315da69956bdbcb8770f50630b29dea56c7a7923072ccec7e3ce4c9e3e164d86ee
7
+ data.tar.gz: 0fa6b2f8952448f0d389a3092cdadf23b99a86d9e38866a54dfd38f21287704c0b0145cfc9475f4e18fdd702c26bc23f81b9651eac6497d7cb95a8ae12937d18
data/AUTHORS CHANGED
@@ -1 +1,2 @@
1
1
  FURUHASHI Sadayuki <frsyuki _at_ users.sourceforge.jp>
2
+ Shuzo Kashihara <suma _at_ users.sourceforge.jp>
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ 2013-01-22 version 0.5.2
2
+
3
+ * Upgrade msgpack-0.5.8 for Ruby 2.0
4
+ * Use bundler for packaging
1
5
 
2
6
  2012-01-05 version 0.5.1
3
7
 
data/Rakefile ADDED
@@ -0,0 +1,11 @@
1
+ require 'rake'
2
+ require 'rake/testtask'
3
+ require 'rake/clean'
4
+
5
+ require 'bundler'
6
+ Bundler::GemHelper.install_tasks
7
+
8
+ task :default => [:build]
9
+
10
+ task :test => ['test:unit','spec:unit']
11
+ load 'tasks/msgpack_rpc_tasks.rake'
@@ -1,7 +1,7 @@
1
1
  module MessagePack
2
2
  module RPC
3
3
 
4
- VERSION = '0.5.1'
4
+ VERSION = '0.5.2'
5
5
 
6
6
  end
7
7
  end
@@ -0,0 +1,22 @@
1
+ $:.push File.expand_path("../lib", __FILE__)
2
+ require 'msgpack/rpc/version'
3
+
4
+ Gem::Specification.new do |s|
5
+ s.name = "msgpack-rpc"
6
+ s.version = MessagePack::RPC::VERSION
7
+ s.authors = ["FURUHASHI Sadayuki", "Shuzo Kashihara"]
8
+ s.email = ["frsyuki@users.sourceforge.jp", "suma@users.sourceforge.jp"]
9
+ s.files = `git ls-files`.split("\n")
10
+ s.test_files = ["test/test_helper.rb"]
11
+ s.license = "Apache 2.0"
12
+ s.homepage = "http://msgpack.org/"
13
+ s.require_paths = ["lib"]
14
+ s.rubyforge_project = "msgpack"
15
+ s.summary = "MessagePack-RPC, asynchronous RPC library using MessagePack"
16
+
17
+ s.add_runtime_dependency "msgpack", ["~> 0.5.8"]
18
+ s.add_runtime_dependency "cool.io", ["~> 1.1.1"]
19
+ s.add_development_dependency "rspec", [">= 0"]
20
+ s.add_development_dependency 'bundler', ["~> 1.0"]
21
+ end
22
+
@@ -288,7 +288,8 @@ class MessagePackRPCTest < Test::Unit::TestCase
288
288
 
289
289
  def test_address
290
290
  addr = MessagePack::RPC::Address.new('172.16.0.11', 18900)
291
- raw = addr.to_msgpack
291
+ raw = ''
292
+ addr.to_msgpack(raw)
292
293
  msg = MessagePack.unpack(raw)
293
294
  addr2 = MessagePack::RPC::Address.load(msg)
294
295
  assert_equal(addr, addr2)
metadata CHANGED
@@ -1,51 +1,76 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: msgpack-rpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
5
- prerelease:
4
+ version: 0.5.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - FURUHASHI Sadayuki
8
+ - Shuzo Kashihara
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-06 00:00:00.000000000Z
12
+ date: 2014-01-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: msgpack
16
- requirement: &70139659980600 !ruby/object:Gem::Requirement
17
- none: false
16
+ requirement: !ruby/object:Gem::Requirement
18
17
  requirements:
19
18
  - - ~>
20
19
  - !ruby/object:Gem::Version
21
- version: 0.4.4
20
+ version: 0.5.8
22
21
  type: :runtime
23
22
  prerelease: false
24
- version_requirements: *70139659980600
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ~>
26
+ - !ruby/object:Gem::Version
27
+ version: 0.5.8
25
28
  - !ruby/object:Gem::Dependency
26
29
  name: cool.io
27
- requirement: &70139659979780 !ruby/object:Gem::Requirement
28
- none: false
30
+ requirement: !ruby/object:Gem::Requirement
29
31
  requirements:
30
32
  - - ~>
31
33
  - !ruby/object:Gem::Version
32
- version: 1.1.0
34
+ version: 1.1.1
33
35
  type: :runtime
34
36
  prerelease: false
35
- version_requirements: *70139659979780
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ~>
40
+ - !ruby/object:Gem::Version
41
+ version: 1.1.1
36
42
  - !ruby/object:Gem::Dependency
37
43
  name: rspec
38
- requirement: &70139659978900 !ruby/object:Gem::Requirement
39
- none: false
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - '>='
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
40
52
  requirements:
41
- - - ! '>='
53
+ - - '>='
42
54
  - !ruby/object:Gem::Version
43
55
  version: '0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: bundler
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ~>
61
+ - !ruby/object:Gem::Version
62
+ version: '1.0'
44
63
  type: :development
45
64
  prerelease: false
46
- version_requirements: *70139659978900
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: '1.0'
47
70
  description:
48
- email: frsyuki@users.sourceforge.jp
71
+ email:
72
+ - frsyuki@users.sourceforge.jp
73
+ - suma@users.sourceforge.jp
49
74
  executables: []
50
75
  extensions: []
51
76
  extra_rdoc_files: []
@@ -54,6 +79,7 @@ files:
54
79
  - ChangeLog
55
80
  - NOTICE
56
81
  - README
82
+ - Rakefile
57
83
  - lib/msgpack-rpc.rb
58
84
  - lib/msgpack/rpc.rb
59
85
  - lib/msgpack/rpc/address.rb
@@ -72,6 +98,7 @@ files:
72
98
  - lib/msgpack/rpc/transport/udp.rb
73
99
  - lib/msgpack/rpc/transport/unix.rb
74
100
  - lib/msgpack/rpc/version.rb
101
+ - msgpack-rpc.gemspec
75
102
  - spec/spec.opts
76
103
  - spec/unit/client_spec.rb
77
104
  - spec/unit/my_server.rb
@@ -80,28 +107,28 @@ files:
80
107
  - test/msgpack_rpc_test.rb
81
108
  - test/test_helper.rb
82
109
  homepage: http://msgpack.org/
83
- licenses: []
110
+ licenses:
111
+ - Apache 2.0
112
+ metadata: {}
84
113
  post_install_message:
85
114
  rdoc_options: []
86
115
  require_paths:
87
116
  - lib
88
117
  required_ruby_version: !ruby/object:Gem::Requirement
89
- none: false
90
118
  requirements:
91
- - - ! '>='
119
+ - - '>='
92
120
  - !ruby/object:Gem::Version
93
121
  version: '0'
94
122
  required_rubygems_version: !ruby/object:Gem::Requirement
95
- none: false
96
123
  requirements:
97
- - - ! '>='
124
+ - - '>='
98
125
  - !ruby/object:Gem::Version
99
126
  version: '0'
100
127
  requirements: []
101
128
  rubyforge_project: msgpack
102
- rubygems_version: 1.8.12
129
+ rubygems_version: 2.2.1
103
130
  signing_key:
104
- specification_version: 3
131
+ specification_version: 4
105
132
  summary: MessagePack-RPC, asynchronous RPC library using MessagePack
106
133
  test_files:
107
134
  - test/test_helper.rb