Module: PlanMyStuff::Archive

Defined in:
lib/plan_my_stuff/archive.rb,
lib/plan_my_stuff/archive/sweep.rb

Overview

Auto-archive engine. The Sweep class walks closed issues in a repo and delegates to Issue#archive! for each issue whose closed_at has aged past config.archive_closed_after_days.

Entry point for the sweep lives in RemindersSweepJob; this module holds the POROs so they can be unit-tested without ActiveJob.

Defined Under Namespace

Classes: Sweep