msgpack-rpc 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/NOTICE +4 -0
- data/README +1 -1
- data/lib/msgpack/rpc.rb +904 -287
- metadata +14 -27
- data/Rakefile +0 -132
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: msgpack-rpc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- FURUHASHI Sadayuki
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2010-03-04 00:00:00 +09:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -32,42 +32,29 @@ dependencies:
|
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 0.3.0
|
34
34
|
version:
|
35
|
-
description:
|
36
|
-
email: frsyuki
|
35
|
+
description:
|
36
|
+
email: frsyuki@users.sourceforge.jp
|
37
37
|
executables: []
|
38
38
|
|
39
39
|
extensions: []
|
40
40
|
|
41
|
-
extra_rdoc_files:
|
42
|
-
|
43
|
-
- ChangeLog
|
44
|
-
- AUTHORS
|
41
|
+
extra_rdoc_files: []
|
42
|
+
|
45
43
|
files:
|
46
|
-
-
|
47
|
-
- ChangeLog
|
48
|
-
- Rakefile
|
44
|
+
- lib/msgpack/rpc.rb
|
49
45
|
- test/msgpack_rpc_test.rb
|
50
46
|
- test/test_helper.rb
|
51
|
-
- lib/msgpack/rpc.rb
|
52
47
|
- AUTHORS
|
48
|
+
- ChangeLog
|
49
|
+
- NOTICE
|
50
|
+
- README
|
53
51
|
has_rdoc: true
|
54
|
-
homepage: http://msgpack.
|
52
|
+
homepage: http://msgpack.sourceforge.jp/
|
55
53
|
licenses: []
|
56
54
|
|
57
55
|
post_install_message:
|
58
|
-
rdoc_options:
|
59
|
-
|
60
|
-
- msgpack-rpc documentation
|
61
|
-
- --charset
|
62
|
-
- utf-8
|
63
|
-
- --opname
|
64
|
-
- index.html
|
65
|
-
- --line-numbers
|
66
|
-
- --main
|
67
|
-
- README
|
68
|
-
- --inline-source
|
69
|
-
- --exclude
|
70
|
-
- ^(examples|extras)/
|
56
|
+
rdoc_options: []
|
57
|
+
|
71
58
|
require_paths:
|
72
59
|
- lib
|
73
60
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -88,6 +75,6 @@ rubyforge_project: msgpack
|
|
88
75
|
rubygems_version: 1.3.5
|
89
76
|
signing_key:
|
90
77
|
specification_version: 3
|
91
|
-
summary: RPC library using MessagePack
|
78
|
+
summary: MessagePack-RPC, asynchronous RPC library using MessagePack
|
92
79
|
test_files:
|
93
80
|
- test/test_helper.rb
|
data/Rakefile
DELETED
@@ -1,132 +0,0 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'rake'
|
3
|
-
require 'rake/clean'
|
4
|
-
require 'rake/testtask'
|
5
|
-
require 'rake/packagetask'
|
6
|
-
require 'rake/gempackagetask'
|
7
|
-
require 'rake/rdoctask'
|
8
|
-
require 'rake/contrib/rubyforgepublisher'
|
9
|
-
require 'rake/contrib/sshpublisher'
|
10
|
-
require 'fileutils'
|
11
|
-
include FileUtils
|
12
|
-
|
13
|
-
NAME = "msgpack-rpc"
|
14
|
-
AUTHOR = "FURUHASHI Sadayuki"
|
15
|
-
EMAIL = "frsyuki _at_ users.sourceforge.jp"
|
16
|
-
DESCRIPTION = "RPC library using MessagePack, a ainary-based efficient data interchange format."
|
17
|
-
RUBYFORGE_PROJECT = "msgpack"
|
18
|
-
HOMEPATH = "http://#{RUBYFORGE_PROJECT}.rubyforge.org"
|
19
|
-
BIN_FILES = %w( )
|
20
|
-
VERS = "0.2.0"
|
21
|
-
|
22
|
-
#REV = File.read(".svn/entries")[/committed-rev="(d+)"/, 1] rescue nil
|
23
|
-
REV = nil
|
24
|
-
CLEAN.include ['**/.*.sw?', '*.gem', '.config']
|
25
|
-
RDOC_OPTS = [
|
26
|
-
'--title', "#{NAME} documentation",
|
27
|
-
"--charset", "utf-8",
|
28
|
-
"--opname", "index.html",
|
29
|
-
"--line-numbers",
|
30
|
-
"--main", "README",
|
31
|
-
"--inline-source",
|
32
|
-
]
|
33
|
-
|
34
|
-
task :default => [:test]
|
35
|
-
task :package => [:clean]
|
36
|
-
|
37
|
-
Rake::TestTask.new("test") do |t|
|
38
|
-
t.libs << "test"
|
39
|
-
t.pattern = "test/**/*_test.rb"
|
40
|
-
t.verbose = true
|
41
|
-
end
|
42
|
-
|
43
|
-
spec = Gem::Specification.new do |s|
|
44
|
-
s.name = NAME
|
45
|
-
s.version = VERS
|
46
|
-
s.platform = Gem::Platform::RUBY
|
47
|
-
#s.has_rdoc = true
|
48
|
-
s.extra_rdoc_files = ["README", "ChangeLog", "AUTHORS"]
|
49
|
-
s.rdoc_options += RDOC_OPTS + ['--exclude', '^(examples|extras)/']
|
50
|
-
s.summary = DESCRIPTION
|
51
|
-
s.description = DESCRIPTION
|
52
|
-
s.author = AUTHOR
|
53
|
-
s.email = EMAIL
|
54
|
-
s.homepage = HOMEPATH
|
55
|
-
s.executables = BIN_FILES
|
56
|
-
s.rubyforge_project = RUBYFORGE_PROJECT
|
57
|
-
s.bindir = "bin"
|
58
|
-
s.require_path = "lib"
|
59
|
-
s.test_files = Dir["test/test_*.rb"]
|
60
|
-
|
61
|
-
s.add_dependency "msgpack", ">= 0.3.1"
|
62
|
-
s.add_dependency "rev", ">= 0.3.0"
|
63
|
-
#s.required_ruby_version = '>= 1.8.2'
|
64
|
-
|
65
|
-
s.files = %w(README ChangeLog Rakefile) +
|
66
|
-
Dir.glob("{bin,doc,test,lib,templates,generator,extras,website,script}/**/*") +
|
67
|
-
Dir.glob("ext/**/*.{h,c,rb}") +
|
68
|
-
Dir.glob("examples/**/*.rb") +
|
69
|
-
Dir.glob("tools/*.rb")
|
70
|
-
|
71
|
-
s.extensions = FileList["ext/**/extconf.rb"].to_a
|
72
|
-
end
|
73
|
-
|
74
|
-
Rake::GemPackageTask.new(spec) do |p|
|
75
|
-
p.need_tar = true
|
76
|
-
p.gem_spec = spec
|
77
|
-
end
|
78
|
-
|
79
|
-
task :install do
|
80
|
-
name = "#{NAME}-#{VERS}.gem"
|
81
|
-
sh %{rake package}
|
82
|
-
sh %{sudo gem install pkg/#{name}}
|
83
|
-
end
|
84
|
-
|
85
|
-
task :uninstall => [:clean] do
|
86
|
-
sh %{sudo gem uninstall #{NAME}}
|
87
|
-
end
|
88
|
-
|
89
|
-
|
90
|
-
#Rake::RDocTask.new do |rdoc|
|
91
|
-
# rdoc.rdoc_dir = 'html'
|
92
|
-
# rdoc.options += RDOC_OPTS
|
93
|
-
# rdoc.template = "resh"
|
94
|
-
# #rdoc.template = "#{ENV['template']}.rb" if ENV['template']
|
95
|
-
# if ENV['DOC_FILES']
|
96
|
-
# rdoc.rdoc_files.include(ENV['DOC_FILES'].split(/,\s*/))
|
97
|
-
# else
|
98
|
-
# rdoc.rdoc_files.include('README', 'ChangeLog')
|
99
|
-
# rdoc.rdoc_files.include('lib/**/*.rb')
|
100
|
-
# rdoc.rdoc_files.include('ext/**/*.c')
|
101
|
-
# end
|
102
|
-
#end
|
103
|
-
|
104
|
-
desc "Publish to RubyForge"
|
105
|
-
task :rubyforge => [:rdoc, :package] do
|
106
|
-
require 'rubyforge'
|
107
|
-
Rake::RubyForgePublisher.new(RUBYFORGE_PROJECT, 'frsyuki').upload
|
108
|
-
end
|
109
|
-
|
110
|
-
desc 'Package and upload the release to rubyforge.'
|
111
|
-
task :release => [:clean, :package] do |t|
|
112
|
-
v = ENV["VERSION"] or abort "Must supply VERSION=x.y.z"
|
113
|
-
abort "Versions don't match #{v} vs #{VERS}" unless v == VERS
|
114
|
-
pkg = "pkg/#{NAME}-#{VERS}"
|
115
|
-
|
116
|
-
rf = RubyForge.new
|
117
|
-
puts "Logging in"
|
118
|
-
rf.login
|
119
|
-
|
120
|
-
c = rf.userconfig
|
121
|
-
# c["release_notes"] = description if description
|
122
|
-
# c["release_changes"] = changes if changes
|
123
|
-
c["preformatted"] = true
|
124
|
-
|
125
|
-
files = [
|
126
|
-
"#{pkg}.tgz",
|
127
|
-
"#{pkg}.gem"
|
128
|
-
].compact
|
129
|
-
|
130
|
-
puts "Releasing #{NAME} v. #{VERS}"
|
131
|
-
rf.add_release RUBYFORGE_PROJECT, NAME, VERS, *files
|
132
|
-
end
|