pomelo-citrus-protocol 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +20 -0
- data/Rakefile +0 -0
- data/citrus-protocol.gemspec +24 -0
- data/lib/citrus-protocol.rb +5 -0
- data/lib/citrus-protocol/version.rb +7 -0
- data/spec/spec_helper.rb +14 -0
- metadata +51 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: e682dad03164c06ffd6205f16594167b30b231b0
|
4
|
+
data.tar.gz: a9d4682e0a2bfec8ca696743918323ccf579de41
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ff0902472f8e20c2bd536fae094398eb4ceba894a45320be30d3f87f7b8fd2b60022ab2fedb5128d699488d9bd0c36528b3c5c74a761636205ad12842dcdaddc
|
7
|
+
data.tar.gz: 99a3647634d7061e51394d175a85d2d1ea1e0160384e55864a635d49238b02b816e5da113e48748fce1a48f57521613150b2c1a9968a8c7a3d7585297210d4ea
|
data/README.md
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
## Welcome to pomelo-citrus-protocol
|
2
|
+
|
3
|
+
pomelo-citrus-protocol is a simple clone of pomelo-protocol written in Ruby using EventMachine.
|
4
|
+
|
5
|
+
## Motivation
|
6
|
+
|
7
|
+
Since NodeJS is influenced by Ruby EventMachine and Python's Twisted model, Ruby should also be able to have its own game server framework like pomelo.
|
8
|
+
|
9
|
+
Ruby is a very expressive and eloquent programming language. I was an RoR programmer before and I really like Ruby, When developing this project, I have used many skills like meta-programming and they give me the real pleasures.
|
10
|
+
|
11
|
+
Recently, I would focus on my daily work, so I open source this project and hope to have more people participate in this project.
|
12
|
+
|
13
|
+
## Todo
|
14
|
+
|
15
|
+
This gem is empty now and it roles as a stub, this gem will be used to encode and decode binary protocol.
|
16
|
+
|
17
|
+
## Links
|
18
|
+
|
19
|
+
* [EventMachine](https://github.com/eventmachine/eventmachine)
|
20
|
+
* [pomelo-protocol](https://github.com/NetEase/pomelo-protocol)
|
data/Rakefile
ADDED
File without changes
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Author:: MinixLi (gmail: MinixLi1986)
|
2
|
+
# Homepage:: http://citrus.inspawn.com
|
3
|
+
# Date:: 16 July 2014
|
4
|
+
|
5
|
+
$:.push File.expand_path('../lib', __FILE__)
|
6
|
+
|
7
|
+
require 'citrus-protocol/version'
|
8
|
+
|
9
|
+
Gem::Specification.new do |spec|
|
10
|
+
spec.name = 'pomelo-citrus-protocol'
|
11
|
+
spec.version = CitrusProtocol::VERSION
|
12
|
+
spec.platform = Gem::Platform::RUBY
|
13
|
+
spec.authors = ['MinixLi']
|
14
|
+
spec.email = 'MinixLi1986@gmail.com'
|
15
|
+
spec.description = %q{pomelo-citrus-protocol is a simple clone of pomelo-protocol, this gem is empty now and it roles as a stub}
|
16
|
+
spec.summary = %q{pomelo-protocol clone written in Ruby using EventMachine}
|
17
|
+
spec.homepage = 'https://github.com/minixli/pomelo-citrus-protocol'
|
18
|
+
spec.license = 'MIT'
|
19
|
+
|
20
|
+
spec.files = `git ls-files`.split($/)
|
21
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
22
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
23
|
+
spec.require_paths = ['lib']
|
24
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
# Author:: MinixLi (gmail: MinixLi1986)
|
2
|
+
# Homepage:: http://citrus.inspawn.com
|
3
|
+
# Date:: 16 July 2014
|
4
|
+
|
5
|
+
require File.expand_path('../../lib/citrus-protocol', __FILE__)
|
6
|
+
|
7
|
+
RSpec.configure { |config|
|
8
|
+
config.mock_with(:rspec) { |c|
|
9
|
+
c.syntax = [:should, :expect]
|
10
|
+
}
|
11
|
+
config.expect_with(:rspec) { |c|
|
12
|
+
c.syntax = [:should, :expect]
|
13
|
+
}
|
14
|
+
}
|
metadata
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: pomelo-citrus-protocol
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- MinixLi
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-09-26 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: pomelo-citrus-protocol is a simple clone of pomelo-protocol, this gem
|
14
|
+
is empty now and it roles as a stub
|
15
|
+
email: MinixLi1986@gmail.com
|
16
|
+
executables: []
|
17
|
+
extensions: []
|
18
|
+
extra_rdoc_files: []
|
19
|
+
files:
|
20
|
+
- README.md
|
21
|
+
- Rakefile
|
22
|
+
- citrus-protocol.gemspec
|
23
|
+
- lib/citrus-protocol.rb
|
24
|
+
- lib/citrus-protocol/version.rb
|
25
|
+
- spec/spec_helper.rb
|
26
|
+
homepage: https://github.com/minixli/pomelo-citrus-protocol
|
27
|
+
licenses:
|
28
|
+
- MIT
|
29
|
+
metadata: {}
|
30
|
+
post_install_message:
|
31
|
+
rdoc_options: []
|
32
|
+
require_paths:
|
33
|
+
- lib
|
34
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
35
|
+
requirements:
|
36
|
+
- - ">="
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: '0'
|
39
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
44
|
+
requirements: []
|
45
|
+
rubyforge_project:
|
46
|
+
rubygems_version: 2.4.1
|
47
|
+
signing_key:
|
48
|
+
specification_version: 4
|
49
|
+
summary: pomelo-protocol clone written in Ruby using EventMachine
|
50
|
+
test_files:
|
51
|
+
- spec/spec_helper.rb
|