Commit Graph

53 Commits

Author SHA1 Message Date
鳥井 雪
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
uu59
1e0d51050c Add spec for Fluentd::Setting::Common 2014-07-17 15:43:45 +09:00
uu59
171558c613 Refactor spec 2014-07-07 16:40:51 +09:00
uu59
d1ad601bbf Fix spec for restart strategy changed 2014-07-07 16:39:52 +09:00
uu59
61bef0fe3c Remove unused methods 2014-07-03 15:16:38 +09:00
uu59
6bc7f39944 Fix spec to follow behavior change 2014-07-03 14:56:26 +09:00
uu59
82d25469f9 Refactoring Fluentd::Agent API 2014-07-02 16:30:00 +09:00
uu59
e6990daa6c Add Fluentd::Agent#errors_since spec 2014-06-30 14:45:57 +09:00
uu59
32f104aec7 Following behavior change on spec 2014-06-30 14:37:52 +09:00
uu59
d03be86dba Fix if fluentd is not registerered yet 2014-06-27 16:12:32 +09:00
uu59
9aed8408fb Rename Fluentd::Agent::Fluentd{,Gem} for fix autoload problem 2014-06-19 17:33:10 +09:00
uu59
81600a2ba4 Remove ActiveRecord from User and RememeberToken 2014-06-19 16:28:34 +09:00
uu59
5d94899efb [try] fix pending on Circle CI 2014-06-03 14:04:08 +09:00
uu59
7bf5aa2a2e Follow rspec 2.99 2014-06-02 11:07:37 +09:00
uu59
3aa4359842 Merge pull request #20 from treasure-data/prepare_to_pre_release
Prepare to pre release
2014-05-29 14:18:11 +09:00
uu59
9f5c100b0d pending spec on Circle CI 2014-05-28 14:29:33 +09:00
uu59
6975d72253 Add specs 2014-05-28 13:40:43 +09:00
Kyuden
0fe75a69a1 Apply to syntax_sugar of factorygirl 2014-05-28 03:40:47 +09:00
uu59
36e460e885 Add recent error view 2014-05-27 16:57:15 +09:00
uu59
5d85bff58c Fix to fluentd restart equals stop && start, not reload 2014-05-26 16:45:01 +09:00
uu59
c422fde2b9 Refactoring: test API behavior, not implementation detail 2014-05-26 10:39:43 +09:00
uu59
bd8c3dd299 Fix spec 2014-05-23 17:30:02 +09:00
uu59
7eefa05a44 Add specs 2014-05-23 15:16:49 +09:00
uu59
e29d0e31c3 Enhance model spec 2014-05-23 13:09:01 +09:00
uu59
62e8ea467a Separate fluentd, td-agent, and remote handling by class 2014-05-22 15:34:06 +09:00
uu59
54d3e6c95c Multi clients can login by same user 2014-05-22 13:21:32 +09:00
uu59
87f136e5cd [try] fix unstable spec result on Circle CI beyond file creation 2014-05-15 16:57:20 +09:00
uu59
9e59c5ac19 Add all methods of Plugin model specs 2014-05-15 16:44:34 +09:00
uu59
1f45c6a4c3 Add plugin upgrade path 2014-05-15 15:46:47 +09:00
uu59
f47ee2e154 Fix spec on CI, and refactor 2014-05-15 13:22:27 +09:00
uu59
0595b454e9 Add plugin model spec and refactoring 2014-05-14 17:46:32 +09:00