fluent-plugin-scribe 0.10.3 → 0.10.4

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog ADDED
@@ -0,0 +1,20 @@
1
+ Release 0.10.3 - 2011/11/14
2
+
3
+ * fixed encoding problem (work-around for thrift-rb)
4
+ - contributed by @tagomoris and @frsyuki
5
+
6
+
7
+ Release 0.10.2 - 2011/10/16
8
+
9
+ * implement out_scribe plugin
10
+
11
+
12
+ Release 0.10.1 - 2011/10/16
13
+
14
+ * added tests for in_scribe
15
+ * use Configurable, introduced from fluentd v0.10
16
+
17
+
18
+ Release 0.10.0 - 2011/10/16
19
+
20
+ * compatibility changes for fluentd v0.10
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.10.3
1
+ 0.10.4
@@ -5,15 +5,16 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{fluent-plugin-scribe}
8
- s.version = "0.10.2"
8
+ s.version = "0.10.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kazuki Ohta"]
12
- s.date = %q{2011-10-16}
12
+ s.date = %q{2011-11-15}
13
13
  s.default_executable = %q{fluent-scribe-remote}
14
14
  s.email = %q{kazuki.ohta@gmail.com}
15
15
  s.executables = ["fluent-scribe-remote"]
16
16
  s.extra_rdoc_files = [
17
+ "ChangeLog",
17
18
  "README.rdoc"
18
19
  ]
19
20
  s.files = [
@@ -38,7 +39,7 @@ Gem::Specification.new do |s|
38
39
  s.homepage = %q{https://github.com/fluent/fluent-plugin-scribe}
39
40
  s.require_paths = ["lib"]
40
41
  s.rubygems_version = %q{1.6.2}
41
- s.summary = %q{Scribe plugin for Fluent event collector}
42
+ s.summary = %q{Scribe Input/Output plugin for Fluent event collector}
42
43
  s.test_files = ["test/plugin/in_scribe.rb"]
43
44
 
44
45
  if s.respond_to? :specification_version then
@@ -100,7 +100,7 @@ class ScribeInput < Input
100
100
  begin
101
101
  msgs.each { |msg|
102
102
  record = {
103
- 'message' => msg.message
103
+ 'message' => msg.message.force_encoding('UTF-8')
104
104
  }
105
105
  Engine.emit(msg.category, Engine.now, record)
106
106
  }
@@ -72,7 +72,7 @@ class ScribeOutput < BufferedOutput
72
72
  next unless record.has_key?(@field_ref)
73
73
  entry = LogEntry.new
74
74
  entry.category = tag
75
- entry.message = record[@field_ref]
75
+ entry.message = record[@field_ref].force_encoding('ASCII-8BIT')
76
76
  entries << entry
77
77
  }
78
78
  client.Log(entries)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-scribe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.3
4
+ version: 0.10.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,12 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-16 00:00:00.000000000 -07:00
12
+ date: 2011-11-15 00:00:00.000000000 +09:00
13
13
  default_executable: fluent-scribe-remote
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: fluentd
17
- requirement: &2156208820 !ruby/object:Gem::Requirement
17
+ requirement: &2156952900 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 0.10.0
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2156208820
25
+ version_requirements: *2156952900
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: thrift
28
- requirement: &2156204620 !ruby/object:Gem::Requirement
28
+ requirement: &2156952380 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ~>
@@ -33,13 +33,14 @@ dependencies:
33
33
  version: 0.7.0
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *2156204620
36
+ version_requirements: *2156952380
37
37
  description:
38
38
  email: kazuki.ohta@gmail.com
39
39
  executables:
40
40
  - fluent-scribe-remote
41
41
  extensions: []
42
42
  extra_rdoc_files:
43
+ - ChangeLog
43
44
  - README.rdoc
44
45
  files:
45
46
  - AUTHORS
@@ -59,6 +60,7 @@ files:
59
60
  - lib/fluent/plugin/thrift/scribe_constants.rb
60
61
  - lib/fluent/plugin/thrift/scribe_types.rb
61
62
  - test/plugin/in_scribe.rb
63
+ - ChangeLog
62
64
  - README.rdoc
63
65
  has_rdoc: true
64
66
  homepage: https://github.com/fluent/fluent-plugin-scribe