module GemMonitor

Constants

VERSION

Attributes

configuration[RW]

Public Class Methods

configure() { |configuration| ... } click to toggle source
# File lib/gem_monitor.rb, line 18
def self.configure
  yield(configuration)
end
issues_url() click to toggle source
# File lib/gem_monitor.rb, line 43
def self.issues_url
  "#{main_url}/issues"
end
main_url() click to toggle source
# File lib/gem_monitor.rb, line 39
def self.main_url
  "https://github.com/rubene/gem_monitor"
end
output_folder_name() click to toggle source
# File lib/gem_monitor.rb, line 55
def self.output_folder_name
  "gem_monitor"
end
report_erb_template() click to toggle source
# File lib/gem_monitor.rb, line 47
def self.report_erb_template
  "#{root}/lib/gem_monitor/templates/index.html.erb"
end
report_file_path() click to toggle source
# File lib/gem_monitor.rb, line 51
def self.report_file_path
  "#{output_folder_name}/#{File.basename(report_erb_template, ".erb")}"
end
root() click to toggle source
# File lib/gem_monitor.rb, line 35
def self.root
  File.expand_path('../..',__FILE__)
end
run() click to toggle source
# File lib/gem_monitor.rb, line 59
def self.run
  begin
    GemMonitor::Inspector.new.scan
  rescue => e
    puts e.message.red
  end
end