Commit Graph

11 Commits

Author SHA1 Message Date
Kenji Okimoto
66f5d8424f
Update specs to follow changes related to validation
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-06-21 11:20:13 +09:00
Kenji Okimoto
20da19e85a
Fix in_forward spec
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-06-20 17:27:19 +09:00
Kenji Okimoto
b0e212e4a8
Remove redundant configuration
The default value of auto_create_table is true.

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-06-20 16:06:52 +09:00
Kenji Okimoto
a849fdeda3
Remove unused module
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-28 11:13:13 +09:00
Kenji Okimoto
1bde0bae1c Rename out_td to out_tdlog
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-24 18:35:29 +09:00
Kenji Okimoto
03a5d86f8c
Add specs for previous change
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-24 18:28:11 +09:00
Kouhei Sutou
88979eb39b Suppress "already initialized constant KEYS" warning
`Class.new {...}` uses a closure to define a class. Closure keeps
environment that includes local variables and so on. Assignment changes
the environment. So `klass = Class.new { KEYS = [] }` doesn't define
`klass::KEYS`. It defines `Object::KEYS`.

    a = 1
    Class.new do
      a = 2
      X = 3
    end
    p a # => 2
    p X # => 3

We need to use `const_set` to define a constant in `Class.new {...}`.
2014-10-05 15:53:44 +09:00
uu59
8f01694890 Add some specs and fix minor issues 2014-07-29 14:11:05 +09:00
uu59
edafcf3bb5 Fix out_td setting type name 2014-07-29 11:34:47 +09:00
uu59
b36b3eb483 Add <secondary> for out_forward 2014-07-17 16:33:54 +09:00
uu59
1e0d51050c Add spec for Fluentd::Setting::Common 2014-07-17 15:43:45 +09:00