fluent-plugin-td 0.10.4 → 0.10.5

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -1,4 +1,9 @@
1
1
 
2
+ Release 0.10.5 - 2012/02/13
3
+
4
+ * Normalize invalid database/table names instead of raising errors
5
+
6
+
2
7
  Release 0.10.4 - 2012/02/09
3
8
 
4
9
  * Disable Fluentd's transaction mechanism
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.10.4
1
+ 0.10.5
@@ -17,6 +17,6 @@ Gem::Specification.new do |gem|
17
17
  gem.require_paths = ['lib']
18
18
 
19
19
  gem.add_dependency "fluentd", "~> 0.10.6"
20
- gem.add_dependency "td-client", "~> 0.8.7"
20
+ gem.add_dependency "td-client", "~> 0.8.9"
21
21
  gem.add_development_dependency "rake", ">= 0.9.2"
22
22
  end
@@ -78,12 +78,12 @@ class TreasureDataLogOutput < BufferedOutput
78
78
  raise ConfigError, "'database' and 'table' parameter are required on tdlog output"
79
79
  end
80
80
  begin
81
- TreasureData::API.validate_database_name(database)
81
+ TreasureData::API.normalize_database_name(database)
82
82
  rescue
83
83
  raise ConfigError, "Invalid database name #{database.inspect}: #{$!}: #{conf}"
84
84
  end
85
85
  begin
86
- TreasureData::API.validate_table_name(table)
86
+ TreasureData::API.normalize_table_name(table)
87
87
  rescue
88
88
  raise ConfigError, "Invalid table name #{table.inspect}: #{$!}: #{conf}"
89
89
  end
@@ -104,8 +104,8 @@ class TreasureDataLogOutput < BufferedOutput
104
104
  key = @key
105
105
  else
106
106
  database, table = tag.split('.')[-2,2]
107
- TreasureData::API.validate_database_name(database)
108
- TreasureData::API.validate_table_name(table)
107
+ TreasureData::API.normalize_database_name(database)
108
+ TreasureData::API.normalize_table_name(table)
109
109
  key = "#{database}.#{table}"
110
110
  end
111
111
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-td
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.4
4
+ version: 0.10.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-09 00:00:00.000000000Z
12
+ date: 2012-02-14 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fluentd
16
- requirement: &70147059008180 !ruby/object:Gem::Requirement
16
+ requirement: &70343478902680 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,21 +21,21 @@ dependencies:
21
21
  version: 0.10.6
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70147059008180
24
+ version_requirements: *70343478902680
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: td-client
27
- requirement: &70147059007240 !ruby/object:Gem::Requirement
27
+ requirement: &70343478900880 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
31
31
  - !ruby/object:Gem::Version
32
- version: 0.8.7
32
+ version: 0.8.9
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70147059007240
35
+ version_requirements: *70343478900880
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rake
38
- requirement: &70147059006560 !ruby/object:Gem::Requirement
38
+ requirement: &70343478899720 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: 0.9.2
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70147059006560
46
+ version_requirements: *70343478899720
47
47
  description: Treasure Data output plugin for Fluent event collector
48
48
  email:
49
49
  executables: []
@@ -73,12 +73,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
73
73
  - - ! '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
+ segments:
77
+ - 0
78
+ hash: -2127275723990264811
76
79
  required_rubygems_version: !ruby/object:Gem::Requirement
77
80
  none: false
78
81
  requirements:
79
82
  - - ! '>='
80
83
  - !ruby/object:Gem::Version
81
84
  version: '0'
85
+ segments:
86
+ - 0
87
+ hash: -2127275723990264811
82
88
  requirements: []
83
89
  rubyforge_project:
84
90
  rubygems_version: 1.8.12
@@ -87,4 +93,3 @@ specification_version: 3
87
93
  summary: Treasure Data output plugin for Fluent event collector
88
94
  test_files:
89
95
  - test/out_tdlog.rb
90
- has_rdoc: false