fluent-plugin-redmine 0.2.0 → 0.3.0
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/README.md +4 -3
- data/fluent-plugin-redmine.gemspec +1 -1
- data/lib/fluent/plugin/out_redmine.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e162c4ad546045b160bf45b8b36c66bec8472dbc
|
|
4
|
+
data.tar.gz: 2d31a9eeb609510de013bc49577c6adc3033cb63
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9cbf78875a9da7c2a70b4d646e4889c23a9942422a8c16f5d9478f033d6b27eab4d08e196b32233d84b9ae648f5055336645e3f94c5f4afa5e7574c8b64a56d4
|
|
7
|
+
data.tar.gz: 95a12ef0ae71f96ef106a52a0f57aac38dcfd9891d14bb5721512fa6039d0d6ebbdfb6b1551e446e914c9109328e3865ed86c56da232d67cb92629f63fece023
|
data/README.md
CHANGED
|
@@ -36,9 +36,10 @@ Here is example settings:
|
|
|
36
36
|
|
|
37
37
|
and here is optional configuration:
|
|
38
38
|
|
|
39
|
-
project_id
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
project_id myproject # projectId of redmine
|
|
40
|
+
category_id 70 # categoryId of tickets
|
|
41
|
+
tag_key my_ tag # 'tag' is used by default
|
|
42
|
+
debug_http true # set debug_http=true of Net::HTTP module, false is used by default
|
|
42
43
|
|
|
43
44
|
### placeholders
|
|
44
45
|
|
|
@@ -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
|
+
spec.version = "0.3.0"
|
|
8
8
|
spec.authors = ["Takuma kanari"]
|
|
9
9
|
spec.email = ["chemtrails.t@gmail.com"]
|
|
10
10
|
spec.summary = %q{Output filter plugin to create ticket in redmine}
|
|
@@ -12,6 +12,7 @@ module Fluent
|
|
|
12
12
|
config_param :api_key, :string, :default => nil
|
|
13
13
|
config_param :tag_key, :string, :default => "tag"
|
|
14
14
|
config_param :project_id, :string, :default => nil
|
|
15
|
+
config_param :category_id, :string, :default => nil
|
|
15
16
|
config_param :tracker_id, :integer
|
|
16
17
|
config_param :priority_id, :integer
|
|
17
18
|
config_param :subject, :string, :default => "Fluent::RedmineOutput plugin"
|
|
@@ -101,6 +102,7 @@ module Fluent
|
|
|
101
102
|
:project_id => @project_id,
|
|
102
103
|
:tracker_id => @tracker_id,
|
|
103
104
|
:priority_id => @priority_id,
|
|
105
|
+
:category_id => @category_id,
|
|
104
106
|
:subject => subject,
|
|
105
107
|
:description => desc
|
|
106
108
|
}
|
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.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Takuma kanari
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-04-
|
|
11
|
+
date: 2015-04-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|