Skip to content

Conversation

@okkez
Copy link
Contributor

@okkez okkez commented Apr 19, 2018

  • capybara to 3.0.2
  • draper to 3.0.1
  • factory_bot to 4.8.2 (from factory_girl)
  • haml to 5.0.4
  • i18n_generators to 2.1.1
  • jbuilder to 2.7.0
  • jquery-rails to 4.3.3
  • nokogiri to 1.8.2
  • sass-rails to 5.0.7
  • selenium-webdriver (drop poltergeist)
  • sucker_punch to 2.0.4
  • webconsole to 3.6.0
  • webmock to 3.3.0

This is based on #222

okkez added 2 commits April 20, 2018 16:48
TODO: I will update Capybara to 3.x after I update Rails 5.2.x

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
okkez added 24 commits April 20, 2018 16:52
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
FactoryGirl ->
FactoryBot

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
But I removed ActiveRecord related entries because we don't use ActiveRecord.

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
> 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>
> DEPRECATION WARNING: `config.static_cache_control` is deprecated and
> will be removed in Rails 5.1.  Please use
> `config.public_file_server.headers = { 'Cache-Control' => 'public,
> max-age=3600' }` instead.

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
> DEPRECATION WARNING: `config.serve_static_files` is deprecated and
> will be removed in Rails 5.1.  Please use
> `config.public_file_server.enabled = true` instead.

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
> I18n::InvalidLocale: "ja" is not a valid locale

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
> 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>
> 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>
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
> DEPRECATION WARNING: `redirect_to :back` is deprecated and will be
> removed from Rails 5.1. Please use `redirect_back(fallback_location:
> fallback_location)` where `fallback_location` represents the location
> to use if the request has no HTTP referer information.

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
Update following gems:

* capybara to 3.0.2
* capybara-screenshot to 1.0.19
* remove poltergeist
* add selenium-webdriver

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
> RuntimeError Circular dependency detected while autoloading constant Plugin

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
Because Rails 5 drops Ruby 2.1 support.

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
okkez added 5 commits April 20, 2018 16:52
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
    $ google-chrome-stable --version
    Google Chrome 62.0.3202.94

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
@okkez
Copy link
Contributor Author

okkez commented Apr 20, 2018

I will start developing Fluentd v1 support after merging this PR.
I don't release fluentd-ui w/ Rails 5, because Rails 5 drops Ruby 2.1 support.

@okkez okkez merged commit 620e88c into fluent:master Apr 20, 2018
@okkez okkez deleted the rails5.x branch April 20, 2018 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant