Class: Diggit::DevelopersActivity::Analyses::ActivityAnalysis Abstract
- Inherits:
-
Analysis
- Object
- Analysis
- Diggit::DevelopersActivity::Analyses::ActivityAnalysis
- Defined in:
- lib/diggit/developers_activity/analyses/activity_analysis.rb
Overview
This class is abstract.
Abstract class for analyses using the dataset
Direct Known Subclasses
CommitsFilesAnalysis, ModuleMetricsAnalysis, MonthsActivityAnalysis, ProjectDevelopersAnalysis, ReleasesActivityAnalysis
Instance Method Summary collapse
Methods included from Diggit::DevelopersActivity::ActivityExtractor
Instance Method Details
#load_options ⇒ Object
21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/diggit/developers_activity/analyses/activity_analysis.rb', line 21 def @all_releases = false @all_releases = @options["all_releases"] if @options.key? "all_releases" if @options.key? 'alternative_modules' ['modules'] = Oj.load_file(@options['alternative_modules'])[@source.url]['modules'] end @modules_metrics = @options.key?("modules_metrics") ? @options["modules_metrics"] : true return if src_opt[@source].nil? @releases = src_opt[@source]["releases"] Authors.(src_opt[@source]) = src_opt[@source] Modules.(@source, , db.client) end |
#run ⇒ Object
17 18 19 |
# File 'lib/diggit/developers_activity/analyses/activity_analysis.rb', line 17 def run end |