Kenji Okimoto
4646b6363d
Update spec
...
We must use `type` instead of `@type` to initialize model.
Because we cannot define `@type` expected.
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-06-25 18:08:47 +09:00
Kenji Okimoto
d8213f713b
Use type
instead of @type
...
Because `@type` is not defined in model.
So we must convert name `type` to `@type` or `@type` to `type` at the boundary
between the model and parameters.
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-06-21 15:42:23 +09:00
Kenji Okimoto
3a2835429a
Add initial_params
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-06-21 15:26:50 +09:00
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
Kenji Okimoto
6c22e1b5c2
Fix deprecation warnings
...
> DEPRECATION WARNING: ActiveModel::Errors#get is deprecated and will be
> removed in Rails 5.1. To achieve the same use
> model.errors[:config_file].
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-20 16:52:14 +09:00
uu59
287e79a360
Move to Travis CI
2015-11-30 14:23:24 +09:00
uu59
9002b11926
Remove needless --use-v1-config option
2015-11-30 11:45:10 +09:00
yoshihara
602e076960
Add more expectation to User#valid? specs
2015-04-08 19:05:36 +09:00
yoshihara
2f8561a071
spec: Clarify password lengths
2015-04-08 18:46:04 +09:00
yoshihara
8567315956
spec: add specs for User#valid?
2015-04-08 17:40:36 +09:00
yoshihara
7e8a9f154d
spec: use subject
2015-04-08 17:40:36 +09:00
yoshihara
d1f7e7271a
spec: Extract variables by let
2015-04-08 17:40:36 +09:00
yoshihara
886c8be8e1
Fix the broken model spec
...
Before, validated user is invalid, but other validations cause (length,
and wrong current_password)
2015-04-08 17:40:36 +09:00
yoshihara
acef07e036
Remove its syntax depended on 'rspec-its' gem
2015-04-02 16:09:07 +09:00
uu59
7c66152233
Add magic comment for 1.9.3
2015-02-10 15:59:17 +09:00
uu59
68d3a87b79
Add spec and fixes
2015-02-10 15:50:41 +09:00
uu59
73b9a01289
LocalCommon and Common was separated by historical reason. it's time to be one
2015-02-04 16:55:55 +09:00
uu59
2096ede6ed
Fix typo
2015-02-04 16:23:26 +09:00
uu59
a9a1dfdfa2
Skip td-agent tests if td-agent doesn't installed
2015-02-04 16:02:26 +09:00
uu59
f54a5a24ff
Add dryrun button to setting#edit
2015-02-04 15:03:25 +09:00
uu59
cc300d46a9
Agent#dryrun learned file_path argument for arbitrary config file checking
2015-02-04 12:58:52 +09:00
uu59
fea5561c43
Merge pull request #149 from fluent/fix_unstable_spec_on_circle_ci
...
Fix unstable spec on circle ci
2015-02-04 11:03:18 +09:00
uu59
d3ec0b3184
Maybe fix unstable spec
2015-01-28 17:58:12 +09:00
uu59
2689347946
fix typo
2015-01-28 16:59:02 +09:00
uu59
1c08790abf
Add tests and fix dryrun
2015-01-14 14:29:41 +09:00
鳥井 雪
6105886705
Change to use application.yml setting instead of hard coded number
2014-12-17 18:44:17 +09:00
鳥井 雪
7b65e03cc8
Change to use File.join instead of string concatenation
...
because File.join makes the purpose of code clear and do it safely
2014-12-17 18:19:01 +09:00
鳥井 雪
366fc6364d
Fix spec to ensure config_file
2014-12-16 18:17:08 +09:00
鳥井 雪
b87b2c8af4
Add #backup_running_config method
...
on Fluentd::Agent
2014-12-15 15:37:21 +09:00
鳥井 雪
9a1b72b6b0
Add fluentd.agent#backup_config method
...
and call it in #config_write and #config_append
to backup config histories
2014-12-11 16:27:04 +09:00
Koichi Tanaka
9cdfbb6176
Merge pull request #114 from tanaka51-jp/fix-bug-pid-become-zero
...
Fix bug pid become zero
2014-12-03 17:09:44 +09:00
Koichi TANAKA
50b5fbed54
Fix bug: pid become zero when pid file is empty
2014-12-03 17:07:08 +09:00
uu59
390c2a6b11
Remove stubbing $? test
2014-12-03 16:48:50 +09:00
Koichi TANAKA
7eddae31b7
Add spec for Fluentd::Agent::LocalCommon#pid
2014-12-03 16:36:27 +09:00
uu59
475942f868
Fix assertion as Enumerator#to_a
2014-11-18 13:21:49 +09:00
uu59
0e922982a8
cosme
2014-11-18 13:19:49 +09:00
uu59
2df1991d2b
Add specs
2014-11-18 13:14:32 +09:00
uu59
0ec440bbeb
fluent-gem commannd move to FluentGem module from Plugin
2014-11-18 11:12:10 +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
d8694a6ead
Store fluentd setting data to user's home if variant=fluentd_gem
2014-07-30 18:03:41 +09:00
uu59
ae6423b2f4
Add plugin model spec
2014-07-29 14:28:23 +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
f08009e874
Fix detection installed plugins
2014-07-28 15:09:57 +09:00
uu59
b36b3eb483
Add <secondary> for out_forward
2014-07-17 16:33:54 +09:00