fluent-plugin-sakuraio 0.2.0 → 0.2.1

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
  SHA256:
3
- metadata.gz: 2133a1990142c8af8b45606a6c4da9dcbcfda3e03acadd54fd1a0d6a32fe7071
4
- data.tar.gz: d470a453155ca5e7e43a340002f57d4a083c0ba34b89c612b4354c21d0620749
3
+ metadata.gz: 9919359a36da548d4c454fab035ac42f71af1ba1133193c6c220d916c193ed14
4
+ data.tar.gz: 94c2b32cace6135b68e3ce79b963ad03973351f75646ede374d9791ea0040820
5
5
  SHA512:
6
- metadata.gz: 2a753e2252f6e642220d6704319d359fb589b0679a6d8ad2505ac7f62e22f3277934e134e7d02048ee5c08927ab5ac97d10c8347446e3ca088c711b048d2a5e2
7
- data.tar.gz: 047b19c1f4424c8bea013fa513b2d01eaf4ef1acef08094d22ca7a1a1c40d77ab68f5ecf6259e569d55d2b8766714fe625bc8a86470eb44f1694c696c68ae754
6
+ metadata.gz: 60215131e6af63de271393e1b7df7114be597ea949794e9f4aad58be9014cf9e4451ab8c256e5f4885eed64ac8d9fb7a70e804d2756d043506c4e8236cb5dfa6
7
+ data.tar.gz: cb151496af18d37dcc07cba2852f90848f8607e99c99af71c23bc08101dabf4e8d0d6f13efa2ccee18eb4125d590a8090c8f6070333eaa4a1110c3645bdc7115
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fluent-plugin-sakuraio (0.1.3)
4
+ fluent-plugin-sakuraio (0.2.0)
5
5
  eventmachine
6
6
  faye-websocket
7
7
  fluentd (>= 0.14, < 2)
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'fluent-plugin-sakuraio'
8
- spec.version = '0.2.0'
8
+ spec.version = '0.2.1'
9
9
  spec.authors = ['Yuya Kusakabe']
10
10
  spec.email = ['yuya.kusakabe@gmail.com']
11
11
 
@@ -43,7 +43,7 @@ module Fluent::Plugin
43
43
 
44
44
  def run
45
45
  options = {}
46
- @ping.positive? options[:ping] = @ping
46
+ options[:ping] = @ping if @ping.positive?
47
47
  client = Faye::WebSocket::Client.new(@url, nil, options)
48
48
  EM.next_tick do
49
49
  client.on :open do
@@ -31,7 +31,7 @@ module Fluent::Plugin
31
31
 
32
32
  def run
33
33
  options = {}
34
- @ping.positive? options[:ping] = @ping
34
+ options[:ping] = @ping if @ping.positive?
35
35
  @client = Faye::WebSocket::Client.new(@url, nil, options)
36
36
  EM.next_tick do
37
37
  @client.on :open do
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.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuya Kusakabe