mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-25 19:32:11 +01:00
ruby: update gemspec
This commit is contained in:
parent
5fa589691c
commit
94c3998507
28
ruby/README
28
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.
|
||||
|
||||
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
|
||||
|
||||
=== Archive Installation
|
||||
|
||||
rake install
|
||||
ruby extconf.rb
|
||||
make
|
||||
make install
|
||||
|
||||
=== Gem Installation
|
||||
|
||||
gem install msgpack
|
||||
|
||||
|
||||
== Features/Problems
|
||||
|
||||
|
||||
== 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
|
||||
|
||||
|
@ -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"]
|
||||
|
@ -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.
|
||||
|
@ -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"
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user