-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update deface gem to latest version 1.8.1 #9
base: master
Are you sure you want to change the base?
Conversation
The latest version is dated with March, 26th 2021.
deface version is downgraded to 1.6.2 due to some compatability reasons. The current version 1.8.1 is not compatible with Redmine 4.x due to some changes between Rails 5.2 and Rails 6. Possibly there are some more reasons to find in Redmine but seems difficult to debug.
deface 1.8.1 seems to work for me:
What is this error you mentioned when deface is 1.8.1 and Rails is 5.2 ? The only error I get is raised by the plugin redmine_maintenance_mode , but it is not causing problems. The error logged is:
|
Hi @marcelbonnet , The error message you would get when you enable deface and try to view your revision diffs is something like that:
|
I have updated the current version. This plugin now use Deface 1.6.2. |
The warning 'You no longer need to manually require overrides, ...' occurs especially when views are precompiled by deface with the corresponding rake task 'deface:precompile'. The loading of overrides will only be excuted when deface is enabled. Deface should be disabled when views are precompiled. Fixes #1662
…require-overrides' into develop
Release version is then 1.8.1-xmr-3
The warning 'You no longer need to manually require overrides, ...' occurs especially when views are precompiled by deface with the corresponding rake task 'deface:precompile'. The loading of overrides will only be excuted when deface is enabled. Deface should be disabled when views are precompiled. Fixes #1662
Release version is then 1.8.1-xmr-3
Implements #1797
+ Fixes rubocop offenses + Defines rubocop rules + Exends .gitignore with ruby linter tool config (.ruby-lsp) + Updates deface gem to version 1.8.2
The applicator_patch_spec test fails due to FrozenError: can't modify frozen String: "posts/index" ./plugins/redmine_base_deface/lib/applicator_patch.rb:12:in `apply' ./plugins/redmine_base_deface/spec/models/applicator_patch_spec.rb:32:in `block (3 levels) in <module:Deface>'
Undos changes to rspec test in hope it won't fail anymore.
The latest version is dated with March, 26th 2021.