In order to run the analysis for ruby you will need to utilize the sonar scanner application.
Sonar ruby on rails.
Run rubocop making sure that the json results file is created e g.
Check chomped strings for sql injection.
Importing external issues rubocop.
Paths may be absolute or relative to project root.
Dashboard widgets are implemented as ruby on rails views.
Always set line number for joined arrays avoid warning about missing attr accessible if protected.
Widgets must be declared with the java extension point org sonar api web widget.
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.
Batch extensions are not supported yet and can not load bundles.
Test coverage execution simplecov.
Example of structure.
Use version from active record for non rails apps ulysse buonomo.
Sonar foo plugin src main java com foo mywidget java.
Comma delimited list of paths to simplecov resultset json report files.
The component org sonar api i18n i18n is available for server extensions.
Batch extensions are not supported yet and can not load bundles.
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.
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.
Discover and update the ruby specific administration general settings ruby related pages.
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.