execjs updated
rails updated
Fixed processing factory

signed-off-by: Rafael Reggiani Manzo <rr.manzo@gmail.com>
[Runner] run method

Included code_directory field to repository model
Created repository default path (yml file)
Created a processing

Doing:
- Creating repository directory

signed-off-by: Rafael Reggiani Manzo <rr.manzo@gmail.com>
Finished repository downloading for Runner
Removed complete_name method
[Runner] Retrieved wanted metrics

Separeted them by compound or native.
Separeted the native ones by collectors.
Created compound metric factory.
Created compound metric configuration factory.

signed-off-by: Rafael Reggiani Manzo <rr.manzo@gmail.com>
Repository types hash now use key of string type

signed-off-by: Rafael Reggiani Manzo <rr.manzo@gmail.com>
Refactoring AnalizoMetricCollector

Add the Processing to it's ModuleResult (so we can identify it between different collectors)
Just description, supported_metrics, collect_metrics are public, other methods are private
Methods description and supported metrics are class metrics now
New factory for analizo's metric list

Signed off by: Diego Araújo <diegoamc90@gmail.com>
First refactor of AnalizoMetricCollector finished
Refactored some generic methods from AnalizoMetricCollector to MetricCollector
AnalizoMetricCollector retrives the ModuleResult from database if it already exists
Analyzing code
Persists repository code_directory after defining it
Setting processing states
Refactored collect into a private method
[Runner] Refactored runner spec

Created a module with mock helpers.
Started to build the source tree.

signed-off-by: Rafael Reggiani Manzo <rr.manzo@gmail.com>
[Runner] Refactored analizo_metric_collector spec

Extracted find module results mocks.

signed-off-by: Rafael Reggiani Manzo <rr.manzo@gmail.com>
[Runner] Finished building source tree

signed-off-by: Rafael Reggiani Manzo <rr.manzo@gmail.com>