mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-06-03 13:31:54 +02:00
ruby: update gemspec
This commit is contained in:
parent
5fa589691c
commit
94c3998507
28
ruby/README
28
ruby/README
@ -1,29 +1,37 @@
|
|||||||
|
|
||||||
= MessagePack
|
= MessagePack
|
||||||
|
|
||||||
|
|
||||||
== Description
|
== 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.
|
||||||
|
|
||||||
|
Simple usage is as follows:
|
||||||
|
|
||||||
|
require 'msgpack'
|
||||||
|
msg = [1,2,3].to_msgpack #=> "\x93\x01\x02\x03"
|
||||||
|
MessagePack.unpack(msg) #=> [1,2,3]
|
||||||
|
|
||||||
|
Use MessagePack::Unpacker for streaming deserialization.
|
||||||
|
|
||||||
|
|
||||||
== Installation
|
== Installation
|
||||||
|
|
||||||
=== Archive Installation
|
=== Archive Installation
|
||||||
|
|
||||||
rake install
|
ruby extconf.rb
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
|
||||||
=== Gem Installation
|
=== Gem Installation
|
||||||
|
|
||||||
gem install msgpack
|
gem install msgpack
|
||||||
|
|
||||||
|
|
||||||
== Features/Problems
|
|
||||||
|
|
||||||
|
|
||||||
== Synopsis
|
|
||||||
|
|
||||||
|
|
||||||
== Copyright
|
== Copyright
|
||||||
|
|
||||||
Author:: frsyuki <frsyuki@users.sourceforge.jp>
|
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
|
License:: Apache License, Version 2.0
|
||||||
|
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
Gem::Specification.new do |s|
|
Gem::Specification.new do |s|
|
||||||
s.platform = Gem::Platform::RUBY
|
s.platform = Gem::Platform::RUBY
|
||||||
s.name = "msgpack"
|
s.name = "msgpack"
|
||||||
s.version = "0.3.9"
|
s.version = "0.4.0"
|
||||||
s.summary = "MessagePack, a binary-based efficient data interchange format."
|
s.summary = "MessagePack, a binary-based efficient data interchange format."
|
||||||
s.author = "FURUHASHI Sadayuki"
|
s.author = "FURUHASHI Sadayuki"
|
||||||
s.email = "frsyuki@users.sourceforge.jp"
|
s.email = "frsyuki@users.sourceforge.jp"
|
||||||
s.homepage = "http://msgpack.sourceforge.net/"
|
s.homepage = "http://msgpack.sourceforge.net/"
|
||||||
s.rubyforge_project = "msgpack"
|
s.rubyforge_project = "msgpack"
|
||||||
s.has_rdoc = false
|
s.has_rdoc = true
|
||||||
s.extra_rdoc_files = ["README", "ChangeLog", "AUTHORS"]
|
s.rdoc_options = ["ext"]
|
||||||
s.require_paths = ["lib"]
|
s.require_paths = ["lib"]
|
||||||
s.files = Dir["ext/**/*", "msgpack/**/*", "test/**/*"]
|
s.files = Dir["ext/**/*", "msgpack/**/*", "test/**/*"]
|
||||||
s.test_files = Dir["test/test_*.rb"]
|
s.test_files = Dir["test/test_*.rb"]
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* MessagePack for Ruby packing routine
|
* 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");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* MessagePack for Ruby
|
* 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");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
@ -31,7 +31,7 @@ static VALUE mMessagePack;
|
|||||||
*
|
*
|
||||||
* gem install msgpack
|
* gem install msgpack
|
||||||
*
|
*
|
||||||
* Simple usage is as follows.
|
* Simple usage is as follows:
|
||||||
*
|
*
|
||||||
* require 'msgpack'
|
* require 'msgpack'
|
||||||
* msg = [1,2,3].to_msgpack #=> "\x93\x01\x02\x03"
|
* msg = [1,2,3].to_msgpack #=> "\x93\x01\x02\x03"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* MessagePack for Ruby unpacking routine
|
* 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");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user