Module: FailtaleReporter
- Extended by:
- Adapters, BacktraceCleaner, Configuration, InformationCollector
- Includes:
- HTTParty
- Defined in:
- lib/failtale_reporter.rb,
lib/failtale_reporter/version.rb,
lib/failtale_reporter/adapters/rails.rb
Defined Under Namespace
Modules: Adapters, BacktraceCleaner, Configuration, InformationCollector Classes: Client, Error
Constant Summary collapse
- VERSION =
"0.2.3"
Class Method Summary collapse
- .force_public(flag = nil) ⇒ Object
- .gem_backtrace_cleaner(spec) ⇒ Object
- .report(error = nil, *ctxs, &block) ⇒ Object
Methods included from Adapters
Methods included from Configuration
api_token, application_root, configure, default_reporter, ignored_exceptions, reportable_exceptions
Methods included from BacktraceCleaner
backtrace_cleaner, backtrace_cleaner_regexp, backtrace_cleaners, clean_backtrace
Methods included from InformationCollector
collect_information, information_collector, information_collectors
Class Method Details
.force_public(flag = nil) ⇒ Object
4 5 6 7 |
# File 'lib/failtale_reporter/adapters/rails.rb', line 4 def self.force_public(flag=nil) @force_public = flag unless flag.nil? @force_public end |
.gem_backtrace_cleaner(spec) ⇒ Object
34 35 36 37 38 39 40 41 42 43 |
# File 'lib/failtale_reporter.rb', line 34 def gem_backtrace_cleaner(spec) @gem_backtrace_cleaner ||= {} unless @gem_backtrace_cleaner[spec.full_name] @gem_backtrace_cleaner[spec.full_name] = { :regexp => backtrace_cleaner_regexp(spec.full_gem_path), :label => "[GEM: #{spec.name} @#{spec.version.to_s}]" } end @gem_backtrace_cleaner[spec.full_name] end |