fluent-plugin-sakuraio 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6712d46b36dde0fe009071239eb134000000772c
4
- data.tar.gz: 6056609261455bfe84e5c6ea80870b5ac2eb1f49
3
+ metadata.gz: 9c40653a7dcc890f6e28e07b89772bd15c6b2af4
4
+ data.tar.gz: d6f6288302dc6ddf994904a5b57b03bd8f40eac2
5
5
  SHA512:
6
- metadata.gz: 32b94b4200dd4579a9bb50ba5a529c82e8a825ba4ba9943c6185e53f1954a09efae3cf4438c275a8a988e33303671b45f9ba0d90f08cc2bfeffd1dec7afb944c
7
- data.tar.gz: c9033ee4c315d830bbc9aabb1bed03606ed154a5d665d624023b6f4ae3f727d79bfd421546412ad0c6998e35bbdd8897d332bf061dbb37537a6fb5765844ae91
6
+ metadata.gz: 59479b2c35f8ad0244965a8551a501bed08327be0806ef9990f2cc13bce504170e5e4fa37ff526eba82d3871bbc97fabb117819dd3490997cc58ae46e632eae8
7
+ data.tar.gz: 1c6b551ed7ac8b9f25cc1e57da7839a51187dff5e72abfcd11bcdf7516315ca7de30e8ec52ba830361a604ed91ceeeff5e4227a9e29a3255cb91da44d9f12c35
@@ -4,7 +4,7 @@ $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.3'
7
+ spec.version = '0.0.4'
8
8
  spec.authors = ['Yuya Kusakabe']
9
9
  spec.email = ['yuya.kusakabe@gmail.com']
10
10
 
@@ -77,6 +77,7 @@ module Fluent::Plugin
77
77
  record = {
78
78
  'tag' => j['module'] + '.connection',
79
79
  'record' => {
80
+ 'module' => j['module'],
80
81
  'is_online' => j['payload']['is_online']
81
82
  },
82
83
  'time' => Time.parse(j['datetime']).to_i
@@ -91,6 +92,7 @@ module Fluent::Plugin
91
92
  record = {
92
93
  'tag' => j['module'] + '.location',
93
94
  'record' => {
95
+ 'module' => j['module'],
94
96
  'latitude' => c['latitude'],
95
97
  'longitude' => c['longitude'],
96
98
  'range_m' => c['range_m']
@@ -109,6 +111,7 @@ module Fluent::Plugin
109
111
  record = {
110
112
  'tag' => tag + '.channels.' + c['channel'].to_s,
111
113
  'record' => {
114
+ 'module' => j['module'],
112
115
  'channel' => c['channel'],
113
116
  'type' => c['type'],
114
117
  'value' => c['value']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-sakuraio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuya Kusakabe