Module: Babygitter
- Defined in:
- lib/fotoverite_babygitter.rb,
lib/babygitter/errorclasses.rb,
lib/babygitter/repo_analyzer.rb,
lib/babygitter/report_generator.rb,
lib/babygitter/repo_analyzer/author.rb,
lib/babygitter/repo_analyzer/branch.rb,
lib/babygitter/report_generator/options.rb,
lib/babygitter/output_helpers/graph_output.rb,
lib/babygitter/statistics/date_time_arrays.rb,
lib/babygitter/report_generator/application.rb,
lib/babygitter/statistics/folder_analysis_methods.rb
Overview
This module holds basic settings for the html generator. TODO figure out if this should instead be a class
Defined Under Namespace
Modules: DateTimeArrays, Errorclasses, FolderAnalysisMethods, GraphOutput Classes: RepoAnalyzer, ReportGenerator
Class Attribute Summary collapse
-
.additional_links ⇒ Object
Customizable options.
-
.folder_levels ⇒ Object
Customizable options.
-
.image_assets_path ⇒ Object
Customizable options.
-
.instructions ⇒ Object
Customizable options.
-
.jquery ⇒ Object
Customizable options.
-
.marked_folders ⇒ Object
Customizable options.
-
.output_graphs ⇒ Object
Customizable options.
-
.repo_path ⇒ Object
Customizable options.
-
.stylesheet ⇒ Object
Customizable options.
-
.template ⇒ Object
Customizable options.
-
.use_whitelist ⇒ Object
Customizable options.
Class Method Summary collapse
-
.blacklisted_folders=(marked_folders) ⇒ Object
checks to make sure that this option is an array durring writing to the blacklisted_folders option.
-
.report_file_path ⇒ Object
creates path for the generated html.
Class Attribute Details
.additional_links ⇒ Object
Customizable options
46 47 48 |
# File 'lib/fotoverite_babygitter.rb', line 46 def additional_links @additional_links end |
.folder_levels ⇒ Object
Customizable options
46 47 48 |
# File 'lib/fotoverite_babygitter.rb', line 46 def folder_levels @folder_levels end |
.image_assets_path ⇒ Object
Customizable options
46 47 48 |
# File 'lib/fotoverite_babygitter.rb', line 46 def image_assets_path @image_assets_path end |
.instructions ⇒ Object
Customizable options
46 47 48 |
# File 'lib/fotoverite_babygitter.rb', line 46 def instructions @instructions end |
.jquery ⇒ Object
Customizable options
46 47 48 |
# File 'lib/fotoverite_babygitter.rb', line 46 def jquery @jquery end |
.marked_folders ⇒ Object
Customizable options
46 47 48 |
# File 'lib/fotoverite_babygitter.rb', line 46 def marked_folders @marked_folders end |
.output_graphs ⇒ Object
Customizable options
46 47 48 |
# File 'lib/fotoverite_babygitter.rb', line 46 def output_graphs @output_graphs end |
.repo_path ⇒ Object
Customizable options
46 47 48 |
# File 'lib/fotoverite_babygitter.rb', line 46 def repo_path @repo_path end |
.stylesheet ⇒ Object
Customizable options
46 47 48 |
# File 'lib/fotoverite_babygitter.rb', line 46 def stylesheet @stylesheet end |
.template ⇒ Object
Customizable options
46 47 48 |
# File 'lib/fotoverite_babygitter.rb', line 46 def template @template end |
.use_whitelist ⇒ Object
Customizable options
46 47 48 |
# File 'lib/fotoverite_babygitter.rb', line 46 def use_whitelist @use_whitelist end |
Class Method Details
.blacklisted_folders=(marked_folders) ⇒ Object
checks to make sure that this option is an array durring writing to the blacklisted_folders option
50 51 52 53 |
# File 'lib/fotoverite_babygitter.rb', line 50 def blacklisted_folders=(marked_folders) raise ArgumentError, "must be an array" unless blacklisted_folders.is_a?(Array) @blacklisted_folders = blacklisted_folders end |
.report_file_path ⇒ Object
creates path for the generated html
62 63 64 |
# File 'lib/fotoverite_babygitter.rb', line 62 def report_file_path "#{@repo_path.gsub(/\/$/, "")}" + "/log/babygitter_report" end |