Commit Graph

73 Commits

Author SHA1 Message Date
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
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