Commit Graph

21 Commits

Author SHA1 Message Date
Kenji Okimoto
ecd40a81f4 Support reloading Fluentd/td-agent
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-22 10:13:28 +09:00
Kenji Okimoto
ca76a1e6f9 Suppress deprecation warning
> DEPRECATION WARNING: The success? predicate is deprecated and will
> be removed in Rails 6.0. Please use successful? as provided by
> Rack::Response::Helpers.

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-21 17:43:52 +09:00
Kenji Okimoto
56452b211b Remove unnecessary stubs
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-20 16:52:14 +09:00
Kenji Okimoto
8468beb39c Use new keyword style to suppress deprecation warnings
> DEPRECATION WARNING: Using positional arguments in functional tests has been deprecated,
> in favor of keyword arguments, and will be removed in Rails 5.1.
>
> Deprecated style:
> get :show, { id: 1 }, nil, { notice: "This is a flash message" }
>
> New keyword style:
> get :show, params: { id: 1 }, flash: { notice: "This is a flash message" },
>   session: nil # Can safely be omitted.

> DEPRECATION WARNING: Using positional arguments in functional tests has been deprecated,
> in favor of keyword arguments, and will be removed in Rails 5.1.
>
> Deprecated style:
> get :show, { id: 1 }, nil, { notice: "This is a flash message" }
>
> New keyword style:
> get :show, params: { id: 1 }, flash: { notice: "This is a flash message" },
>   session: nil # Can safely be omitted.

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-20 16:52:14 +09:00
Kenji Okimoto
fe4dd681b6 Fix render option to suppress deprecation warning
> DEPRECATION WARNING: `render :text` is deprecated because it does not
> actually render a `text/plain` response. Switch to `render plain:
> 'plain text'` to render as `text/plain`, `render html:
> '<strong>HTML</strong>'` to render as `text/html`, or `render body:
> 'raw'` to match the deprecated behavior and render with the default
> Content-Type, which is `text/html`.

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-20 16:52:14 +09:00
uu59
68d3a87b79 Add spec and fixes 2015-02-10 15:50:41 +09:00
uu59
b5d4be2659 Fluentd::Agent::Log is now dependent class. Use composite 2015-02-10 14:58:54 +09:00
鳥井 雪
fe07df34e0 Refactor #download_info of MiscController
with dividing to each methods to write each files, and add spec
2015-01-14 17:15:34 +09:00
鳥井 雪
8dca8bb1aa Remove useless file 2015-01-14 15:46:10 +09:00
鳥井 雪
771783e3b9 Use let!(:available_locales) to make condition more readable 2015-01-14 14:51:07 +09:00
鳥井 雪
aa0e68d653 Refactor #set_locale in applicaiton_controller
by dividing the method to 3 methods each decides locales from given conditions.
2015-01-14 14:24:00 +09:00
Ryan T. Hosford
6572b990bb Addresses duplicate code in agents_controller
- Adds agents_controller_spec
2015-01-13 00:33:58 -06:00
Ryan T. Hosford
072ce6e1b4 Adds polling_controller specs 2015-01-12 21:45:36 -06:00
uu59
e2c9cf5a3f Downgrade rspec 3.00 -> 2.99 because rails g controller generated a spec that require 'rails_helper', but we haven't it"
Re-run rails g rspec:install causes many conflicts on spec_helper.rb
I'll investigate and solve it in the future
2014-06-04 15:33:23 +09:00
uu59
0273a8dbe0 Check to be ready for start tutorial 2014-06-04 15:26:26 +09:00
uu59
488a0d8a59 Add polling alerts point on rails 2014-05-29 14:18:46 +09:00
uu59
c4ccb9488c Clean up routes 2014-05-22 13:48:18 +09:00
uu59
80875d0b11 Change user management. just manage password for admin user 2014-05-22 11:04:24 +09:00
uu59
6fbd1c6bfe Add /misc/users, information 2014-05-20 14:34:02 +09:00
uu59
6b235a306d Add primitive plugin management install/uninstall 2014-05-14 17:46:32 +09:00
uu59
508956f3b4 Add sign in process 2014-05-13 16:58:52 +09:00