Kenji Okimoto
d1f365db74
Add recent Ruby versions
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-20 17:40:08 +09:00
okkez
620e88c1a1
Merge pull request #223 from okkez/rails5.x
...
Update Rails to 5.2.0
2018-04-20 17:31:23 +09:00
Kenji Okimoto
e6703163f1
Update rails to 5.2.0
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-20 16:52:14 +09:00
Kenji Okimoto
b93273dcb1
Use chromedriver 2.35
...
$ google-chrome-stable --version
Google Chrome 62.0.3202.94
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-20 16:52:14 +09:00
Kenji Okimoto
c685605705
Display google-chrome version
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-20 16:52:14 +09:00
Kenji Okimoto
330912a10d
Try to install chromedriver command
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-20 16:52:14 +09:00
Kenji Okimoto
de6c89952a
Set DISPLAY environment variable
...
See https://docs.travis-ci.com/user/gui-and-headless-browsers/#Ruby
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-20 16:52:14 +09:00
Kenji Okimoto
2a5b2ce0d8
Add an addon chrome to run feature spec
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-20 16:52:14 +09:00
Kenji Okimoto
e10e32a238
Update Ruby version to use Rails 5
...
Because Rails 5 drops Ruby 2.1 support.
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-20 16:52:14 +09:00
Kenji Okimoto
f43392f580
Use Ubuntu Trusty
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-20 16:52:14 +09:00
Kenji Okimoto
161af79c22
Update rails to 5.1.6
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-20 16:52:14 +09:00
Kenji Okimoto
88adfb800a
Stub dryrun method for the environment does not have td-agent
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-20 16:52:14 +09:00
Kenji Okimoto
a279b82078
Update spec
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-20 16:52:14 +09:00
Kenji Okimoto
c34eeba2ca
Avoid RuntimeError
...
> RuntimeError Circular dependency detected while autoloading constant Plugin
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-20 16:52:14 +09:00
Kenji Okimoto
6f5ef48eea
Update jquery-rails
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-20 16:52:14 +09:00
Kenji Okimoto
cb2c0ef5de
Update sucker_punch gem to 2.0.4
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-20 16:52:14 +09:00
Kenji Okimoto
c4d7698b20
Enable periodical job
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-20 16:52:14 +09:00
Kenji Okimoto
d02e1bac38
Use headless chrome
...
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>
2018-04-20 16:52:14 +09:00
Kenji Okimoto
79777eed9e
Use redirect_back to suppress deprecation warning
...
> 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>
2018-04-20 16:52:14 +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
Kenji Okimoto
4fb6823669
Set available locales to avoid errors
...
> I18n::InvalidLocale: "ja" is not a valid locale
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-20 16:52:14 +09:00
Kenji Okimoto
1958aa7747
Suppress deprecation warning
...
> 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>
2018-04-20 16:52:14 +09:00
Kenji Okimoto
1fb7252a3b
Suppress deprecation warning
...
> 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>
2018-04-20 16:52:14 +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
Kenji Okimoto
5f9bb9f8fb
Regenerate config/locales/ja.yml
...
But I removed ActiveRecord related entries because we don't use ActiveRecord.
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-20 16:52:14 +09:00
Kenji Okimoto
0afc17c00a
Follow changes in previous commit
...
FactoryGirl ->
FactoryBot
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-20 16:52:14 +09:00
Kenji Okimoto
de1078e618
Update to Rails 5.0.7
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-20 16:52:14 +09:00
Kenji Okimoto
63952701e4
Use latest webmock to follow net/http API changes
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-20 16:52:14 +09:00
Kenji Okimoto
18d5782e4b
Fix NoMethodError
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-20 16:52:09 +09:00
Kenji Okimoto
2f1820d04f
Use ActiveJob::Base to ride on Rails
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-20 16:48:26 +09:00
Kenji Okimoto
281bd89d27
Update Capybara
...
TODO: I will update Capybara to 3.x after I update Rails 5.2.x
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-20 16:48:26 +09:00
Kenji Okimoto
38c8d3b7a6
v0.4.5
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
v0.4.5
2018-04-20 15:38:09 +09:00
okkez
4acacc5ebd
Merge pull request #222 from okkez/update-dependencies
...
Update dependencies
2018-04-20 15:26:45 +09:00
Kenji Okimoto
28e8fdcf2c
Update draper to 2.1
...
TODO: Update to 3.x with Rails 5
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-18 15:15:42 +09:00
Kenji Okimoto
f1e0f8e6d3
Update jquery-rails to 4.3.1
2018-04-18 14:36:44 +09:00
Kenji Okimoto
cd291d2f80
Update haml-rails to 1.0.0
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-18 14:34:55 +09:00
Kenji Okimoto
79ae3e5fa5
Fix specs to follow changes Fluentd (0.12.35 -> 0.12.43) update
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-18 14:31:58 +09:00
Kenji Okimoto
231e4090a5
Update sucker_punch and Fluentd
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-18 14:31:40 +09:00
Kenji Okimoto
2fb41823c8
Use latest simplecov
2018-04-18 14:17:19 +09:00
Masahiro Nakagawa
9c2906fa24
Merge pull request #221 from okkez/fix-license-identifier
...
Fix license identifier
2018-04-18 14:16:54 +09:00
Kenji Okimoto
1be707cc0f
Update Rails to 4.2.10
...
This is preparation for Rails 5
2018-04-18 11:31:05 +09:00
Kenji Okimoto
f50ae7db41
Fix license identifier
...
See https://spdx.org/licenses/
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-18 09:28:41 +09:00
Masahiro Nakagawa
aa51d4fe5f
Merge pull request #220 from okkez/fix-warning
...
Unify class attribute
2018-04-17 16:20:18 +09:00
Kenji Okimoto
3b110b25a2
Unify class attribute
...
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-04-17 14:29:17 +09:00
Masahiro Nakagawa
6c7dbc99f8
Update README
2018-02-28 02:02:04 +09:00
Masahiro Nakagawa
c3669462f8
Merge pull request #213 from cosmo0920/use-terminal-notifier
...
Growl migrated terminal-notifier
2017-06-01 14:42:23 +09:00
Hiroshi Hatake
05c067b65c
Growl migrated terminal-notifier
...
Because Growl does not work with OS X 10.10 or later.
2017-06-01 14:27:05 +09:00
Masahiro Nakagawa
db2a33f2e9
Merge pull request #212 from y-ken/patch-1
...
boundio service migrated to twilio
2017-05-31 20:16:07 +09:00