draper/spec/dummy/app
y-yagi 89ec4b70f4 Add support for Rails 6.0 to `ViewContext::BuildStrategy` (#866)
* Add support for Rails 6.0 to `ViewContext::BuildStrategy`

In Rails 6.0 the API for `ActionView::Base.new` is changing.
`ActionView::Base.new` now take arguments [1], otherwise you
will see the following deprecation warning:

```
DEPRECATION WARNING: ActionView::Base instances should be constructed with a lookup context, assignments, and a controller.
```

[1] e17fe52e0e

`ViewContext::BuildStrategy::Fast` does not have lookup context, so use `empty`
method instead of `new` to build instance.

* Bump a Rails version of dummy application

Also bump a sqlite version because Rails 6.0 requires upper sqlite
1.4.0.

* Add `ApplicationController` to dummy application

Because Action Text expects `ApplicationController` exists.
Ref: https://github.com/rails/rails/issues/35749#issuecomment-525083643

* Test against Rails 6.0 that only supported Ruby versions
2020-01-07 10:58:00 -06:00
..
assets/config Add manifest.js for newer versions of sprockets 2019-10-18 09:54:26 -05:00
controllers Add support for Rails 6.0 to `ViewContext::BuildStrategy` (#866) 2020-01-07 10:58:00 -06:00
decorators Remove executable bit from lib and spec source files (#718) 2017-03-27 22:39:17 -05:00
helpers
jobs Feature: ActiveJob Integration and Documentation (#817) 2017-09-11 09:35:14 -07:00
mailers
models Railsify dummy app (rails v5.*) (#810) 2017-06-20 08:56:53 -05:00
views