fluent-plugin-redmine 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 81811a6cf328c34cf36502e0fd6fdf9dabe81dba
4
- data.tar.gz: 7b91b3e6f40bac9d4e87cf5bb68e6a82069e69d6
3
+ metadata.gz: 42478b078e0c249e42b836d173c57d1081fd2cdc
4
+ data.tar.gz: a7916585981af6ccecb07f24d2dd7520547e0703
5
5
  SHA512:
6
- metadata.gz: a837b3521dca8933dbaa97bc279f82978a061a9686afd00160cc9bad4c1fc3350b33216c94515957e505f652c755d93b7d37a412856801a77a54f09bc88a43fb
7
- data.tar.gz: dc7bd64a75d82b492a103c258a5b8e47c8def9276eba2a7becd15bd7e80c067012af32ca58bfaf3057099fdafaf086c93ceaceb466a738cfcd97dba60656da95
6
+ metadata.gz: 070512b5f3ed9c3b273aaf9ad9ec785b620e1cf0685998846a5062971a683f82ed30e525cbbd4634dfdafccd186ab7eca061cc434fb06c07b42202046ddb3bc2
7
+ data.tar.gz: 03ced85312b4580eb42f4063f71292a1c1fe2271bca322f2b4944771e8e4098bdf4e648c03dc9cbeacd379a71381634397527161fd4653b110cb7ba2f8f31429
@@ -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-redmine"
7
- spec.version = "0.7.0"
7
+ spec.version = "0.7.1"
8
8
  spec.authors = ["Takuma kanari"]
9
9
  spec.email = ["chemtrails.t@gmail.com"]
10
10
  spec.summary = %q{Fluentd output plugin to create ticket in redmine}
@@ -68,6 +68,10 @@ module Fluent::Plugin
68
68
  }
69
69
  end
70
70
 
71
+ def multi_workers_ready?
72
+ true
73
+ end
74
+
71
75
  def write(chunk)
72
76
  tag = chunk.metadata.tag
73
77
  chunk.each do |_time, record|
@@ -126,7 +126,8 @@ class RedmineOutputTest < Test::Unit::TestCase
126
126
  while not connected
127
127
  begin
128
128
  client = Net::HTTP.start("localhost", 4000)
129
- connected = client.request_post("/", "").code.to_i == 200
129
+ header = {'Content-Type' => 'application/x-www-form-urlencoded'}
130
+ connected = client.request_post("/", "", header).code.to_i == 200
130
131
  puts connected
131
132
  rescue Errno::ECONNREFUSED
132
133
  sleep 0.1
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-redmine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takuma kanari
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-16 00:00:00.000000000 Z
11
+ date: 2017-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd