fluent-plugin-redmine 0.5.1 → 0.5.2

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: 91ceeb913b74e2eebbbad1ab725ee1905d472d51
4
- data.tar.gz: b79574b3155082736fa2ea9deebc12f09bc9354d
3
+ metadata.gz: 8c07e7321645d446508c840120284166e456b3d4
4
+ data.tar.gz: 47f71b68b95acce2ee11490b13ab53a43f56170d
5
5
  SHA512:
6
- metadata.gz: 3f657873c847c6bcda44382f4edd963c8a45c9861b5b815cc6b13d98c4a66e969e09988a4181075a3cd6fd9876a2138f470876f6bd5fa397032615227440ff13
7
- data.tar.gz: 9e9df854bb0297a6cb19b4e056aa765c710dd093c53d3ca2fcbffd75a07abb6bb6c1fbc78a6df3ff7bb7b3379ce94167e5d416aecc89be3f2075fe8b9ff4eede
6
+ metadata.gz: 1f8e530500957da6f8fa9e2db1aa1ed48ec3e8a3e630adf7d1362b81d522163b29e12411b01df8e5dc1b09540312d9a7f10916ac2a936372cf8d9085a5eab72b
7
+ data.tar.gz: 63ec9cad552664cab2d2af2c75c651b3dc5bf1eb2b27173c6572d9b6f53224d3a0426fc9f318895525b32957cb05a724e8d95095d23f1198347a6bb3b7136f53
data/README.md CHANGED
@@ -25,13 +25,15 @@ In your fluentd configration, use `@type redmine`.
25
25
 
26
26
  Here is example settings:
27
27
 
28
- @type redmine
29
- url http://localhost:3000/
30
- api_key 40a96d43a98b1626c542b04c5780f881c1e1a969
31
- tracker_id 1
32
- priority_id 3
33
- subject The new issue %{issue}
34
- description This is the new issue called %{name}. we cought new exception %{error}!
28
+ <match **>
29
+ @type redmine
30
+ url http://localhost:3000/
31
+ api_key 40a96d43a98b1626c542b04c5780f881c1e1a969
32
+ tracker_id 1
33
+ priority_id 3
34
+ subject The new issue %{issue}
35
+ description This is the new issue called %{name}. we cought new exception %{error}!
36
+ </match>
35
37
 
36
38
 
37
39
  and here is optional configuration:
@@ -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.5.1"
7
+ spec.version = "0.5.2"
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}
@@ -17,6 +17,8 @@ Gem::Specification.new do |spec|
17
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
18
  spec.require_paths = ["lib"]
19
19
 
20
+ spec.add_runtime_dependency "fluentd", [">= 0.12", "< 2"]
20
21
  spec.add_development_dependency "rake"
21
- spec.add_development_dependency "fluentd"
22
+ spec.add_development_dependency "bundler"
23
+ spec.add_development_dependency "test-unit"
22
24
  end
@@ -9,7 +9,7 @@ module Fluent
9
9
  end
10
10
 
11
11
  config_param :url, :string, :default => nil
12
- config_param :api_key, :string, :default => nil
12
+ config_param :api_key, :string, :default => nil, :secret => true
13
13
  config_param :tag_key, :string, :default => "tag"
14
14
  config_param :project_id, :string, :default => nil
15
15
  config_param :category_id, :integer, :default => nil
@@ -126,7 +126,7 @@ class RedmineOutputTest < Test::Unit::TestCase
126
126
  end
127
127
 
128
128
  def create_driver(conf=CONFIG_OUT_KEYS,tag='test')
129
- Fluent::Test::OutputTestDriver.new(Fluent::RedmineOutput, tag).configure(conf)
129
+ Fluent::Test::BufferedOutputTestDriver.new(Fluent::RedmineOutput, tag).configure(conf)
130
130
  end
131
131
 
132
132
  def test_configure_http
@@ -244,4 +244,3 @@ CONFIG
244
244
  end
245
245
 
246
246
  end
247
-
metadata CHANGED
@@ -1,15 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-redmine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
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-02-10 00:00:00.000000000 Z
11
+ date: 2017-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: fluentd
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0.12'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '2'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.12'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '2'
13
33
  - !ruby/object:Gem::Dependency
14
34
  name: rake
15
35
  requirement: !ruby/object:Gem::Requirement
@@ -25,7 +45,21 @@ dependencies:
25
45
  - !ruby/object:Gem::Version
26
46
  version: '0'
27
47
  - !ruby/object:Gem::Dependency
28
- name: fluentd
48
+ name: bundler
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ - !ruby/object:Gem::Dependency
62
+ name: test-unit
29
63
  requirement: !ruby/object:Gem::Requirement
30
64
  requirements:
31
65
  - - ">="
@@ -73,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
107
  version: '0'
74
108
  requirements: []
75
109
  rubyforge_project: fluent-plugin-redmine
76
- rubygems_version: 2.5.2
110
+ rubygems_version: 2.4.5.1
77
111
  signing_key:
78
112
  specification_version: 4
79
113
  summary: Fluentd output plugin to create ticket in redmine