fluent-plugin-sakuraio 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +20 -2
- data/fluent-plugin-sakuraio.gemspec +2 -2
- data/lib/fluent/plugin/in_sakuraio.rb +0 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2d785f10e2637af608fbcdede42f849673e44ed
|
4
|
+
data.tar.gz: 5c1e19248f892d875d661d514ec7c6f6d32fd907
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0da44bfc9559554995af08fbb17a0faa043ad0e6fde60cf69ff0eaa320ea645af417c26338727e064874c46f0718ebf60ba1f5bda9c691761dab99848019bb2
|
7
|
+
data.tar.gz: a2d3fbf84996ae8952889b53a6414f1c39cde82cc458a5f7cf4b0130b21adc269e9b314179c77c1fef72d26e29dfffa1c18770e2d1f3e345d7cb2c3b23233826
|
data/README.md
CHANGED
@@ -1,8 +1,13 @@
|
|
1
1
|
# fluent-plugin-sakuraio
|
2
2
|
|
3
|
-
[![Build Status](https://travis-ci.org/
|
3
|
+
[![Build Status](https://travis-ci.org/sakuraio/fluent-plugin-sakuraio.svg?branch=master)](https://travis-ci.org/sakuraio/fluent-plugin-sakuraio)
|
4
4
|
|
5
|
-
Fluentd Input plugin to process message from sakura.io
|
5
|
+
Fluentd Input plugin to process message from [sakura.io](https://sakura.io) WebSocket API.
|
6
|
+
|
7
|
+
## Requirements
|
8
|
+
|
9
|
+
* Ruby >= 2.1
|
10
|
+
* Fluentd >= v0.14.0
|
6
11
|
|
7
12
|
## Installation
|
8
13
|
|
@@ -19,6 +24,19 @@ gem install 'fluent-plugin-sakuraio'
|
|
19
24
|
</source>
|
20
25
|
```
|
21
26
|
|
27
|
+
### Tag format
|
28
|
+
|
29
|
+
* `channels` type messages: `{module}.channels.{channel}`
|
30
|
+
* `connection` and `location` type messages: `{module}.{type}`
|
31
|
+
|
32
|
+
### Record format
|
33
|
+
|
34
|
+
* `channels` type messages: `{"module":{module},"channel":{channel},"type":"{data type}","value":{value}}`
|
35
|
+
* `connection` type messages: `{"module":{module},"is_online":{is_online}}`
|
36
|
+
* `location` type messages: `{"module":{module},"latitude":{latitude},"longitude":"{longitude}","range_m":{range_m}}`
|
37
|
+
|
38
|
+
The details of sakura.io message spec: https://sakura.io/docs/pages/platform-specification/message.html
|
39
|
+
|
22
40
|
## License
|
23
41
|
|
24
42
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
@@ -4,13 +4,13 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'fluent-plugin-sakuraio'
|
7
|
-
spec.version = '0.0.
|
7
|
+
spec.version = '0.0.6'
|
8
8
|
spec.authors = ['Yuya Kusakabe']
|
9
9
|
spec.email = ['yuya.kusakabe@gmail.com']
|
10
10
|
|
11
11
|
spec.summary = 'fluentd plugin for sakura.io'
|
12
12
|
spec.description = 'fluentd plugin for sakura.io'
|
13
|
-
spec.homepage = 'https://github.com/
|
13
|
+
spec.homepage = 'https://github.com/sakuraio/fluent-plugin-sakuraio'
|
14
14
|
spec.license = 'MIT'
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-sakuraio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuya Kusakabe
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: eventmachine
|
@@ -151,7 +151,7 @@ files:
|
|
151
151
|
- Rakefile
|
152
152
|
- fluent-plugin-sakuraio.gemspec
|
153
153
|
- lib/fluent/plugin/in_sakuraio.rb
|
154
|
-
homepage: https://github.com/
|
154
|
+
homepage: https://github.com/sakuraio/fluent-plugin-sakuraio
|
155
155
|
licenses:
|
156
156
|
- MIT
|
157
157
|
metadata: {}
|