fluent-plugin-mqtt-io 0.0.1 → 0.0.2

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: dbaced6d7ef1c77842544fb27125007e2b9635c5
4
- data.tar.gz: ab568a296508ad1a8f65fb5349193b2cd999c78f
3
+ metadata.gz: 436c90bc08f8b1c25114bbfd1974bd0ba3c07e70
4
+ data.tar.gz: 449febe8ba31c88d42735d59552c97b6761230e2
5
5
  SHA512:
6
- metadata.gz: ca0f40329239b618e5b5d588f9579c3b57d05db0786ff6ba5091fabc64f3cd27f5aa5d0be50d46900a60100ccfb791a7ee8acbcfd6acbbc7ce22d36fdb5a255b
7
- data.tar.gz: ce8103acef9c93ae89ef2f747f7fcc69142ed49a960fe8dee684fa78a6c6f2817d0d3ba23a6e5fa450cdbef37114b1bca4338b131b77ca1298d10eded731cf0a
6
+ metadata.gz: d89f5f8e965131ad174c26581cfe75ae603ff6e310e4591184eaf2b0d066b020e522f88375db75f6a482c783289d71f61c39957c2037932cf9ad8b5f181eb023
7
+ data.tar.gz: 3afd42160d9329e3b1f9f380ac48f1e54e10e90aaa454e3ef9b931d57fc77d3c7176c364800a52d1cb39ed8bf0526dcd7970d69f0d9c72dfd97dd54c87b703c6
data/README.md CHANGED
@@ -50,6 +50,7 @@ The default MQTT topic is "#". Configurable options are the following:
50
50
  - key_file: private key file path
51
51
  - cert_file: certificate file path
52
52
  - format: Input parser can be chosen, e.g. json, xml
53
+ - in order to use xml format, you need to install [fluent-plugin-xml-parser](https://github.com/toyokazu/fluent-plugin-xml-parser]).
53
54
 
54
55
  Input Plugin supports @label directive.
55
56
 
@@ -107,6 +108,10 @@ You can also use mqtt_buf type which is implemented as BufferedOutput.
107
108
  ```
108
109
 
109
110
 
111
+ ## Example use case
112
+
113
+
114
+
110
115
  ## Contributing
111
116
 
112
117
  1. Fork it ( http://github.com/toyokazu/fluent-plugin-mqtt-io/fork )
@@ -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-mqtt-io"
7
- spec.version = "0.0.1"
7
+ spec.version = "0.0.2"
8
8
  spec.authors = ["Toyokazu Akiyama"]
9
9
  spec.email = ["toyokazu@gmail.com"]
10
10
 
@@ -68,8 +68,7 @@ module Fluent
68
68
  if @time_format.nil?
69
69
  Time.at(time).iso8601
70
70
  else
71
- time_parser = TimeParser.new(@time_format)
72
- time_parser.parse(time)
71
+ Time.at(time).strftime(@time_format)
73
72
  end
74
73
  end
75
74
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-mqtt-io
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toyokazu Akiyama