xkoon 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -2
- data/lib/xkoon/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd227df4c8ef5d10631b26f50d9be7591b108a0c
|
4
|
+
data.tar.gz: 88753a832a87964ed39cacfcd74702be5218c5e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67a5f7116a5d5862af0f8f40bba713c317daf8b9aea3b0d1f47ebcf36fa3877441e823e35b19b4061b16198467254664c0f99b64804a90770ec09e9e480eaa4f
|
7
|
+
data.tar.gz: c858afbcc8426d64c4f128d9ae356f3a4b36f1da4caed917b691ee8c131dea9e309d2fef170ce7ea7ab07c328dfbadd4c6a6205b4722b150f1a970e29b99778b
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@ JSON-based Reactive Service Framework
|
|
4
4
|
|
5
5
|
## Presentation
|
6
6
|
|
7
|
-
This library provides a
|
7
|
+
This library provides a small framework to build network services (servers & clients) around a very basic JSON message format, using [RxIO](https://rubygems.org/gems/rxio).
|
8
8
|
|
9
9
|
## Installation
|
10
10
|
|
@@ -21,8 +21,11 @@ gem install -V xkoon
|
|
21
21
|
## Usage
|
22
22
|
|
23
23
|
Building a service endpoint (whether client or server) with xKoon requires the following:
|
24
|
+
|
24
25
|
1. define a *Processor* module (for your business logic) providing a bunch of _process_XXX_ methods'
|
26
|
+
|
25
27
|
2. instantiate an *XKoon::Service* or *XKoon::Client* object around your processor
|
28
|
+
|
26
29
|
3. run it
|
27
30
|
|
28
31
|
### The Processor
|
@@ -148,7 +151,7 @@ xKoon Responses contain the following information:
|
|
148
151
|
|
149
152
|
### Example
|
150
153
|
|
151
|
-
Below is a simple but complete example presenting an 'echo' service, replying back anything that was
|
154
|
+
Below is a simple but complete example presenting an 'echo' service, replying back anything that was requested.
|
152
155
|
|
153
156
|
```ruby
|
154
157
|
require 'xkoon'
|
data/lib/xkoon/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xkoon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eresse
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|