Widgets must be declared with the java extension point org sonar api web widget.
Sonar ruby on rails.
In order to run the analysis for ruby you will need to utilize the sonar scanner application.
Dashboard widgets are implemented as ruby on rails views.
Use version from active record for non rails apps ulysse buonomo.
The component org sonar api i18n i18n is available for server extensions.
This release was prompted by the release of ruby parser 3 15 0 which includes a lot of fixes and improvements including support for some ruby 2 7 syntax.
Importing external issues rubocop.
Comma delimited list of paths to simplecov resultset json report files.
Comma separated list of paths to scoverage xml report files generaged by scoverage.
Batch extensions are not supported yet and can not load bundles.
There are a number of different approaches to this problem and i don t believe there s wide consensus on the best way.
Sonar dev sonar gem for ruby on rails projects hi first of all by repeating same question several times with a small interval you will not increase probability to receive an answer.
Always set line number for joined arrays avoid warning about missing attr accessible if protected.
Check chomped strings for sql injection.
So the complex part of your situation is that you have one thing surgery that can be of many different types and the different types have different fields.
Resources com foo my widget html erb.
Discover and update the ruby specific administration general settings ruby related pages.
Example of structure.
Paths may be absolute or relative to project root.
Sonar foo plugin src main java com foo mywidget java.
Usage make sure the property sonar language is set to ruby.
Sonar language ruby in the sonar project properties file code coverage in order for the plugin to report on code coverage the ruby project needs to be using simplecov rcov to generate a coverage report when you run your tests specs please see the gem s homepage here for.