summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrsyuki <frsyuki@users.sourceforge.jp>2010-05-26 07:43:05 +0900
committerfrsyuki <frsyuki@users.sourceforge.jp>2010-05-26 07:43:05 +0900
commit94c39985079cff23d85d333ea69d554216ac79e0 (patch)
tree42842dc996af959be586bf86c3f6cde48f7f0210
parent5fa589691c780735fae153e7e6907906663349a1 (diff)
downloadmsgpack-python-94c39985079cff23d85d333ea69d554216ac79e0.tar.gz
ruby: update gemspec
-rw-r--r--ruby/README26
-rw-r--r--ruby/msgpack.gemspec6
-rw-r--r--ruby/pack.h2
-rw-r--r--ruby/rbinit.c4
-rw-r--r--ruby/unpack.h2
5 files changed, 24 insertions, 16 deletions
diff --git a/ruby/README b/ruby/README
index 859ae2b..051a769 100644
--- a/ruby/README
+++ b/ruby/README
@@ -1,29 +1,37 @@
= MessagePack
-
== Description
+MessagePack is a binary-based efficient object serialization library.
+It enables to exchange structured objects between many languages like JSON.
+But unlike JSON, it is very fast and small.
-== Installation
+Simple usage is as follows:
-=== Archive Installation
+ require 'msgpack'
+ msg = [1,2,3].to_msgpack #=> "\x93\x01\x02\x03"
+ MessagePack.unpack(msg) #=> [1,2,3]
- rake install
+Use MessagePack::Unpacker for streaming deserialization.
-=== Gem Installation
- gem install msgpack
+== Installation
+=== Archive Installation
-== Features/Problems
+ ruby extconf.rb
+ make
+ make install
+=== Gem Installation
-== Synopsis
+ gem install msgpack
== Copyright
Author:: frsyuki <frsyuki@users.sourceforge.jp>
-Copyright:: Copyright (c) 2008-2009 frsyuki
+Copyright:: Copyright (c) 2008-2010 FURUHASHI Sadayuki
License:: Apache License, Version 2.0
+
diff --git a/ruby/msgpack.gemspec b/ruby/msgpack.gemspec
index c5e8c8c..0f08628 100644
--- a/ruby/msgpack.gemspec
+++ b/ruby/msgpack.gemspec
@@ -1,14 +1,14 @@
Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.name = "msgpack"
- s.version = "0.3.9"
+ s.version = "0.4.0"
s.summary = "MessagePack, a binary-based efficient data interchange format."
s.author = "FURUHASHI Sadayuki"
s.email = "frsyuki@users.sourceforge.jp"
s.homepage = "http://msgpack.sourceforge.net/"
s.rubyforge_project = "msgpack"
- s.has_rdoc = false
- s.extra_rdoc_files = ["README", "ChangeLog", "AUTHORS"]
+ s.has_rdoc = true
+ s.rdoc_options = ["ext"]
s.require_paths = ["lib"]
s.files = Dir["ext/**/*", "msgpack/**/*", "test/**/*"]
s.test_files = Dir["test/test_*.rb"]
diff --git a/ruby/pack.h b/ruby/pack.h
index c9b08a4..f162a86 100644
--- a/ruby/pack.h
+++ b/ruby/pack.h
@@ -1,7 +1,7 @@
/*
* MessagePack for Ruby packing routine
*
- * Copyright (C) 2008-2009 FURUHASHI Sadayuki
+ * Copyright (C) 2008-2010 FURUHASHI Sadayuki
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/ruby/rbinit.c b/ruby/rbinit.c
index 4ad6beb..ad51f6b 100644
--- a/ruby/rbinit.c
+++ b/ruby/rbinit.c
@@ -1,7 +1,7 @@
/*
* MessagePack for Ruby
*
- * Copyright (C) 2008-2009 FURUHASHI Sadayuki
+ * Copyright (C) 2008-2010 FURUHASHI Sadayuki
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,7 +31,7 @@ static VALUE mMessagePack;
*
* gem install msgpack
*
- * Simple usage is as follows.
+ * Simple usage is as follows:
*
* require 'msgpack'
* msg = [1,2,3].to_msgpack #=> "\x93\x01\x02\x03"
diff --git a/ruby/unpack.h b/ruby/unpack.h
index ce2a8de..91d3eb7 100644
--- a/ruby/unpack.h
+++ b/ruby/unpack.h
@@ -1,7 +1,7 @@
/*
* MessagePack for Ruby unpacking routine
*
- * Copyright (C) 2008-2009 FURUHASHI Sadayuki
+ * Copyright (C) 2008-2010 FURUHASHI Sadayuki
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.