Class: GemsBond::Spy::All

Inherits:
Object
  • Object
show all
Includes:
Helpers::ConcurrencyHelper
Defined in:
lib/gems_bond/spy/all.rb

Overview

Inspects gems and outputs the result in HTML and CSV files

Constant Summary collapse

RETRIES =

Number of fetch retries before skipping gem

2

Instance Method Summary collapse

Methods included from Helpers::ConcurrencyHelper

#each_concurrently

Instance Method Details

#callvoid

This method returns an undefined value.

Fetches and scores gems then prints result



19
20
21
22
23
24
25
# File 'lib/gems_bond/spy/all.rb', line 19

def call
  timer do
    fetch_gems_data
    GemsBond::Printers::HTML.new(gems).call
    GemsBond::Printers::CSV.new(gems).call
  end
end