fluent-plugin-mqtt-io 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 +4 -4
- data/fluent-plugin-mqtt-io.gemspec +2 -2
- data/lib/fluent/plugin/in_mqtt.rb +3 -3
- data/lib/fluent/plugin/mqtt_output_mixin.rb +3 -3
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1c4996b6fab94e81580910023e41ba75014ded6f
|
|
4
|
+
data.tar.gz: 943ca60f56e475cd3d984430545e59369456c8e2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e7533937fe7d59eca39f8e41da1a57afc5595ab0b496cd210e8723664d3678f29ce1847f1af0a52038e1c73a7f3396dbe1849756fc751d6df24385779f605378
|
|
7
|
+
data.tar.gz: f668409785345ef55928f2dc1a23cae094d5e18425cd53bfd2265e2ef124951a4d31c49e7d890042f4e4d5b622160d1c522f3e9f08c1e4ec7c46e68ff31b8fdb
|
|
@@ -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.
|
|
7
|
+
spec.version = "0.0.4"
|
|
8
8
|
spec.authors = ["Toyokazu Akiyama"]
|
|
9
9
|
spec.email = ["toyokazu@gmail.com"]
|
|
10
10
|
|
|
@@ -21,5 +21,5 @@ Gem::Specification.new do |spec|
|
|
|
21
21
|
|
|
22
22
|
spec.add_development_dependency "bundler", "~> 1.10"
|
|
23
23
|
spec.add_development_dependency "rake", "~> 10.0"
|
|
24
|
-
spec.add_development_dependency "mqtt"
|
|
24
|
+
spec.add_development_dependency "mqtt", "~> 0.3"
|
|
25
25
|
end
|
|
@@ -44,9 +44,9 @@ module Fluent
|
|
|
44
44
|
password: @password
|
|
45
45
|
}
|
|
46
46
|
opts[:ssl] = @ssl if @ssl
|
|
47
|
-
opts[:ca_file] = @
|
|
48
|
-
opts[:cert_file] = @
|
|
49
|
-
opts[:key_file] = @
|
|
47
|
+
opts[:ca_file] = @ca_file if @ca_file
|
|
48
|
+
opts[:cert_file] = @cert_file if @cert_file
|
|
49
|
+
opts[:key_file] = @key_file if @key_file
|
|
50
50
|
@connect = MQTT::Client.connect(opts)
|
|
51
51
|
@connect.subscribe(@topic)
|
|
52
52
|
|
|
@@ -50,9 +50,9 @@ module Fluent
|
|
|
50
50
|
password: @password
|
|
51
51
|
}
|
|
52
52
|
opts[:ssl] = @ssl if @ssl
|
|
53
|
-
opts[:ca_file] = @
|
|
54
|
-
opts[:cert_file] = @
|
|
55
|
-
opts[:key_file] = @
|
|
53
|
+
opts[:ca_file] = @ca_file if @ca_file
|
|
54
|
+
opts[:cert_file] = @cert_file if @cert_file
|
|
55
|
+
opts[:key_file] = @key_file if @key_file
|
|
56
56
|
@connect = MQTT::Client.connect(opts)
|
|
57
57
|
end
|
|
58
58
|
|
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.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Toyokazu Akiyama
|
|
@@ -42,16 +42,16 @@ dependencies:
|
|
|
42
42
|
name: mqtt
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
|
-
- - "
|
|
45
|
+
- - "~>"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '0'
|
|
47
|
+
version: '0.3'
|
|
48
48
|
type: :development
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
|
-
- - "
|
|
52
|
+
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '0'
|
|
54
|
+
version: '0.3'
|
|
55
55
|
description: fluentd input/output plugin for mqtt broker
|
|
56
56
|
email:
|
|
57
57
|
- toyokazu@gmail.com
|