td-logger 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +11 -5
- data/lib/td/logger/tdlog.rb +1 -3
- data/lib/td/logger/version.rb +1 -1
- metadata +8 -8
data/ChangeLog
CHANGED
@@ -1,10 +1,16 @@
|
|
1
1
|
|
2
|
-
|
2
|
+
== 2011-08-21 version 0.1.1
|
3
3
|
|
4
|
-
|
5
|
-
* Fixed description of the gem
|
4
|
+
* Updated library dependencies
|
6
5
|
|
7
|
-
Release 0.1.0 - 2011/08/21
|
8
6
|
|
9
|
-
|
7
|
+
== 2011-08-21 version 0.1.1
|
8
|
+
|
9
|
+
* Added missing lib/td-logger.rb file
|
10
|
+
* Fixed description of the gem
|
11
|
+
|
12
|
+
|
13
|
+
== 2011-08-21 version 0.1.0
|
14
|
+
|
15
|
+
* First release
|
10
16
|
|
data/lib/td/logger/tdlog.rb
CHANGED
@@ -14,14 +14,12 @@ class TreasureDataLogger < Fluent::Logger::LoggerBase
|
|
14
14
|
require 'net/http'
|
15
15
|
require 'cgi'
|
16
16
|
require 'logger'
|
17
|
+
require 'td/client'
|
17
18
|
|
18
19
|
@tag = tag
|
19
20
|
@auto_create_table = auto_create_table
|
20
21
|
@logger = ::Logger.new(STDOUT)
|
21
22
|
|
22
|
-
# TODO
|
23
|
-
gem 'td'
|
24
|
-
require 'td/client'
|
25
23
|
@client = TreasureData::Client.new(apikey)
|
26
24
|
|
27
25
|
@mutex = Mutex.new
|
data/lib/td/logger/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: td-logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 2
|
10
|
+
version: 0.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Sadayuki Furuhashi
|
@@ -35,19 +35,19 @@ dependencies:
|
|
35
35
|
type: :runtime
|
36
36
|
version_requirements: *id001
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
|
-
name: td
|
38
|
+
name: td-client
|
39
39
|
prerelease: false
|
40
40
|
requirement: &id002 !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
43
|
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
hash:
|
45
|
+
hash: 63
|
46
46
|
segments:
|
47
47
|
- 0
|
48
|
-
-
|
49
|
-
-
|
50
|
-
version: 0.
|
48
|
+
- 8
|
49
|
+
- 0
|
50
|
+
version: 0.8.0
|
51
51
|
type: :runtime
|
52
52
|
version_requirements: *id002
|
53
53
|
- !ruby/object:Gem::Dependency
|