Skip to content

Commit

Permalink
Update lib/between_meals/changes/change.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Phil Dibowitz <phil@ipom.com>
  • Loading branch information
skywalk7 and jaymzh authored Sep 25, 2023
1 parent 82bbecd commit a7a9832
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/between_meals/changes/change.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ module BetweenMeals
module Changes
# Common functionality
class Change
# Since we either need to upload or delete, we only accept two statuses.
# VCSs will differentiate between various kinds of modifies, adds, etc.
# so instead of handling all possibilities here, we expect the caller to
# collapse them into `:modified` or `:deleted`.
ALLOWED_STATUSES = [:modified, :deleted].freeze
@@logger = nil
attr_accessor :name
Expand Down

0 comments on commit a7a9832

Please sign in to comment.