| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Max Magorsch <max@magorsch.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The newly added docker-compose.override.yml file overrides
settings in docker-compose.yml for development purposes. In
particular:
- the source code will be mounted into the container for
live reloading during the development
- dejavu is used as gui for elasticsearch for debugging
purposes
- cors is enabled in elasticsearch for usage with dejavu
These settings will automatically be used when executing:
$ docker-compose up
If you, however, don't want to use these settings (e.g. in
production) use:
$ docker-compose -f docker-compose.yml up
For further information please refer to:
https://docs.docker.com/compose/extends/#multiple-compose-files
Signed-off-by: Max Magorsch <max@magorsch.de>
|
|
|
|
| |
Signed-off-by: Max Magorsch <max@magorsch.de>
|
|
|
|
|
|
|
|
|
|
| |
The default portage location has changed:
https://wiki.gentoo.org/wiki//usr/portage
and so has the location in the portage container:
https://github.com/gentoo/gentoo-docker-images/commit/7c0dfcc
Signed-off-by: Max Magorsch <max@magorsch.de>
|
|
|
|
|
|
|
|
|
| |
Rails 5 no longer falls back to autoloading in the production
environment by default, so all code needs to be eagerly
loaded. Specificy that code in lib should also be included here,
similar to autoload_paths.
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
|
|
|
| |
sass is no longer maintained and is now deprecated. sassc is the
recommended replacement and sassc-rails provides that to rails.
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
|
|
|
| |
Run the tests in the script phase instead of before_script and include
a rubocop step.
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
|
|
|
|
| |
Include the new performance and rails cops. Add a rubocop todo file
so that running rubocop now results in a clean run. Specific issues
from the todo file can be removed at a later stage.
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
|
|
|
| |
Include this in travis tests and add this as the lower boundary for
rubocop. Ruby 2.4 is currently the stable ruby on Gentoo.
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
| |
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
|
|
|
|
| |
This also fixes a bug in the fresh_when handling for the changelog
view, which was exposed by the update (due to ETag now taking the
flash message, if any, into account).
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
|
|
| |
https://guides.rubyonrails.org/caching_with_rails.html#conditional-get-support
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
|
|
|
| |
This should avoid stale information being reported in the browser
because an older, stale but cached, version is shown.
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
| |
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
|
|
| |
Merge all upstream changes for a new Rails 5.0 application.
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
This commit contains all the recommended steps in the commit guide:
https://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html#upgrading-from-rails-4-2-to-rails-5-0
It also updates the associated web-console dependency.
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
|
|
|
| |
We need at least 4.3.5 to get jQuery 3.4.1 which fixes a security
issue: https://blog.jquery.com/2019/04/10/jquery-3-4-0-released/
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
|
|
| |
sdoc 1.x supports rdoc 5.x and newer.
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
| |
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
| |
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
| |
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
| |
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
|
|
|
| |
The 5.x series still supports the deprecated persistence pattern so we
cannot update beyond that at the moment.
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
| |
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
| |
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
| |
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
| |
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
| |
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
|
|
|
|
| |
The tests expect the indices to have a "-test" extension since that is
the test environment, so make sure to set this up in travis as well so
that the test indices exists.
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
| |
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
|
|
| |
https://docs.travis-ci.com/user/languages/ruby/#bundler-20
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
|
|
| |
This should re-enable travis runs again.
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
| |
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
|
|
|
|
| |
Signed-off-by: Alec Warner <antarus@gentoo.org>
|
|
|
|
| |
Signed-off-by: Alec Warner <antarus@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Evans <grknight@gentoo.org>
|
| |
|
| |
|
|
|
|
|
| |
Closes: 653846
Signed-off-by: Alec Warner <antarus@gentoo.org>
|
| |
|
|
|
|
| |
Bug: https://bugs.gentoo.org/attachment.cgi?id=538714&action=edit
|
|
|
|
|
|
|
|
| |
CI said: Gem::LoadError: You have already activated did_you_mean 1.2.0,
but your Gemfile requires did_you_mean 1.0.2. Prepending `bundle exec`
to your command may solve this.
So bumping to a versionless did_you_mean.
|
|
|
|
| |
We require ruby-2.3 at least.
|
|
|
|
|
| |
Add a new Gemfile.ci to test rails 5.
Add the gemfile.ci to the build matrix.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|