fluent-logger 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +5 -0
- data/VERSION +1 -1
- data/fluent-logger.gemspec +1 -1
- data/lib/fluent/logger/logger_base.rb +1 -0
- data/lib/fluent/logger/version.rb +1 -1
- data/spec/fluent_logger_spec.rb +12 -0
- metadata +36 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 646a1e0a022169db9fa2392e5e4e4077b98fe82d
|
4
|
+
data.tar.gz: bc397f0a66e90d51e6c5d10912f2c735f8feab6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ab7cc6f13741664506d4ecb537effb9630efaf8cfc81f496dfc2d9d65ee944d9f835b21e95c45d8133c51e98e7992ffb5d5a512ce14e6a630f6aff714be94d7
|
7
|
+
data.tar.gz: 762bd7f474ea59cd7e689eb20d99d3926f7acd821bd9121c49afddb0ce2da1e47cbdf6ed144c3f296ce56a952c5358c32123702d99938508ea6b77541bfdb146
|
data/ChangeLog
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.6
|
data/fluent-logger.gemspec
CHANGED
@@ -36,7 +36,7 @@ EOF
|
|
36
36
|
gem.require_paths = ['lib']
|
37
37
|
|
38
38
|
gem.add_dependency 'yajl-ruby', '~> 1.0'
|
39
|
-
gem.add_dependency
|
39
|
+
gem.add_dependency "msgpack", [">= 0.4.4", "!= 0.5.0", "!= 0.5.1", "!= 0.5.2", "!= 0.5.3", "< 0.6.0"]
|
40
40
|
gem.add_development_dependency 'rake', '>= 0.9.2'
|
41
41
|
gem.add_development_dependency 'rspec', '>= 2.7.0'
|
42
42
|
gem.add_development_dependency 'simplecov', '>= 0.5.4'
|
data/spec/fluent_logger_spec.rb
CHANGED
@@ -161,6 +161,18 @@ EOF
|
|
161
161
|
logger_io.rewind
|
162
162
|
logger_io.read =~ /FluentLogger: Can't convert to msgpack:/
|
163
163
|
}
|
164
|
+
|
165
|
+
it ('should raise an error when second argument is non hash object') {
|
166
|
+
data = 'FooBar'
|
167
|
+
expect {
|
168
|
+
logger.post('tag', data)
|
169
|
+
}.to raise_error(ArgumentError)
|
170
|
+
|
171
|
+
data = nil
|
172
|
+
expect {
|
173
|
+
logger.post('tag', data)
|
174
|
+
}.to raise_error(ArgumentError)
|
175
|
+
}
|
164
176
|
end
|
165
177
|
|
166
178
|
context "initializer" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sadayuki Furuhashi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: yajl-ruby
|
@@ -28,16 +28,46 @@ dependencies:
|
|
28
28
|
name: msgpack
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - '
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.4.4
|
34
|
+
- - '!='
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 0.5.0
|
37
|
+
- - '!='
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: 0.5.1
|
40
|
+
- - '!='
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 0.5.2
|
43
|
+
- - '!='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 0.5.3
|
46
|
+
- - <
|
32
47
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
48
|
+
version: 0.6.0
|
34
49
|
type: :runtime
|
35
50
|
prerelease: false
|
36
51
|
version_requirements: !ruby/object:Gem::Requirement
|
37
52
|
requirements:
|
38
|
-
- - '
|
53
|
+
- - '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: 0.4.4
|
56
|
+
- - '!='
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: 0.5.0
|
59
|
+
- - '!='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.5.1
|
62
|
+
- - '!='
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: 0.5.2
|
65
|
+
- - '!='
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: 0.5.3
|
68
|
+
- - <
|
39
69
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
70
|
+
version: 0.6.0
|
41
71
|
- !ruby/object:Gem::Dependency
|
42
72
|
name: rake
|
43
73
|
requirement: !ruby/object:Gem::Requirement
|