mini_racer depends on libv8-node, this uses a compiled binary. Bundler
should automatically install the linux version but instead uses the
linux-musl one.
There are a few issues documenting this behavior
https://github.com/rubyjs/mini_racer/issues/218https://github.com/rubyjs/libv8-node/issues/5
Setting up the platform will make this usable under linux (ugly, but
a non resolved issue will break deployment with ruby 2.5
Main change was to rename may_approve to may_judge.
AASM now adds may_... checks to all transitions.
Since our transition was also called approve
may_approve was getting overwritten
leading to infinite recursion.
Sprockets 4 expects a manifest file which we do not have yet.
Also adjust new item form to work.
Somehow haml seems to add a `_new` postfix now
which dom_id does not - causing a missmatch.
and fixed wiki versioning test
Rails 5.1 last steps
crabgrass_media from rubygems
remove controller test for task sorting - not possible to test xhr request without route in new parameter syntax
remove new framework defaults initializer file
Final step of upgrade to rails 5.1
we only test on stretch, because we need ruby >= 2.2.2
update dependencies by running bundle update
and fix gallery_image_controller_test
Also write db/schema.rb with rails 5
update some gems, replace before_filter / after_filter by before_action / after_action
and some more config changes (mostly commented out) and scripts generated by rails app:update task
first make everything work locally with rails 5.0
test do not pass on CI yet because the test task has to be rewritten
- update dependecies
- run rails app:update task: update config, generate intitializers etc.
- the method hide_action is not available in rails anymore
- ActionController::Parameters have to be converted to a hash
- protect_from_forgery now defaults to prepend:false