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 +4 -4
- data/README.md +9 -7
- data/fluent-plugin-redmine.gemspec +4 -2
- data/lib/fluent/plugin/out_redmine.rb +1 -1
- data/test/plugin/test_out_redmine.rb +1 -2
- metadata +38 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c07e7321645d446508c840120284166e456b3d4
|
4
|
+
data.tar.gz: 47f71b68b95acce2ee11490b13ab53a43f56170d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
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.
|
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 "
|
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::
|
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.
|
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-
|
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:
|
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.
|
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
|